diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 2b1c27c80..4f6e78669 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -66,15 +66,7 @@ else ?>" /> -post_title) && '' == $post->post_title) || (isset($_GET['message']) && 2 > $_GET['message'])) : ?> - - +
@@ -352,3 +344,9 @@ if ( $authors && count( $authors ) > 1 ) :
+ +post_title) && '' == $post->post_title) || (isset($_GET['message']) && 2 > $_GET['message'])) : ?> + + diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index 0b4341c1f..95c38417d 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -12,13 +12,6 @@ $form_extra = "' />\n' /> - -
@@ -108,3 +101,7 @@ echo " - -
@@ -72,4 +63,7 @@ edCanvas = document.getElementById('content');
+
diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php index a6177b4c3..72f67c381 100644 --- a/wp-admin/edit-page-form.php +++ b/wp-admin/edit-page-form.php @@ -44,14 +44,6 @@ else echo clean_url(stripslashes(wp_get_referer())); ?>" /> -
@@ -281,3 +273,7 @@ if ( $authors && count( $authors ) > 1 ) :
+ + diff --git a/wp-admin/js/comment.js b/wp-admin/js/comment.js index bde9b97fe..ddb54a5ee 100644 --- a/wp-admin/js/comment.js +++ b/wp-admin/js/comment.js @@ -1,4 +1,4 @@ -addLoadEvent( function() { +jQuery(document).ready( function() { add_postbox_toggles('comment'); jQuery('.edit-timestamp').click(function () { diff --git a/wp-admin/js/common.js b/wp-admin/js/common.js index 0c2a9f27a..08c132a59 100644 --- a/wp-admin/js/common.js +++ b/wp-admin/js/common.js @@ -1,4 +1,4 @@ -addLoadEvent( function() { +jQuery(document).ready( function() { // pulse jQuery('.fade').animate( { backgroundColor: '#ffffe0' }, 300).animate( { backgroundColor: '#fffbcc' }, 300).animate( { backgroundColor: '#ffffe0' }, 300).animate( { backgroundColor: '#fffbcc' }, 300); diff --git a/wp-admin/js/link.js b/wp-admin/js/link.js index 9f5a28dc2..cfc0f9490 100644 --- a/wp-admin/js/link.js +++ b/wp-admin/js/link.js @@ -1,4 +1,4 @@ -addLoadEvent( function() { +jQuery(document).ready( function() { jQuery('#link_name').focus(); // postboxes add_postbox_toggles('link'); diff --git a/wp-admin/js/page.js b/wp-admin/js/page.js index 02fd70858..8fe10fd0b 100644 --- a/wp-admin/js/page.js +++ b/wp-admin/js/page.js @@ -1,4 +1,4 @@ -addLoadEvent( function() { +jQuery(document).ready( function() { add_postbox_toggles('page'); make_slugedit_clickable(); diff --git a/wp-admin/js/post.js b/wp-admin/js/post.js index 9aeafcc19..b5b272c9d 100644 --- a/wp-admin/js/post.js +++ b/wp-admin/js/post.js @@ -58,7 +58,7 @@ function tag_press_key( e ) { } } -addLoadEvent( function() { +jQuery(document).ready( function() { // postboxes add_postbox_toggles('post'); diff --git a/wp-admin/js/upload.js b/wp-admin/js/upload.js index b632e427c..f60f11380 100644 --- a/wp-admin/js/upload.js +++ b/wp-admin/js/upload.js @@ -1,4 +1,4 @@ -addLoadEvent( function() { +jQuery(document).ready( function() { theFileList = { currentImage: {ID: 0}, nonce: '', diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index 0b29819e1..9c298dda3 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -47,7 +47,7 @@ function profile_js ( ) { $('.color-palette').click(function(){$(this).siblings('input[name=admin_color]').attr('checked', 'checked')}); } ); - addLoadEvent( function() { + jQuery(document).ready( function() { jQuery('#pass1,#pass2').attr('autocomplete','off'); }); diff --git a/wp-includes/js/thickbox/thickbox.js b/wp-includes/js/thickbox/thickbox.js index f31d779aa..5770c8b0a 100644 --- a/wp-includes/js/thickbox/thickbox.js +++ b/wp-includes/js/thickbox/thickbox.js @@ -11,7 +11,7 @@ var tb_closeImage = "../wp-includes/js/thickbox/tb-close.png"; /*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/ //on page load call tb_init -addLoadEvent(function(){ +jQuery(document).ready(function(){ tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox imgLoader = new Image();// preload image imgLoader.src = tb_pathToImage;