Skip to content
Snippets Groups Projects
Commit 0517a939 authored by Erick Hitter's avatar Erick Hitter
Browse files

Standardize

parent 0cccd069
No related branches found
No related tags found
1 merge request!12Introduce native Gutenberg controls
File moved
......@@ -178,12 +178,12 @@ class WP_Revisions_Control {
$this->settings_section,
plugins_url(
'dist/js/gutenberg.js',
dirname( __FILE__ )
__DIR__
),
array(
'wp-i18n',
),
1
2021032701
);
}
......@@ -349,7 +349,18 @@ class WP_Revisions_Control {
// A bit of JS for us.
$handle = 'wp-revisions-control-post';
wp_enqueue_script( $handle, plugins_url( 'js/post.js', __DIR__ ), array( 'jquery' ), '20131205', true );
wp_enqueue_script(
$handle,
plugins_url(
'dist/js/classic-editor.js',
__DIR__
),
array(
'jquery',
),
2013120501,
true
);
wp_localize_script(
$handle,
$this->settings_section,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment