This is a known (and nasty) bug in the taxonomy hierarchy caching code:
http://core.trac.wordpress.org/ticket/14485
Basically, you have to force a refresh by deleting the option.
Related Posts:
- add_action hook for completely new post?
- How can i list current author’s categories?
- How to Make a Category Always Selected?
- anything like add_meta_box for categories?
- Calling clean_term_cache() fails when called in the same plugin that creates terms, succeeds when called separately?
- Can we create a category list page in WordPress?
- prevent post to have multiple categories in my plugin
- Show add_meta_box by selecting a specific category
- Which are the hooks run before/after when a category’s deletion?
- how do you prevent showing a particular category on the admin dashboard for specific user roles?
- Is it possible to change a term slug before being saved to the database?
- wp_insert_category() setting the ‘cat_ID’ gives not array error
- Send push when new post is published in a certain category
- How do I get the sub categories of the parent when in a sub category?
- Filter Categories widget to allow custom sorting?
- Function/Class to list categories with checkboxes
- How can I show posts for a single category?
- Check if post belongs to any category
- How to display the categories on page using shortcode?
- How to display the category id along with category name on categories list?
- add_action pre_term_description vs. pre_category_description
- How to show parents of current page category, excluding the category?
- WP Dropdown Categories, display subcategories but not grandchildren categories?
- Load stylesheet in edit category page?
- How to relate the Category to user?
- How to exclude categories from get_categories() select list inside a widget admin panel
- How to Show Category List With Corresponding Links?
- Exclude Woocommerce Product Category From Sitemap
- How to show only the last two categories in a menu?
- Determine if term is Category or Tag
- How to check category name available or not
- delete category on plugin deactivation wordpress
- Post is uncatagorized in publish_post action
- Hide post by ‘post_category’
- Woocommerce product not appearing in category list page when created programatically [closed]
- Yoast and another plugin
- Making Woocommerce optimized for more than 500k products
- Add a new tag based on the category name in the publish event
- Creating an archive page listing external data
- How can i call from custom fields to the category editor?
- What method would I use to show an image in between X amount of posts on category archive? [duplicate]
- filter on get_posts efficiently
- How to get recent one post from each category on home page?
- Unit testing for plugin development
- How would I create a plugin for my shortcodes?
- Does WP fire delete_post when trashed posts are automatically deleted?
- Save metabox with multiple checkbox array
- How does uninstalling WordPress plugins work?
- Error with Custom Admin Screen in iframe Thickbox
- How to list events by category and month with plugin Event Organiser?
- How to properly modify get_userdata in plugin to get roles to update in database
- WordPress cron running twice
- How to create thumbnail of different files?
- Admin-ajax.php appending a status code to ajax response
- comment_email hook doesn’t seem to work for comment editor field
- How can I add a field to make link nofollow to the WordPress Link Inspector Window?
- Version upgrade: can my plugin filter the SQL statements issued during a database upgrade?
- How to show large image in checkout page using WP Ecommerce plugin [closed]
- settings_fields() doesn’t work for other roles except admin
- Subscribe to author?
- how to make custom bulk actions for a WP_List_Table (core class)
- Get name and email of current unregistered user, who has recently submitted name and email in comment form?
- Set page template programaticlly in plugin
- Auto save permalink setting page with the plugin activation
- creating custom function to log actions in plugin
- How to use output buffering in WordPress hooked functions?
- Plugin menu addition in multisite
- Show custom data instead of 404
- What’s the right way to instantiate new blocks and/or the plugin itself in toto when using wppb architecture?
- How to get Metabox custom field to show checked if value is updated using post meta query?
- Serve text/html from wp-json API via WPEngine, headers not being set properly
- wp_schedule_event seems to be being added twice
- What happens when two or more plugins use the same hook?
- Adding columns to core tables
- Add child pages to submenu automatically
- Injecting HTML on (arbitrary) admin pages
- Custom Stylesheet instead of Inline CSS for WordPress Customizer API Overrides
- Updating transient value frequently
- AJAX button with success callback. (Titan Framework)
- Information on plugin adding text when a post, page, or other such is displayed
- Plugin’s total number of users
- How to edit wp-signup.php content using plugin
- Setting post_id for single.php based on URL without a redirect
- WordPress: redirecting to the form page after form submission to admin-post.php
- Change cannonical URL after changing url with add_rewrite_rule()
- Is it possible to develop themes and plugins locally while still allowing content to be updated directly in the admin dashboard?
- Is there any way to get post meta from publish_post hook?
- Performing ajax request in wordpress
- How to create plugin settings page for each admin user?
- Using JavaScript in WordPress page to call for server data using AJAX
- Ajax calling in a function goes into abspath loop
- Displaying Custom Post Meta
- How to Modify My Plugin’s Admin Settings so that the Plugin can be Added to a Specific Page?
- Does WordPress have something like timer hook?
- Same header/footer in Admin, across all network sites in multisite
- Template file structure , wordpress hook for altering the template
- Wrapping shortcodes in another shortcode
- WordPress multiple user roles accessing on their information on one site?
- How to add ‘use_desc_for_title = 0’ to all wp_list_categories calls?
- How can I start Plugin Development?