Disable static page dropdowns when 'latest posts' is selected on Settings > Reading. props koopersmith, fixes #15205.

git-svn-id: https://develop.svn.wordpress.org/trunk@15946 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-10-24 19:20:52 +00:00
parent 787da5c464
commit f392876ac7
2 changed files with 28 additions and 2 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ $timezone_format = _x('Y-m-d G:i:s', 'timezone date format');
* Display JavaScript on the page.
*
* @package WordPress
* @subpackage General_Settings_Panel
* @subpackage General_Settings_Screen
*/
function add_js() {
?>
@@ -56,7 +56,7 @@ function add_js() {
</script>
<?php
}
add_filter('admin_head', 'add_js');
add_action('admin_head', 'add_js');
add_contextual_help($current_screen,
'<p>' . __('The fields on this screen determine some of the basics of your site setup.') . '</p>' .