Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/admin-ajax.php

    r46253 r47122  
    2828header( 'X-Robots-Tag: noindex' );
    2929
    30 // Require an action parameter
     30// Require an action parameter.
    3131if ( empty( $_REQUEST['action'] ) ) {
    3232    wp_die( '0', 400 );
     
    142142);
    143143
    144 // Deprecated
     144// Deprecated.
    145145$core_actions_post_deprecated = array( 'wp-fullscreen-save-post', 'press-this-save-post', 'press-this-add-category' );
    146146$core_actions_post            = array_merge( $core_actions_post, $core_actions_post_deprecated );
     
    190190    do_action( "wp_ajax_nopriv_{$action}" );
    191191}
    192 // Default status
     192// Default status.
    193193wp_die( '0' );
Note: See TracChangeset for help on using the changeset viewer.