Title: scdan's Replies | WordPress.org

---

# scdan

  [  ](https://wordpress.org/support/users/scdan/)

 *   [Profile](https://wordpress.org/support/users/scdan/)
 *   [Topics Started](https://wordpress.org/support/users/scdan/topics/)
 *   [Replies Created](https://wordpress.org/support/users/scdan/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/scdan/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/scdan/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/scdan/engagements/)
 *   [Favorites](https://wordpress.org/support/users/scdan/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Featured Products Shortcode Not Working After Update](https://wordpress.org/support/topic/featured-products-shortcode-not-working-after-update/)
 *  [scdan](https://wordpress.org/support/users/scdan/)
 * (@scdan)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/featured-products-shortcode-not-working-after-update/#post-9683430)
 * Hi Everyone,
 * One of the things about the WooCommerce shortcodes is that they store part of
   the result in a WP Transient. Something from the WooCommerce 2 to WooCommerce
   3 update causes that transient to not work with WC3. My guess would be with the
   update to using taxonomies for featured products and product visibility.
    Surprisingly
   these are not cleared out when performing the WC2 to WC3 database update.
 * Anyway, all that is needed is to clear out the Woocommerce transients.
 * I used the following query directly on the database, but please only use it this
   way if you understand what it’s doing. Change your database prefix as well.
    
   DELETE FROM _wp\_options_ WHERE _option\_name_ LIKE ‘_transient_wc%’ (Insert `
   tags around the table and field names, as they are used as “code” tags here)
 * Alternatively there are some Delete Transient plugins that will wipe all transients
   for you. Deleting only expired transients will not work as the offending transient
   has not expired (or else it would be replaced and featured products will work).
 * I hope this helps.
    -  This reply was modified 8 years, 9 months ago by [scdan](https://wordpress.org/support/users/scdan/).
      Reason: Fixing broken code tags and DB Query
    -  This reply was modified 8 years, 9 months ago by [scdan](https://wordpress.org/support/users/scdan/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CPT-onomies: Using Custom Post Types as Taxonomies] Checkboxes of my CPTonomy disabled](https://wordpress.org/support/topic/checkboxes-of-my-cptonomy-disabled/)
 *  [scdan](https://wordpress.org/support/users/scdan/)
 * (@scdan)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/checkboxes-of-my-cptonomy-disabled/#post-9519392)
 * I had this issue because my taxonomies had hyphens in them instead of underscores.
 * When determining if a user has permissions, CPT-onomies uses a regular expression
   to pull the name of the taxonomy.
 * /cpt-onomies/manager.php – line 834
    `$taxonomy = preg_replace( '/assign\_cpt\
   _onomy\_([a-z\_]+)\_terms/i', '\1', $this_cap );`
 * So your taxonomy slug must only contain lowercase a-z and underscores as per 
   the convention outlined on [https://codex.wordpress.org/Function_Reference/register_taxonomy](https://codex.wordpress.org/Function_Reference/register_taxonomy).
 * Once I updated my custom post type and moved over the posts they were no longer
   showing up as disabled checkboxes.
 * Hope this helps someone!

Viewing 2 replies - 1 through 2 (of 2 total)