CoreFiles by mySites.guru
admin-post.php33 lines, 593 bytes, from wordpress-3.3.3.zip
Raw History Compare with 3.3.2
md5
2ecdcb2a46a94e4dd389eccbc79cc4c6
sha1
7a8f8f6c5c75d9043e4dcd9865e76e0e8e560c99
sha256
08d5b03af8d0ab90c6b4154f12b5fdd201236accabbc134327758fd83bd934a3
<?php
/**
 * WordPress Administration Generic POST Handler.
 *
 * @package WordPress
 * @subpackage Administration
 */

/** We are located in WordPress Administration Screens */
define('WP_ADMIN', true);

if ( defined('ABSPATH') )
	require_once(ABSPATH . 'wp-load.php');
else
	require_once('../wp-load.php');

require_once(ABSPATH . 'wp-admin/includes/admin.php');

nocache_headers();

do_action('admin_init');

$action = 'admin_post';

if ( !wp_validate_auth_cookie() )
	$action .= '_nopriv';

if ( !empty($_REQUEST['action']) )
	$action .= '_' . $_REQUEST['action'];

do_action($action);

?>

The same content is in 19 releases, WordPress 3.2-beta1 to 3.3.3. See them all, or every version of this file.