Ticket #9644: 9644.2.diff

File 9644.2.diff, 519 bytes (added by Denis-de-Bernardy, 4 years ago)
Line 
1Index: wp-settings.php
2===================================================================
3--- wp-settings.php     (revision 11568)
4+++ wp-settings.php     (working copy)
5@@ -528,6 +528,10 @@
6 
7 require (ABSPATH . WPINC . '/vars.php');
8 
9+// make taxonomies available to plugins and themes
10+// @plugin authors: warning: this gets registered again on the init hook
11+create_initial_taxonomies();
12+
13 // Check for hacks file if the option is enabled
14 if ( get_option('hack_file') ) {
15        if ( file_exists(ABSPATH . 'my-hacks.php') )