diff --git a/wp-admin/categories.php b/wp-admin/categories.php index 2d04a6cb9b..7536c1c9b8 100644 --- a/wp-admin/categories.php +++ b/wp-admin/categories.php @@ -289,6 +289,22 @@ if ( $page_links ) + + + + diff --git a/wp-admin/edit-link-categories.php b/wp-admin/edit-link-categories.php index cedbc2edb2..52ce418321 100644 --- a/wp-admin/edit-link-categories.php +++ b/wp-admin/edit-link-categories.php @@ -222,8 +222,22 @@ if ( $page_links ) - + diff --git a/wp-admin/edit-pages.php b/wp-admin/edit-pages.php index 6402345804..7a2cee0658 100644 --- a/wp-admin/edit-pages.php +++ b/wp-admin/edit-pages.php @@ -305,4 +305,20 @@ endif; // posts; + + diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php index 9be7c33668..c032c66dce 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -279,6 +279,23 @@ else + + + + + diff --git a/wp-admin/js/common.js b/wp-admin/js/common.js index 5d3a262595..14cff75b96 100644 --- a/wp-admin/js/common.js +++ b/wp-admin/js/common.js @@ -11,6 +11,23 @@ jQuery(document).ready( function() { jQuery('form.validate').submit( function() { return wpAjax.validateForm( jQuery(this) ); } ); } }); + +// stub for doing better warnings +(function($){ + showNotice = { + warn : function(text) { + if ( confirm(text) ) + return true; + + return false; + }, + + note : function(text) { + alert(text); + } + } +})(jQuery); + /* (function($) { $.fn.tTips = function() { diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php index 9a17c45bbd..04395c43cc 100644 --- a/wp-admin/link-manager.php +++ b/wp-admin/link-manager.php @@ -271,4 +271,20 @@ if ( $links ) { + + diff --git a/wp-admin/upload.php b/wp-admin/upload.php index 3ab3921ab0..463df1ba84 100644 --- a/wp-admin/upload.php +++ b/wp-admin/upload.php @@ -450,21 +450,24 @@ endif; // posts; +