[wp-trac] [WordPress Trac] #37542: Taxonomies in cron jobs cause problems

WordPress Trac noreply at wordpress.org
Tue Aug 2 10:47:26 UTC 2016


#37542: Taxonomies in cron jobs cause problems
-------------------------------+------------------------------
 Reporter:  blatan             |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Taxonomy           |     Version:  4.5.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by blatan):

 {{{
 add_action('init', array($this, 'register_taxonomies'));

 function register_taxonomies() {
                 TaxonomyLoader::loadTaxonomies();
         }


 }}}

 array and $this added because we've got twig in the project

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37542#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list