mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
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:
@@ -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>' .
|
||||
|
||||
Reference in New Issue
Block a user