scripts.mit.edu
/
autoinstalls
/
wordpress.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WordPress 4.7.1-scripts
[autoinstalls/wordpress.git]
/
wp-admin
/
admin-post.php
diff --git
a/wp-admin/admin-post.php
b/wp-admin/admin-post.php
index f05cdf4e2d2ba2de8b1dfb32c95d15af80bd5015..d3135f2ab38d0c67834ab659b4fa8de81dad3815 100644
(file)
--- 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' );
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');
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.
*
/**
* 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
* 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.
*
/**
* 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
* request action.
*
* @since 2.6.0