Changeset 45599
- Timestamp:
- 07/05/2019 01:44:41 AM (5 years ago)
- Location:
- trunk/src
- Files:
-
- 33 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/admin-footer.php
r42343 r45599 81 81 * @since 4.6.0 82 82 */ 83 do_action( "admin_print_footer_scripts-{$hook_suffix}" ); 83 do_action( "admin_print_footer_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 84 84 85 85 /** … … 98 98 * @since 2.8.0 99 99 */ 100 do_action( "admin_footer-{$hook_suffix}" ); 100 do_action( "admin_footer-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 101 101 102 102 // get_site_option() won't exist when auto upgrading from <= 2.7 -
trunk/src/wp-admin/admin-header.php
r45175 r45599 109 109 * @since 2.6.0 110 110 */ 111 do_action( "admin_print_styles-{$hook_suffix}" ); 111 do_action( "admin_print_styles-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 112 112 113 113 /** … … 123 123 * @since 2.1.0 124 124 */ 125 do_action( "admin_print_scripts-{$hook_suffix}" ); 125 do_action( "admin_print_scripts-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 126 126 127 127 /** … … 140 140 * @since 2.1.0 141 141 */ 142 do_action( "admin_head-{$hook_suffix}" ); 142 do_action( "admin_head-{$hook_suffix}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 143 143 144 144 /** -
trunk/src/wp-admin/admin.php
r45440 r45599 229 229 * @since 2.1.0 230 230 */ 231 do_action( "load-{$page_hook}" ); 231 do_action( "load-{$page_hook}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 232 232 if ( ! isset( $_GET['noheader'] ) ) { 233 233 require_once( ABSPATH . 'wp-admin/admin-header.php' ); … … 273 273 * @since 1.5.0 274 274 */ 275 do_action( "load-{$plugin_page}" ); 275 do_action( "load-{$plugin_page}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 276 276 277 277 if ( ! isset( $_GET['noheader'] ) ) { … … 314 314 * @since 3.5.0 315 315 */ 316 do_action( "load-importer-{$importer}" ); 316 do_action( "load-importer-{$importer}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 317 317 318 318 $parent_file = 'tools.php'; … … 363 363 * @since 2.1.0 364 364 */ 365 do_action( "load-{$pagenow}" ); 365 do_action( "load-{$pagenow}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 366 366 367 367 /* … … 371 371 if ( $typenow == 'page' ) { 372 372 if ( $pagenow == 'post-new.php' ) { 373 do_action( 'load-page-new.php' ); 373 do_action( 'load-page-new.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 374 374 } elseif ( $pagenow == 'post.php' ) { 375 do_action( 'load-page.php' ); 375 do_action( 'load-page.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 376 376 } 377 377 } elseif ( $pagenow == 'edit-tags.php' ) { 378 378 if ( $taxnow == 'category' ) { 379 do_action( 'load-categories.php' ); 379 do_action( 'load-categories.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 380 380 } elseif ( $taxnow == 'link_category' ) { 381 do_action( 'load-edit-link-categories.php' ); 381 do_action( 'load-edit-link-categories.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 382 382 } 383 383 } elseif ( 'term.php' === $pagenow ) { 384 do_action( 'load-edit-tags.php' ); 384 do_action( 'load-edit-tags.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 385 385 } 386 386 } -
trunk/src/wp-admin/edit-comments.php
r45583 r45599 107 107 * @param array $items The items to take the action on. 108 108 */ 109 $redirect_to = apply_filters( "handle_bulk_actions-{$screen}", $redirect_to, $doaction, $comment_ids ); 109 $redirect_to = apply_filters( "handle_bulk_actions-{$screen}", $redirect_to, $doaction, $comment_ids ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 110 110 } 111 111 -
trunk/src/wp-admin/edit-tags.php
r45140 r45599 202 202 $tags = (array) $_REQUEST['delete_tags']; 203 203 /** This action is documented in wp-admin/edit-comments.php */ 204 $location = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $location, $wp_list_table->current_action(), $tags ); 204 $location = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $location, $wp_list_table->current_action(), $tags ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 205 205 break; 206 206 } … … 614 614 * @param string $taxonomy The taxonomy name. 615 615 */ 616 do_action( "after-{$taxonomy}-table", $taxonomy ); 616 do_action( "after-{$taxonomy}-table", $taxonomy ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 617 617 618 618 if ( $can_edit_terms ) { -
trunk/src/wp-admin/edit.php
r45583 r45599 184 184 default: 185 185 /** This action is documented in wp-admin/edit-comments.php */ 186 $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $doaction, $post_ids ); 186 $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $doaction, $post_ids ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 187 187 break; 188 188 } -
trunk/src/wp-admin/includes/ajax-actions.php
r45583 r45599 2183 2183 * @since 2.8.0 2184 2184 */ 2185 do_action( 'load-widgets.php' ); 2185 do_action( 'load-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 2186 2186 2187 2187 /** … … 2190 2190 * @since 2.8.0 2191 2191 */ 2192 do_action( 'widgets.php' ); 2192 do_action( 'widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 2193 2193 2194 2194 /** This action is documented in wp-admin/widgets.php */ … … 2293 2293 unset( $_POST['removeinactivewidgets'], $_POST['action'] ); 2294 2294 /** This action is documented in wp-admin/includes/ajax-actions.php */ 2295 do_action( 'load-widgets.php' ); 2295 do_action( 'load-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 2296 2296 /** This action is documented in wp-admin/includes/ajax-actions.php */ 2297 do_action( 'widgets.php' ); 2297 do_action( 'widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 2298 2298 /** This action is documented in wp-admin/widgets.php */ 2299 2299 do_action( 'sidebar_admin_setup' ); -
trunk/src/wp-admin/includes/class-wp-list-table.php
r45583 r45599 452 452 * @param string[] $actions An array of the available bulk actions. 453 453 */ 454 $this->_actions = apply_filters( "bulk_actions-{$this->screen->id}", $this->_actions ); 454 $this->_actions = apply_filters( "bulk_actions-{$this->screen->id}", $this->_actions ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 455 455 $two = ''; 456 456 } else { -
trunk/src/wp-admin/includes/dashboard.php
r45583 r45599 1537 1537 * @param array $response An array containing web browser information. See `wp_check_browser_version()`. 1538 1538 */ 1539 echo apply_filters( 'browse-happy-notice', $notice, $response ); 1539 echo apply_filters( 'browse-happy-notice', $notice, $response ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 1540 1540 } 1541 1541 -
trunk/src/wp-admin/includes/media.php
r45583 r45599 520 520 * @since 2.9.0 521 521 */ 522 do_action( 'admin_print_styles-media-upload-popup' ); 522 do_action( 'admin_print_styles-media-upload-popup' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 523 523 524 524 /** This action is documented in wp-admin/admin-header.php */ … … 530 530 * @since 2.9.0 531 531 */ 532 do_action( 'admin_print_scripts-media-upload-popup' ); 532 do_action( 'admin_print_scripts-media-upload-popup' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 533 533 534 534 /** This action is documented in wp-admin/admin-header.php */ … … 541 541 * @since 2.9.0 542 542 */ 543 do_action( 'admin_head-media-upload-popup' ); 543 do_action( 'admin_head-media-upload-popup' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 544 544 545 545 /** This action is documented in wp-admin/admin-header.php */ … … 2005 2005 * @since 2.6.0 2006 2006 */ 2007 do_action( 'pre-upload-ui' ); 2007 do_action( 'pre-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 2008 2008 2009 2009 $post_params = array( … … 2084 2084 * @since 3.3.0 2085 2085 */ 2086 do_action( 'pre-plupload-upload-ui' ); 2086 do_action( 'pre-plupload-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 2087 2087 ?> 2088 2088 <div id="drag-drop-area"> … … 2100 2100 * @since 3.3.0 2101 2101 */ 2102 do_action( 'post-plupload-upload-ui' ); 2102 do_action( 'post-plupload-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 2103 2103 ?> 2104 2104 </div> … … 2111 2111 * @since 2.6.0 2112 2112 */ 2113 do_action( 'pre-html-upload-ui' ); 2113 do_action( 'pre-html-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 2114 2114 ?> 2115 2115 <p id="async-upload-wrap"> … … 2126 2126 * @since 2.6.0 2127 2127 */ 2128 do_action( 'post-html-upload-ui' ); 2128 do_action( 'post-html-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 2129 2129 ?> 2130 2130 </div> … … 2140 2140 * @since 2.6.0 2141 2141 */ 2142 do_action( 'post-upload-ui' ); 2142 do_action( 'post-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 2143 2143 } 2144 2144 -
trunk/src/wp-admin/includes/meta-boxes.php
r45441 r45599 776 776 * @param WP_Post $post WP_Post object of the current post. 777 777 */ 778 do_action( 'post_comment_status_meta_box-options', $post ); 778 do_action( 'post_comment_status_meta_box-options', $post ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 779 779 ?> 780 780 </p> -
trunk/src/wp-admin/includes/misc.php
r45583 r45599 660 660 * @param int $value The number of rows to use. 661 661 */ 662 $value = apply_filters( 'set-screen-option', false, $option, $value ); 662 $value = apply_filters( 'set-screen-option', false, $option, $value ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 663 663 664 664 if ( false === $value ) { -
trunk/src/wp-admin/includes/template.php
r45583 r45599 1925 1925 1926 1926 /** This action is documented in wp-admin/admin-header.php */ 1927 do_action( "admin_print_styles-$hook_suffix" ); 1927 do_action( "admin_print_styles-$hook_suffix" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 1928 1928 1929 1929 /** This action is documented in wp-admin/admin-header.php */ … … 1931 1931 1932 1932 /** This action is documented in wp-admin/admin-header.php */ 1933 do_action( "admin_print_scripts-$hook_suffix" ); 1933 do_action( "admin_print_scripts-$hook_suffix" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 1934 1934 1935 1935 /** This action is documented in wp-admin/admin-header.php */ … … 1937 1937 1938 1938 /** This action is documented in wp-admin/admin-header.php */ 1939 do_action( "admin_head-$hook_suffix" ); 1939 do_action( "admin_head-$hook_suffix" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 1940 1940 1941 1941 /** This action is documented in wp-admin/admin-header.php */ … … 1998 1998 1999 1999 /** This action is documented in wp-admin/admin-footer.php */ 2000 do_action( "admin_print_footer_scripts-$hook_suffix" ); 2000 do_action( "admin_print_footer_scripts-$hook_suffix" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 2001 2001 2002 2002 /** This action is documented in wp-admin/admin-footer.php */ -
trunk/src/wp-admin/includes/update.php
r45583 r45599 508 508 * } 509 509 */ 510 do_action( "in_plugin_update_message-{$file}", $plugin_data, $response ); 510 do_action( "in_plugin_update_message-{$file}", $plugin_data, $response ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 511 511 512 512 echo '</p></div></td></tr>'; … … 647 647 * } 648 648 */ 649 do_action( "in_theme_update_message-{$theme_key}", $theme, $response ); 649 do_action( "in_theme_update_message-{$theme_key}", $theme, $response ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 650 650 651 651 echo '</p></div></td></tr>'; -
trunk/src/wp-admin/link-manager.php
r45583 r45599 34 34 } else { 35 35 /** This action is documented in wp-admin/edit-comments.php */ 36 $redirect_to = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $redirect_to, $doaction, $bulklinks ); 36 $redirect_to = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $redirect_to, $doaction, $bulklinks ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 37 37 } 38 38 wp_redirect( $redirect_to ); -
trunk/src/wp-admin/network/site-themes.php
r43571 r45599 137 137 * @param int $site_id The site ID. 138 138 */ 139 $referer = apply_filters( "handle_network_bulk_actions-{$screen}", $referer, $action, $themes, $id ); 139 $referer = apply_filters( "handle_network_bulk_actions-{$screen}", $referer, $action, $themes, $id ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 140 140 } else { 141 141 $action = 'error'; -
trunk/src/wp-admin/network/site-users.php
r45416 r45599 180 180 $userids = $_REQUEST['users']; 181 181 /** This action is documented in wp-admin/network/site-themes.php */ 182 $referer = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $referer, $action, $userids, $id ); 182 $referer = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $referer, $action, $userids, $id ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 183 183 $update = $action; 184 184 break; -
trunk/src/wp-admin/network/sites.php
r43019 r45599 212 212 $blogs = (array) $_POST['allblogs']; 213 213 /** This action is documented in wp-admin/network/site-themes.php */ 214 $redirect_to = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $redirect_to, $doaction, $blogs, $id ); 214 $redirect_to = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $redirect_to, $doaction, $blogs, $id ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 215 215 wp_safe_redirect( $redirect_to ); 216 216 exit(); -
trunk/src/wp-admin/network/themes.php
r45597 r45599 218 218 219 219 /** This action is documented in wp-admin/network/site-themes.php */ 220 $referer = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $referer, $action, $themes ); 220 $referer = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $referer, $action, $themes ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 221 221 222 222 wp_safe_redirect( $referer ); -
trunk/src/wp-admin/network/users.php
r43571 r45599 103 103 $user_ids = (array) $_POST['allusers']; 104 104 /** This action is documented in wp-admin/network/site-themes.php */ 105 $sendback = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $sendback, $doaction, $user_ids ); 105 $sendback = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $sendback, $doaction, $user_ids ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 106 106 107 107 wp_safe_redirect( $sendback ); -
trunk/src/wp-admin/plugins.php
r45597 r45599 419 419 420 420 /** This action is documented in wp-admin/edit-comments.php */ 421 $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $action, $plugins ); 421 $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $action, $plugins ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 422 422 wp_safe_redirect( $sendback ); 423 423 exit; -
trunk/src/wp-admin/update-core.php
r45583 r45599 886 886 * @since 3.2.0 887 887 */ 888 do_action( "update-core-custom_{$action}" ); 889 } 888 do_action( "update-core-custom_{$action}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 889 } -
trunk/src/wp-admin/update.php
r43571 r45599 296 296 * @since 2.8.0 297 297 */ 298 do_action( "update-custom_{$action}" ); 298 do_action( "update-custom_{$action}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 299 299 } 300 300 } -
trunk/src/wp-admin/upload.php
r45583 r45599 200 200 default: 201 201 /** This action is documented in wp-admin/edit-comments.php */ 202 $location = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $location, $doaction, $post_ids ); 202 $location = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $location, $doaction, $post_ids ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 203 203 } 204 204 -
trunk/src/wp-admin/users.php
r45583 r45599 455 455 456 456 /** This action is documented in wp-admin/edit-comments.php */ 457 $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $wp_list_table->current_action(), $userids ); 457 $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $wp_list_table->current_action(), $userids ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 458 458 459 459 wp_safe_redirect( $sendback ); -
trunk/src/wp-includes/category-template.php
r45590 r45599 1299 1299 * @param string[] $links An array of term links. 1300 1300 */ 1301 $term_links = apply_filters( "term_links-{$taxonomy}", $links ); 1301 $term_links = apply_filters( "term_links-{$taxonomy}", $links ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 1302 1302 1303 1303 return $before . join( $sep, $term_links ) . $after; -
trunk/src/wp-includes/class-wp-customize-widgets.php
r45590 r45599 334 334 public function customize_controls_init() { 335 335 /** This action is documented in wp-admin/includes/ajax-actions.php */ 336 do_action( 'load-widgets.php' ); 336 do_action( 'load-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 337 337 338 338 /** This action is documented in wp-admin/includes/ajax-actions.php */ 339 do_action( 'widgets.php' ); 339 do_action( 'widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 340 340 341 341 /** This action is documented in wp-admin/widgets.php */ … … 644 644 public function print_styles() { 645 645 /** This action is documented in wp-admin/admin-header.php */ 646 do_action( 'admin_print_styles-widgets.php' ); 646 do_action( 'admin_print_styles-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 647 647 648 648 /** This action is documented in wp-admin/admin-header.php */ … … 658 658 public function print_scripts() { 659 659 /** This action is documented in wp-admin/admin-header.php */ 660 do_action( 'admin_print_scripts-widgets.php' ); 660 do_action( 'admin_print_scripts-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 661 661 662 662 /** This action is documented in wp-admin/admin-header.php */ … … 861 861 public function print_footer_scripts() { 862 862 /** This action is documented in wp-admin/admin-footer.php */ 863 do_action( 'admin_print_footer_scripts-widgets.php' ); 863 do_action( 'admin_print_footer_scripts-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 864 864 865 865 /** This action is documented in wp-admin/admin-footer.php */ … … 867 867 868 868 /** This action is documented in wp-admin/admin-footer.php */ 869 do_action( 'admin_footer-widgets.php' ); 869 do_action( 'admin_footer-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 870 870 } 871 871 … … 1539 1539 1540 1540 /** This action is documented in wp-admin/includes/ajax-actions.php */ 1541 do_action( 'load-widgets.php' ); 1541 do_action( 'load-widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 1542 1542 1543 1543 /** This action is documented in wp-admin/includes/ajax-actions.php */ 1544 do_action( 'widgets.php' ); 1544 do_action( 'widgets.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 1545 1545 1546 1546 /** This action is documented in wp-admin/widgets.php */ -
trunk/src/wp-includes/class-wp-http-requests-hooks.php
r42343 r45599 70 70 * @param string $url URL to request. 71 71 */ 72 do_action_ref_array( "requests-{$hook}", $parameters, $this->request, $this->url ); 72 do_action_ref_array( "requests-{$hook}", $parameters, $this->request, $this->url ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 73 73 74 74 return $result; -
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r45590 r45599 3074 3074 * @param array $args An array of arguments to delete the page. 3075 3075 */ 3076 do_action( 'xmlrpc_call_success_wp_deletePage', $page_id, $args ); 3076 do_action( 'xmlrpc_call_success_wp_deletePage', $page_id, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase 3077 3077 3078 3078 return true; … … 3381 3381 * @param array $args An array of new category arguments. 3382 3382 */ 3383 do_action( 'xmlrpc_call_success_wp_newCategory', $cat_id, $args ); 3383 do_action( 'xmlrpc_call_success_wp_newCategory', $cat_id, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase 3384 3384 3385 3385 return $cat_id; … … 3431 3431 * @param array $args An array of arguments to delete the category. 3432 3432 */ 3433 do_action( 'xmlrpc_call_success_wp_deleteCategory', $category_id, $args ); 3433 do_action( 'xmlrpc_call_success_wp_deleteCategory', $category_id, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase 3434 3434 } 3435 3435 … … 3678 3678 * @param array $args An array of arguments to delete the comment. 3679 3679 */ 3680 do_action( 'xmlrpc_call_success_wp_deleteComment', $comment_ID, $args ); 3680 do_action( 'xmlrpc_call_success_wp_deleteComment', $comment_ID, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase 3681 3681 } 3682 3682 … … 3790 3790 * @param array $args An array of arguments to update the comment. 3791 3791 */ 3792 do_action( 'xmlrpc_call_success_wp_editComment', $comment_ID, $args ); 3792 do_action( 'xmlrpc_call_success_wp_editComment', $comment_ID, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase 3793 3793 3794 3794 return true; … … 3927 3927 * @param array $args An array of new comment arguments. 3928 3928 */ 3929 do_action( 'xmlrpc_call_success_wp_newComment', $comment_ID, $args ); 3929 do_action( 'xmlrpc_call_success_wp_newComment', $comment_ID, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase 3930 3930 3931 3931 return $comment_ID; … … 5056 5056 * @param array $args An array of new post arguments. 5057 5057 */ 5058 do_action( 'xmlrpc_call_success_blogger_newPost', $post_ID, $args ); 5058 do_action( 'xmlrpc_call_success_blogger_newPost', $post_ID, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase 5059 5059 5060 5060 return $post_ID; … … 5135 5135 * @param array $args An array of arguments for the post to edit. 5136 5136 */ 5137 do_action( 'xmlrpc_call_success_blogger_editPost', $post_ID, $args ); 5137 do_action( 'xmlrpc_call_success_blogger_editPost', $post_ID, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase 5138 5138 5139 5139 return true; … … 5194 5194 * @param array $args An array of arguments to delete the post. 5195 5195 */ 5196 do_action( 'xmlrpc_call_success_blogger_deletePost', $post_ID, $args ); 5196 do_action( 'xmlrpc_call_success_blogger_deletePost', $post_ID, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase 5197 5197 5198 5198 return true; … … 5546 5546 * @param array $args An array of arguments to create the new post. 5547 5547 */ 5548 do_action( 'xmlrpc_call_success_mw_newPost', $post_ID, $args ); 5548 do_action( 'xmlrpc_call_success_mw_newPost', $post_ID, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase 5549 5549 5550 5550 return strval( $post_ID ); … … 5930 5930 * @param array $args An array of arguments to update the post. 5931 5931 */ 5932 do_action( 'xmlrpc_call_success_mw_editPost', $post_ID, $args ); 5932 do_action( 'xmlrpc_call_success_mw_editPost', $post_ID, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase 5933 5933 5934 5934 return true; … … 6365 6365 * @param array $args An array of arguments to add the attachment. 6366 6366 */ 6367 do_action( 'xmlrpc_call_success_mw_newMediaObject', $id, $args ); 6367 do_action( 'xmlrpc_call_success_mw_newMediaObject', $id, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase 6368 6368 6369 6369 $struct = $this->_prepare_media_item( get_post( $id ) ); -
trunk/src/wp-includes/comment-template.php
r45590 r45599 278 278 * @param WP_Comment $comment The comment object. 279 279 */ 280 return apply_filters( 'get_comment_author_IP', $comment->comment_author_IP, $comment->comment_ID, $comment ); 280 return apply_filters( 'get_comment_author_IP', $comment->comment_author_IP, $comment->comment_ID, $comment ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase 281 281 } 282 282 … … 668 668 * @param WP_Comment $comment The comment object. 669 669 */ 670 return apply_filters( 'get_comment_ID', $comment->comment_ID, $comment ); 670 return apply_filters( 'get_comment_ID', $comment->comment_ID, $comment ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase 671 671 } 672 672 -
trunk/src/wp-includes/media-template.php
r45572 r45599 246 246 <?php 247 247 /** This action is documented in wp-admin/includes/media.php */ 248 do_action( 'pre-upload-ui' ); 248 do_action( 'pre-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 249 249 /** This action is documented in wp-admin/includes/media.php */ 250 do_action( 'pre-plupload-upload-ui' ); 250 do_action( 'pre-plupload-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 251 251 252 252 if ( 10 === remove_action( 'post-plupload-upload-ui', 'media_upload_flash_bypass' ) ) { 253 253 /** This action is documented in wp-admin/includes/media.php */ 254 do_action( 'post-plupload-upload-ui' ); 254 do_action( 'post-plupload-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 255 255 add_action( 'post-plupload-upload-ui', 'media_upload_flash_bypass' ); 256 256 } else { 257 257 /** This action is documented in wp-admin/includes/media.php */ 258 do_action( 'post-plupload-upload-ui' ); 258 do_action( 'post-plupload-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 259 259 } 260 260 … … 282 282 <?php 283 283 /** This action is documented in wp-admin/includes/media.php */ 284 do_action( 'post-upload-ui' ); 284 do_action( 'post-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 285 285 ?> 286 286 </div> -
trunk/src/wp-includes/theme.php
r45590 r45599 2849 2849 * @param string $feature The theme feature. 2850 2850 */ 2851 return apply_filters( "current_theme_supports-{$feature}", true, $args, $_wp_theme_features[ $feature ] ); 2851 return apply_filters( "current_theme_supports-{$feature}", true, $args, $_wp_theme_features[ $feature ] ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 2852 2852 } 2853 2853 -
trunk/src/wp-mail.php
r42343 r45599 27 27 * @since 2.9.0 28 28 */ 29 do_action( 'wp-mail.php' ); 29 do_action( 'wp-mail.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 30 30 31 31 /** Get the POP3 class with which to access the mailbox. */
Note: See TracChangeset
for help on using the changeset viewer.