WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/24/2010 07:20:52 PM (9 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-general.php

    r15889 r15946  
    2222 *
    2323 * @package WordPress
    24  * @subpackage General_Settings_Panel
     24 * @subpackage General_Settings_Screen
    2525 */
    2626function add_js() {
     
    5757<?php
    5858}
    59 add_filter('admin_head', 'add_js');
     59add_action('admin_head', 'add_js');
    6060
    6161add_contextual_help($current_screen,
Note: See TracChangeset for help on using the changeset viewer.