Commit d0d218db719 for woocommerce

commit d0d218db7195afaa61920a052da2fbb8b98bf8c1
Author: Anand Rajaram <anandrajaram21@gmail.com>
Date:   Mon Jun 29 16:04:30 2026 +0530

    Update Product Shipping Class Taxonomy to be Private (#63146)

diff --git a/plugins/woocommerce/changelog/63146-feat-63009-public-taxonomy b/plugins/woocommerce/changelog/63146-feat-63009-public-taxonomy
new file mode 100644
index 00000000000..2ed2fcbb7a2
--- /dev/null
+++ b/plugins/woocommerce/changelog/63146-feat-63009-public-taxonomy
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Updates the `product_shipping_class` taxonomy to be private.
\ No newline at end of file
diff --git a/plugins/woocommerce/includes/class-wc-post-types.php b/plugins/woocommerce/includes/class-wc-post-types.php
index 033007d79a3..357d04dc707 100644
--- a/plugins/woocommerce/includes/class-wc-post-types.php
+++ b/plugins/woocommerce/includes/class-wc-post-types.php
@@ -208,6 +208,7 @@ class WC_Post_Types {
 						'add_new_item'      => __( 'Add new shipping class', 'woocommerce' ),
 						'new_item_name'     => __( 'New shipping class Name', 'woocommerce' ),
 					),
+					'public'                => false,
 					'show_ui'               => false,
 					'show_in_quick_edit'    => false,
 					'show_in_nav_menus'     => false,