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

Fix asset enqueuing

Fixes #3, which was a misdiagnosis.
parent 4c82dace
No related branches found
No related tags found
1 merge request!3Unit tests and coding standards
Pipeline #1050 passed
......@@ -290,7 +290,7 @@ class WP_Revisions_Control {
// A bit of JS for us.
$handle = 'wp-revisions-control-post';
wp_enqueue_script( $handle, plugins_url( 'js/post.js', __FILE__ ), array( 'jquery' ), '20131205', true );
wp_enqueue_script( $handle, plugins_url( 'js/post.js', __DIR__ ), array( 'jquery' ), '20131205', true );
wp_localize_script(
$handle,
$this->settings_section,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment