Changeset 41219
- Timestamp:
- 08/03/2017 03:42:45 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php
r41214 r41219 480 480 * @param array $actions An array of action links. 481 481 * @param WP_Theme $theme The current WP_Theme object. 482 * @param string $context Status of the theme .482 * @param string $context Status of the theme, one of all', 'enabled', or 'disabled'. 483 483 */ 484 484 $actions = apply_filters( 'theme_action_links', array_filter( $actions ), $theme, $context ); … … 496 496 * @param array $actions An array of action links. 497 497 * @param WP_Theme $theme The current WP_Theme object. 498 * @param string $context Status of the theme .498 * @param string $context Status of the theme, one of all', 'enabled', or 'disabled'. 499 499 */ 500 500 $actions = apply_filters( "theme_action_links_{$stylesheet}", $actions, $theme, $context ); -
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r41161 r41219 1721 1721 * 1722 1722 * @param string $column_name Name of the column to edit. 1723 * @param string $post_type The post type slug. 1723 * @param string $post_type The post type slug, or current screen name if this is a taxonomy list table. 1724 * @param string taxonomy The taxonomy name, if any. 1724 1725 */ 1725 do_action( 'quick_edit_custom_box', $column_name, $screen->post_type );1726 do_action( 'quick_edit_custom_box', $column_name, $screen->post_type, '' ); 1726 1727 } 1727 1728 -
trunk/src/wp-admin/includes/class-wp-press-this.php
r41161 r41219 1523 1523 <?php 1524 1524 /** This action is documented in wp-admin/admin-footer.php */ 1525 do_action( 'admin_footer' );1525 do_action( 'admin_footer', '' ); 1526 1526 1527 1527 /** This action is documented in wp-admin/admin-footer.php */ -
trunk/src/wp-admin/includes/class-wp-themes-list-table.php
r41161 r41219 193 193 194 194 /** This filter is documented in wp-admin/includes/class-wp-ms-themes-list-table.php */ 195 $actions = apply_filters( 'theme_action_links', $actions, $theme );195 $actions = apply_filters( 'theme_action_links', $actions, $theme, 'all' ); 196 196 197 197 /** This filter is documented in wp-admin/includes/class-wp-ms-themes-list-table.php */ 198 $actions = apply_filters( "theme_action_links_$stylesheet", $actions, $theme );198 $actions = apply_filters( "theme_action_links_$stylesheet", $actions, $theme, 'all' ); 199 199 $delete_action = isset( $actions['delete'] ) ? '<div class="delete-theme">' . $actions['delete'] . '</div>' : ''; 200 200 unset( $actions['delete'] ); -
trunk/src/wp-admin/includes/ms.php
r41208 r41219 261 261 262 262 /** This action is documented in wp-admin/includes/user.php */ 263 do_action( 'deleted_user', $id );263 do_action( 'deleted_user', $id, null ); 264 264 265 265 return true; -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r41162 r41219 1383 1383 $data['guid'] = array( 1384 1384 /** This filter is documented in wp-includes/post-template.php */ 1385 'rendered' => apply_filters( 'get_the_guid', $post->guid ),1385 'rendered' => apply_filters( 'get_the_guid', $post->guid, $post->ID ), 1386 1386 'raw' => $post->guid, 1387 1387 ); -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php
r41162 r41219 370 370 $data['guid'] = array( 371 371 /** This filter is documented in wp-includes/post-template.php */ 372 'rendered' => apply_filters( 'get_the_guid', $post->guid ),372 'rendered' => apply_filters( 'get_the_guid', $post->guid, $post->ID ), 373 373 'raw' => $post->guid, 374 374 ); -
trunk/src/wp-includes/theme.php
r41205 r41219 2750 2750 } else { 2751 2751 /** This action is documented in wp-includes/theme.php */ 2752 do_action( 'after_switch_theme', $stylesheet );2752 do_action( 'after_switch_theme', $stylesheet, $old_theme ); 2753 2753 } 2754 2754 flush_rewrite_rules(); -
trunk/tests/phpunit/tests/rest-api/rest-revisions-controller.php
r40601 r41219 318 318 $this->assertEquals( $rendered_excerpt, $response['excerpt']['rendered'] ); 319 319 320 $rendered_guid = apply_filters( 'get_the_guid', $revision->guid );320 $rendered_guid = apply_filters( 'get_the_guid', $revision->guid, $revision->ID ); 321 321 $this->assertEquals( $rendered_guid, $response['guid']['rendered'] ); 322 322
Note: See TracChangeset
for help on using the changeset viewer.