File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
1111### Fixed
1212
13+ - Fix drag and drop
1314- Increased the maximum length of the language column to support longer locale codes
1415
1516## [ 1.22.1] - 2025-10-10
Original file line number Diff line number Diff line change @@ -205,15 +205,12 @@ function plugin_init_fields()
205205 */
206206function plugin_fields_script_endswith ($ scriptname )
207207{
208- //append plugin directory to avoid dumb errors...
209- $ scriptname = 'fields/front/ ' . $ scriptname ;
210- $ script_name = $ _SERVER ['SCRIPT_NAME ' ];
211-
212- return str_ends_with ($ script_name , $ scriptname );
208+ return str_contains ($ _SERVER ['REQUEST_URI ' ], $ scriptname );
213209}
214210
215211
216212
213+
217214/**
218215 * Get the name and the version of the plugin
219216 * REQUIRED
You can’t perform that action at this time.
0 commit comments