Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/07/2023 01:31:37 AM (4 years ago)
Author:
espellcaste
Message:

Properly declare missing properties to several classes.

Closes ​https://github.com/buddypress/buddypress/pull/54
See #7018

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-notifications/classes/class-bp-notifications-template.php

    r13147 r13399  
    7575         */
    7676        public $user_id;
     77
     78        /**
     79         * The status of the notification.
     80         *
     81         * @since 1.9.0
     82         * @var bool
     83         */
     84        public $is_new;
     85
     86        /**
     87         * The total notification count.
     88         *
     89         * @since 1.9.0
     90         * @var int
     91         */
     92        public $notification_count;
    7793
    7894        /**
    … …  
    262278         * @since 1.9.0
    263279         *
    264          * @return BP_Notifications_Notification The next notification to iterate over.
     280         * @return object The next notification to iterate over.
    265281         */
    266282        public function next_notification() {
Note: See TracChangeset for help on using the changeset viewer.