Rename plugin to SoloFilters Image Enhancements to avoid slug collision

This commit is contained in:
Keith Solomon
2026-08-05 18:37:07 -05:00
parent c2843f724a
commit bf3ee12e51
15 changed files with 40 additions and 40 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
/**
* Block registration entry point.
*
* @package ImageFilters
* @package SoloFiltersImageEnhancements
*/
import { registerBlockType } from '@wordpress/blocks';
@@ -48,7 +48,7 @@ function withFilterPanel( BlockEdit ) {
);
};
}
addFilter( 'editor.BlockEdit', 'image-filters/with-filter-panel', withFilterPanel );
addFilter( 'editor.BlockEdit', 'solofilters-image-enhancements/with-filter-panel', withFilterPanel );
/**
* Normalise the filter attribute on save. If the saved slug is unknown
@@ -70,7 +70,7 @@ function ensureValidFilter( settings, name ) {
}
addFilter(
'blocks.registerBlockType',
'image-filters/ensure-valid-filter',
'solofilters-image-enhancements/ensure-valid-filter',
ensureValidFilter
);