refactor: drop the featured-project picker in favour of the project list
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
12 files changed
+6
-362
No files matched your search
@@ -45,14 +45,6 @@ function chrnx_enqueue_editor_assets() {
|
||||
true
|
||||
);
|
||||
|
||||
wp_enqueue_script(
|
||||
'chrnx-editor-project',
|
||||
get_theme_file_uri( 'assets/js/editor-project.js' ),
|
||||
array( 'wp-components', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-plugins' ),
|
||||
CHRNX_VERSION,
|
||||
true
|
||||
);
|
||||
|
||||
wp_enqueue_script(
|
||||
'chrnx-editor-track',
|
||||
get_theme_file_uri( 'assets/js/editor-track.js' ),
|
||||
@@ -63,7 +55,6 @@ function chrnx_enqueue_editor_assets() {
|
||||
|
||||
wp_set_script_translations( 'chrnx-editor-taxonomies', 'chrnx', get_theme_file_path( 'languages' ) );
|
||||
wp_set_script_translations( 'chrnx-editor-podcast', 'chrnx', get_theme_file_path( 'languages' ) );
|
||||
wp_set_script_translations( 'chrnx-editor-project', 'chrnx', get_theme_file_path( 'languages' ) );
|
||||
wp_set_script_translations( 'chrnx-editor-track', 'chrnx', get_theme_file_path( 'languages' ) );
|
||||
}
|
||||
add_action( 'enqueue_block_editor_assets', 'chrnx_enqueue_editor_assets' );
|
||||
Reference in new issue
Block a user