mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@34109 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -7,5 +7,14 @@
|
||||
* @since 1.5.0
|
||||
*/
|
||||
|
||||
/** Core posts functionality */
|
||||
require_once( ABSPATH . WPINC . '/post-functions.php' );
|
||||
|
||||
/** Walker_Page class */
|
||||
require_once( ABSPATH . WPINC . '/class-walker-page.php' );
|
||||
|
||||
/** Walker_PageDropdown class */
|
||||
require_once( ABSPATH . WPINC . '/class-walker-page-dropdown.php' );
|
||||
|
||||
/** WP_Post class */
|
||||
require_once( ABSPATH . WPINC . '/class-wp-post.php' );
|
||||
|
||||
Reference in New Issue
Block a user