Changeset 10304 for trunk/src/bp-messages/bp-messages-widgets.php
- Timestamp:
- 10/22/2015 06:12:16 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-messages/bp-messages-widgets.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/bp-messages-widgets.php
r10139 r10304 20 20 add_action( 'bp_register_widgets', 'bp_messages_register_widgets' ); 21 21 22 /** Sitewide Notices widget ***************************************************/23 24 22 /** 25 23 * A widget that displays sitewide notices. … … 30 28 31 29 /** 32 * Constructor method 30 * Constructor method. 33 31 */ 34 32 function __construct() { … … 57 55 } 58 56 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. 60 58 $notices = BP_Messages_Notice::get_active(); 61 59 if ( empty( $notices ) ) { … … 99 97 * @param array $new_instance See {@WP_Widget::update()}. 100 98 * @param array $old_instance See {@WP_Widget::update()}. 101 *102 99 * @return array $instance See {@WP_Widget::update()}. 103 100 */
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)