Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/23/2021 02:03:02 AM (5 years ago)
Author:
espellcaste
Message:

Making PHPDoc Improvements to the BP Notifications (component) files.

See #8553

File:
1 edited

Legend:

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

    r12670 r13091  
    2929                        buddypress()->plugin_dir,
    3030                        array(
    31                                 'adminbar_myaccount_order' => 30
     31                                'adminbar_myaccount_order' => 30,
    3232                        )
    3333                );
     
    122122                        'search_string' => __( 'Search Notifications...', 'buddypress' ),
    123123                        'global_tables' => $global_tables,
    124                         'meta_tables'   => $meta_tables
     124                        'meta_tables'   => $meta_tables,
    125125                );
    126126
     
    250250                                'id'     => 'my-account-' . $this->id,
    251251                                'title'  => $title,
    252                                 'href'   => $notifications_link
     252                                'href'   => $notifications_link,
    253253                        );
    254254
     
    259259                                'title'    => $unread,
    260260                                'href'     => $notifications_link,
    261                                 'position' => 10
     261                                'position' => 10,
    262262                        );
    263263
     
    268268                                'title'    => _x( 'Read', 'My Account Notification sub nav', 'buddypress' ),
    269269                                'href'     => trailingslashit( $notifications_link . 'read' ),
    270                                 'position' => 20
     270                                'position' => 20,
    271271                        );
    272272                }
     
    289289                                $bp->bp_options_title = __( 'Notifications', 'buddypress' );
    290290                        } else {
     291                                $bp->bp_options_title  = bp_get_displayed_user_fullname();
    291292                                $bp->bp_options_avatar = bp_core_fetch_avatar( array(
    292293                                        'item_id' => bp_displayed_user_id(),
     
    294295                                        'alt'     => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_get_displayed_user_fullname() )
    295296                                ) );
    296                                 $bp->bp_options_title = bp_get_displayed_user_fullname();
    297297                        }
    298298                }
Note: See TracChangeset for help on using the changeset viewer.