Make WordPress Core


Ignore:
Timestamp:
09/14/2015 02:58:40 AM (10 years ago)
Author:
wonderboymusic
Message:

Move Walker_Page and Walker_PageDropdown into their own files via svn cp. Remove them from post-template.php. Load them in post.php.

post-template.php loads after post.php in wp-settings.php. It could probably also be loaded in post.php, but avoiding that for the moment.

See #33413.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r33759 r34109  
    88 */
    99
     10/** Core posts functionality */
    1011require_once( ABSPATH . WPINC . '/post-functions.php' );
     12
     13/** Walker_Page class */
     14require_once( ABSPATH . WPINC . '/class-walker-page.php' );
     15
     16/** Walker_PageDropdown class */
     17require_once( ABSPATH . WPINC . '/class-walker-page-dropdown.php' );
     18
     19/** WP_Post class */
    1120require_once( ABSPATH . WPINC . '/class-wp-post.php' );
Note: See TracChangeset for help on using the changeset viewer.