WordPress 6.7.1 checks extra categories automatically

[ad_1]

After some more digging i’ve figured out the issue is in wp-admin/js/post.js file on row 662 > 665.
The new stuff in that if statement seems to check the one i click to check but also other checkboxes that have the id’s that start with the same number.

What i mean is that if i check a category with this id: in-product_cat-27-1 it also checks other checkboxes with ids that look like this: in-product_cat-273-1 or in-product_cat-274-1 etc etc

If i revert to the old if statement in 6.7 it works fine again.

Not sure if it’s WP or Woocommerce that needs to fix it but putting this on both support forums.

  • This reply was modified 11 hours, 6 minutes ago by deLisle.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer