X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/48ab98cb1779cf2088c1351ac3dd3d0da6fb31d3..b925718b4bf2dd47a8429f844d0a255ca6e35bd1:/wp-admin/admin-post.php diff --git a/wp-admin/admin-post.php b/wp-admin/admin-post.php index f05cdf4e..d3135f2a 100644 --- a/wp-admin/admin-post.php +++ b/wp-admin/admin-post.php @@ -18,7 +18,7 @@ if ( defined('ABSPATH') ) else require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' ); -/** Allow for cross-domain requests (from the frontend). */ +/** Allow for cross-domain requests (from the front end). */ send_origin_headers(); require_once(ABSPATH . 'wp-admin/includes/admin.php'); @@ -42,7 +42,7 @@ if ( ! wp_validate_auth_cookie() ) { /** * Fires on a non-authenticated admin post request for the given action. * - * The dynamic portion of the hook name, $action, refers to the given + * The dynamic portion of the hook name, `$action`, refers to the given * request action. * * @since 2.6.0 @@ -61,7 +61,7 @@ if ( ! wp_validate_auth_cookie() ) { /** * Fires on an authenticated admin post request for the given action. * - * The dynamic portion of the hook name, $action, refers to the given + * The dynamic portion of the hook name, `$action`, refers to the given * request action. * * @since 2.6.0