Changeset 9709 for trunk/src/bp-members/bp-members-widgets.php
- Timestamp:
- 04/06/2015 10:03:24 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-members/bp-members-widgets.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-members/bp-members-widgets.php
r9526 r9709 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; … … 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; … … 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;
Note: See TracChangeset
for help on using the changeset viewer.