[wp-trac] [WordPress Trac] #22102: Tags list not displaying programmatically added child tags

WordPress Trac noreply at wordpress.org
Fri Jun 21 18:45:53 UTC 2013


#22102: Tags list not displaying programmatically added child tags
----------------------------+------------------------
 Reporter:  capcar          |       Owner:
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Administration  |     Version:  3.4.2
 Severity:  normal          |  Resolution:  duplicate
 Keywords:                  |
----------------------------+------------------------

Comment (by ZaneMatthew):

 This snippet from the ticket listed above did the fix

 {{{
 if ( taxonomy_exists( 'my-term' ) ) {
     wp_cache_set( 'last_changed', time( ) - 1800, 'terms' );
     wp_cache_delete( 'all_ids', 'my-term' );
     wp_cache_delete( 'get', 'my-term' );
     delete_option( "my-term_children" );
     _get_term_hierarchy( 'my-term' );
 }
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/22102#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list