Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/22/2015 06:12:16 AM (11 years ago)
Author:
tw2113
Message:

Second pass at Messages Component docs cleanup.

See #6403.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-messages/bp-messages-widgets.php

    r10139 r10304  
    2020add_action( 'bp_register_widgets', 'bp_messages_register_widgets' );
    2121
    22 /** Sitewide Notices widget ***************************************************/
    23 
    2422/**
    2523 * A widget that displays sitewide notices.
     
    3028
    3129        /**
    32          * Constructor method
     30         * Constructor method.
    3331         */
    3432        function __construct() {
     
    5755                }
    5856
    59                 // Don't display the widget if there are no Notices to show
     57                // Don't display the widget if there are no Notices to show.
    6058                $notices = BP_Messages_Notice::get_active();
    6159                if ( empty( $notices ) ) {
     
    9997         * @param array $new_instance See {@WP_Widget::update()}.
    10098         * @param array $old_instance See {@WP_Widget::update()}.
    101          *
    10299         * @return array $instance See {@WP_Widget::update()}.
    103100         */
Note: See TracChangeset for help on using the changeset viewer.