Make WordPress Core


Ignore:
Timestamp:
07/05/2019 01:44:41 AM (5 years ago)
Author:
pento
Message:

Coding Standards: Mark the handful of hook names with uppercase characters or hyphens as ignored.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-xmlrpc-server.php

    r45590 r45599  
    30743074         * @param array $args    An array of arguments to delete the page.
    30753075         */
    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
    30773077
    30783078        return true;
     
    33813381         * @param array $args   An array of new category arguments.
    33823382         */
    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
    33843384
    33853385        return $cat_id;
     
    34313431             * @param array $args        An array of arguments to delete the category.
    34323432             */
    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
    34343434        }
    34353435
     
    36783678             * @param array $args       An array of arguments to delete the comment.
    36793679             */
    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
    36813681        }
    36823682
     
    37903790         * @param array $args       An array of arguments to update the comment.
    37913791         */
    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
    37933793
    37943794        return true;
     
    39273927         * @param array $args       An array of new comment arguments.
    39283928         */
    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
    39303930
    39313931        return $comment_ID;
     
    50565056         * @param array $args    An array of new post arguments.
    50575057         */
    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
    50595059
    50605060        return $post_ID;
     
    51355135         * @param array $args    An array of arguments for the post to edit.
    51365136         */
    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
    51385138
    51395139        return true;
     
    51945194         * @param array $args    An array of arguments to delete the post.
    51955195         */
    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
    51975197
    51985198        return true;
     
    55465546         * @param array $args    An array of arguments to create the new post.
    55475547         */
    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
    55495549
    55505550        return strval( $post_ID );
     
    59305930         * @param array $args    An array of arguments to update the post.
    59315931         */
    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
    59335933
    59345934        return true;
     
    63656365         * @param array $args An array of arguments to add the attachment.
    63666366         */
    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
    63686368
    63696369        $struct = $this->_prepare_media_item( get_post( $id ) );
Note: See TracChangeset for help on using the changeset viewer.