WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/11/2010 03:34:32 PM (11 years ago)
Author:
wpmuguru
Message:

hide unpublished items on frontend nav menus, props filosofo, fixes #13822

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-filters.php

    r15078 r15219  
    236236add_action( 'delete_post',                '_wp_delete_post_menu_item'      );
    237237add_action( 'delete_term',                '_wp_delete_tax_menu_item'       );
    238 add_action( 'transition_post_status', '_wp_auto_add_pages_to_menu',  10, 3 );
     238add_action( 'transition_post_status', '_wp_menu_changing_status_observer',  10, 3 );
    239239
    240240// Post Thumbnail CSS class filtering
Note: See TracChangeset for help on using the changeset viewer.