diff --git src/bp-blogs/bp-blogs-widgets.php src/bp-blogs/bp-blogs-widgets.php
index 8a8f590..cae2508 100644
|
|
|
class BP_Blogs_Recent_Posts_Widget extends WP_Widget { |
| 60 | 60 | * Filters the Blogs Recent Posts widget title. |
| 61 | 61 | * |
| 62 | 62 | * @since BuddyPress (2.2.0) |
| | 63 | * @since BuddyPress (2.3.0) Added 'instance' and 'id_base' to arguments passed to filter. |
| 63 | 64 | * |
| 64 | | * @param string $title The widget title. |
| | 65 | * @param string $title The widget title. |
| | 66 | * @param array $instance The settings for the particular instance of the widget. |
| | 67 | * @param string $id_base Root ID for all widgets of this type. |
| 65 | 68 | */ |
| 66 | | $title = apply_filters( 'widget_title', $instance['title'] ); |
| | 69 | $title = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ); |
| 67 | 70 | |
| 68 | 71 | echo $args['before_widget']; |
| 69 | 72 | echo $args['before_title'] . $title . $args['after_title']; |
diff --git src/bp-core/bp-core-widgets.php src/bp-core/bp-core-widgets.php
index 8ea3375..05c88ba 100644
|
|
|
class BP_Core_Login_Widget extends WP_Widget { |
| 55 | 55 | * Filters the title of the Login widget. |
| 56 | 56 | * |
| 57 | 57 | * @since BuddyPress (1.9.0) |
| | 58 | * @since BuddyPress (2.3.0) Added 'instance' and 'id_base' to arguments passed to filter. |
| 58 | 59 | * |
| 59 | | * @param string $title The widget title. |
| | 60 | * @param string $title The widget title. |
| | 61 | * @param array $instance The settings for the particular instance of the widget. |
| | 62 | * @param string $id_base Root ID for all widgets of this type. |
| 60 | 63 | */ |
| 61 | | $title = apply_filters( 'widget_title', $title ); |
| | 64 | $title = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ); |
| 62 | 65 | |
| 63 | 66 | echo $args['before_widget']; |
| 64 | 67 | |
diff --git src/bp-friends/bp-friends-widgets.php src/bp-friends/bp-friends-widgets.php
index 831b005..ad4205d 100644
|
|
|
class BP_Core_Friends_Widget extends WP_Widget { |
| 80 | 80 | * Filters the Friends widget title. |
| 81 | 81 | * |
| 82 | 82 | * @since BuddyPress (1.8.0) |
| | 83 | * @since BuddyPress (2.3.0) Added 'instance' and 'id_base' to arguments passed to filter. |
| 83 | 84 | * |
| 84 | | * @param string $title The widget title. |
| | 85 | * @param string $title The widget title. |
| | 86 | * @param array $instance The settings for the particular instance of the widget. |
| | 87 | * @param string $id_base Root ID for all widgets of this type. |
| 85 | 88 | */ |
| 86 | | $title = apply_filters( 'widget_title', $instance['title'] ); |
| | 89 | $title = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ); |
| 87 | 90 | |
| 88 | 91 | echo $before_widget; |
| 89 | 92 | |
diff --git src/bp-groups/bp-groups-widgets.php src/bp-groups/bp-groups-widgets.php
index 808ee02..2117aed 100644
|
|
|
class BP_Groups_Widget extends WP_Widget { |
| 64 | 64 | * Filters the title of the Groups widget. |
| 65 | 65 | * |
| 66 | 66 | * @since BuddyPress (1.8.0) |
| | 67 | * @since BuddyPress (2.3.0) Added 'instance' and 'id_base' to arguments passed to filter. |
| 67 | 68 | * |
| 68 | | * @param string $value The widget title. |
| | 69 | * @param string $title The widget title. |
| | 70 | * @param array $instance The settings for the particular instance of the widget. |
| | 71 | * @param string $id_base Root ID for all widgets of this type. |
| 69 | 72 | */ |
| 70 | | $title = apply_filters( 'widget_title', $instance['title'] ); |
| | 73 | $title = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ); |
| 71 | 74 | |
| 72 | 75 | echo $before_widget; |
| 73 | 76 | |
diff --git src/bp-members/bp-members-widgets.php src/bp-members/bp-members-widgets.php
index ba010f6..c3f8993 100644
|
|
|
class BP_Core_Members_Widget extends WP_Widget { |
| 63 | 63 | * Filters the title of the Members widget. |
| 64 | 64 | * |
| 65 | 65 | * @since BuddyPress (1.8.0) |
| | 66 | * @since BuddyPress (2.3.0) Added 'instance' and 'id_base' to arguments passed to filter. |
| 66 | 67 | * |
| 67 | | * @param string $value The widget title. |
| | 68 | * @param string $title The widget title. |
| | 69 | * @param array $instance The settings for the particular instance of the widget. |
| | 70 | * @param string $id_base Root ID for all widgets of this type. |
| 68 | 71 | */ |
| 69 | | $title = apply_filters( 'widget_title', $instance['title'] ); |
| | 72 | $title = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ); |
| 70 | 73 | |
| 71 | 74 | echo $before_widget; |
| 72 | 75 | |
| … |
… |
class BP_Core_Whos_Online_Widget extends WP_Widget { |
| 232 | 235 | * Filters the title of the Who's Online widget. |
| 233 | 236 | * |
| 234 | 237 | * @since BuddyPress (1.8.0) |
| | 238 | * @since BuddyPress (2.3.0) Added 'instance' and 'id_base' to arguments passed to filter. |
| 235 | 239 | * |
| 236 | | * @param string $value The widget title. |
| | 240 | * @param string $title The widget title. |
| | 241 | * @param array $instance The settings for the particular instance of the widget. |
| | 242 | * @param string $id_base Root ID for all widgets of this type. |
| 237 | 243 | */ |
| 238 | | $title = apply_filters( 'widget_title', $instance['title'] ); |
| | 244 | $title = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ); |
| 239 | 245 | |
| 240 | 246 | echo $before_widget; |
| 241 | 247 | echo $before_title |
| … |
… |
class BP_Core_Recently_Active_Widget extends WP_Widget { |
| 345 | 351 | * Filters the title of the Recently Active widget. |
| 346 | 352 | * |
| 347 | 353 | * @since BuddyPress (1.8.0) |
| | 354 | * @since BuddyPress (2.3.0) Added 'instance' and 'id_base' to arguments passed to filter. |
| 348 | 355 | * |
| 349 | | * @param string $value The widget title. |
| | 356 | * @param string $title The widget title. |
| | 357 | * @param array $instance The settings for the particular instance of the widget. |
| | 358 | * @param string $id_base Root ID for all widgets of this type. |
| 350 | 359 | */ |
| 351 | | $title = apply_filters( 'widget_title', $instance['title'] ); |
| | 360 | $title = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ); |
| 352 | 361 | |
| 353 | 362 | echo $before_widget; |
| 354 | 363 | echo $before_title |
diff --git src/bp-messages/bp-messages-widgets.php src/bp-messages/bp-messages-widgets.php
index 9ca3d18..606efa2 100644
|
|
|
class BP_Messages_Sitewide_Notices_Widget extends WP_Widget { |
| 67 | 67 | * Filters the title of the Messages widget. |
| 68 | 68 | * |
| 69 | 69 | * @since BuddyPress (1.9.0) |
| | 70 | * @since BuddyPress (2.3.0) Added 'instance' and 'id_base' to arguments passed to filter. |
| 70 | 71 | * |
| 71 | | * @param string $title The widget title. |
| | 72 | * @param string $title The widget title. |
| | 73 | * @param array $instance The settings for the particular instance of the widget. |
| | 74 | * @param string $id_base Root ID for all widgets of this type. |
| 72 | 75 | */ |
| 73 | | $title = apply_filters( 'widget_title', $title, $instance ); |
| | 76 | $title = apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ); |
| 74 | 77 | |
| 75 | 78 | echo $before_widget; |
| 76 | 79 | echo $before_title . $title . $after_title; ?> |