Skip to content

Commit 1296b57

Browse files
committed
Prevent public querying of sync with square taxonomy.
1 parent 58336ce commit 1296b57

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

includes/Handlers/Product.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,8 +535,10 @@ public static function init_taxonomies() {
535535
array(
536536
'hierarchical' => false,
537537
'update_count_callback' => '_update_generic_term_count',
538+
'public' => false,
538539
'show_ui' => false,
539540
'show_in_nav_menus' => false,
541+
'publicly_queryable' => false,
540542
'query_var' => is_admin(),
541543
'rewrite' => false,
542544
)

0 commit comments

Comments
 (0)