Changeset 9709
- Timestamp:
- 04/06/2015 10:03:24 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-widgets.php
r9469 r9709 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']; -
trunk/src/bp-core/bp-core-widgets.php
r9612 r9709 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']; -
trunk/src/bp-friends/bp-friends-widgets.php
r9458 r9709 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; -
trunk/src/bp-groups/bp-groups-widgets.php
r9466 r9709 65 65 * 66 66 * @since BuddyPress (1.8.0) 67 * 68 * @param string $value The widget title. 67 * @since BuddyPress (2.3.0) Added 'instance' and 'id_base' to arguments passed to filter. 68 * 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; -
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; -
trunk/src/bp-messages/bp-messages-widgets.php
r9216 r9709 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;
Note: See TracChangeset
for help on using the changeset viewer.