WordPress.org

Make WordPress Core

Ticket #12918: 12918.diff

File 12918.diff, 667 bytes (added by ryan, 11 years ago)
  • wp-settings.php

     
    172172// Create common globals.
    173173require( ABSPATH . WPINC . '/vars.php' );
    174174
    175 // Make taxonomies available to plugins and themes.
    176 // @plugin authors: warning: this gets registered again on the init hook.
     175// Make taxonomies and posts available to plugins and themes.
     176// @plugin authors: warning: these get registered again on the init hook.
    177177create_initial_taxonomies();
     178create_initial_post_types();
    178179
    179180// Load active plugins.
    180181foreach ( wp_get_active_and_valid_plugins() as $plugin )