-
+ 8BB26580E8716AE395D2BDA17E2949D34D30F3C24B89D56F8F63DD90C4C6BDC506828BF16D4B9B31412E35075F36EE190B9B005C6E2AA971B7110B2A29D28AE2
mp-wp/wp-admin/admin-post.php
(0 . 0)(1 . 32)
1436 <?php
1437 /**
1438 * WordPress Administration Generic POST Handler.
1439 *
1440 * @package WordPress
1441 * @subpackage Administration
1442 */
1443
1444 /** We are located in WordPress Administration Panels */
1445 define('WP_ADMIN', true);
1446
1447 if ( defined('ABSPATH') )
1448 require_once(ABSPATH . 'wp-load.php');
1449 else
1450 require_once('../wp-load.php');
1451
1452 require_once(ABSPATH . 'wp-admin/includes/admin.php');
1453
1454 if ( !wp_validate_auth_cookie() )
1455 wp_die(__('Cheatin’ uh?'));
1456
1457 nocache_headers();
1458
1459 do_action('admin_init');
1460
1461 $action = 'admin_post';
1462 if ( !empty($_REQUEST['action']) )
1463 $action .= '_' . $_REQUEST['action'];
1464
1465 do_action($action);
1466
1467 ?>