Rename plugin to SoloFilters Image Enhancements to avoid slug collision
This commit is contained in:
+3
-3
@@ -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
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user