diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index eb5fd240a9..71a16995da 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -9,27 +9,6 @@ if (!isset($_GET["page"])) require_once('admin.php'); ?> - - - - - + + + + diff --git a/wp-admin/dbx-key.js b/wp-admin/dbx-key.js index 8d542ef32c..dbb8b601f8 100644 --- a/wp-admin/dbx-key.js +++ b/wp-admin/dbx-key.js @@ -1,5 +1,4 @@ - //initialisation function addLoadEvent( function() { @@ -10,8 +9,8 @@ addLoadEvent( function() //create new docking boxes group var meta = new dbxGroup( 'grabit', // container ID [/-_a-zA-Z0-9/] - 'vertical', // orientation ['vertical'|'horizontal'] - '7', // drag threshold ['n' pixels] + 'vertical', // orientation ['vertical'|'horizontal'] + '10', // drag threshold ['n' pixels] 'no', // restrict drag movement to container axis ['yes'|'no'] '10', // animate re-ordering [frames per transition, or '0' for no effect] 'yes', // include open/close toggle buttons ['yes'|'no'] @@ -28,7 +27,7 @@ addLoadEvent( function() var advanced = new dbxGroup( 'advancedstuff', // container ID [/-_a-zA-Z0-9/] 'vertical', // orientation ['vertical'|'horizontal'] - '7', // drag threshold ['n' pixels] + '10', // drag threshold ['n' pixels] 'yes', // restrict drag movement to container axis ['yes'|'no'] '10', // animate re-ordering [frames per transition, or '0' for no effect] 'yes', // include open/close toggle buttons ['yes'|'no'] diff --git a/wp-admin/edit-pages.php b/wp-admin/edit-pages.php index fff150224a..de05758478 100644 --- a/wp-admin/edit-pages.php +++ b/wp-admin/edit-pages.php @@ -7,6 +7,7 @@ require_once('admin-header.php');

+

»

get_results("SELECT * FROM $wpdb->posts WHERE post_status = 'static'"); @@ -32,9 +33,9 @@ if ($posts) { -

+

»

-
+ - + \ No newline at end of file diff --git a/wp-admin/options-personal-update.php b/wp-admin/options-personal-update.php index d0c7a98b05..e2114496d3 100644 --- a/wp-admin/options-personal-update.php +++ b/wp-admin/options-personal-update.php @@ -2,6 +2,8 @@ require_once('admin.php'); +check_admin_referer(); + if ( isset( $_POST['action'] ) ) { if ( !isset( $_POST['rich_editing'] ) ) $_POST['rich_editing'] = 'false'; diff --git a/wp-admin/options.php b/wp-admin/options.php index 609c0b2f3d..1e4b092b6e 100644 --- a/wp-admin/options.php +++ b/wp-admin/options.php @@ -28,6 +28,8 @@ switch($action) { case 'update': $any_changed = 0; + + check_admin_referer(); if (!$_POST['page_options']) { foreach ($_POST as $key => $value) { diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 89fbd7192e..ec7e5e61f5 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -26,7 +26,7 @@ require_once('admin-header.php');

-

+

View site »'), get_bloginfo('home')); ?>