From f59ee9797cc163b86ce2bbf6ba27869380b5f9a3 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Tue, 7 May 2019 23:19:04 -0700 Subject: [PATCH] Make the js IE11 friendly --- js/block-editor-plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/block-editor-plugin.js b/js/block-editor-plugin.js index 4705080..5b36597 100644 --- a/js/block-editor-plugin.js +++ b/js/block-editor-plugin.js @@ -4,7 +4,7 @@ } wp.plugins.registerPlugin( 'classic-editor-plugin', { - render() { + render: function() { var createElement = wp.element.createElement; var PluginMoreMenuItem = wp.editPost.PluginMoreMenuItem; var url = wp.url.addQueryArgs( document.location.href, { 'classic-editor': '', 'classic-editor__forget': '' } );