Skip to content

Commit

Permalink
Test out removing taximony
Browse files Browse the repository at this point in the history
- trying to track the integration of the pattern category sidebar. It might be JS
  • Loading branch information
FrancisBoundlessWorpdress committed Feb 12, 2024
1 parent a616d9c commit de0ad9e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions php/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ public function run() {
if ( ! (bool) $options['loadCustomizerCSSFrontend'] ) {
remove_action( 'wp_head', 'wp_custom_css_cb', 101 );
}
$post_type = 'wp_block';

Check failure on line 66 in php/Admin.php

View workflow job for this annotation

GitHub Actions / WPCS

Tabs must be used to indent lines; spaces are not allowed

Check failure on line 66 in php/Admin.php

View workflow job for this annotation

GitHub Actions / WPCS

Whitespace found at end of line
// Unregister the 'category' taxonomy.
unregister_taxonomy_for_object_type('category', $post_type);

Check failure on line 68 in php/Admin.php

View workflow job for this annotation

GitHub Actions / WPCS

Expected 1 spaces after opening parenthesis; 0 found

Check failure on line 68 in php/Admin.php

View workflow job for this annotation

GitHub Actions / WPCS

Expected 1 spaces before closing parenthesis; 0 found

Check failure on line 69 in php/Admin.php

View workflow job for this annotation

GitHub Actions / WPCS

Whitespace found at end of line
// Unregister the 'post_tag' taxonomy.
unregister_taxonomy_for_object_type('post_tag', $post_type);

Check failure on line 71 in php/Admin.php

View workflow job for this annotation

GitHub Actions / WPCS

Expected 1 spaces after opening parenthesis; 0 found

Check failure on line 71 in php/Admin.php

View workflow job for this annotation

GitHub Actions / WPCS

Expected 1 spaces before closing parenthesis; 0 found
}


Expand Down

0 comments on commit de0ad9e

Please sign in to comment.