Prep Plugin for release on WordPress.org (#23)
* Update translation text domain * Escape everything that should be escaped. * Add nonce checks where needed. * Sanitize all inputs. * Apply Code style changes across the codebase. * Correct many deprecation notices. * Optimize load order of many filters. * Add Proper Build script * Use emojii flags * Fix i18n deprecation notice for translating too early * Put all scripts in footer and load async
This commit is contained in:
@ -61,7 +61,7 @@ class Field_Templates_Manager extends Base_Manager {
|
||||
$template_class = $this->get_template_class($template_parts[0], $template_parts[1]);
|
||||
|
||||
if ( ! $template_class) {
|
||||
wp_send_json_error(new \WP_Error('template', __('Template not found.', 'wp-ultimo')));
|
||||
wp_send_json_error(new \WP_Error('template', __('Template not found.', 'wp-multisite-waas')));
|
||||
}
|
||||
|
||||
$key = $template_parts[0];
|
||||
|
Reference in New Issue
Block a user