@@ -31,7 +31,7 @@ function __construct() {
3131 public function enqueue_frontend_scripts () {
3232
3333 // Enqueue script dependencies
34- $ this ->enqueue_bower_scripts ();
34+ $ this ->enqueue_common_scripts ();
3535
3636 // Enqueuing custom CSS for child theme (Twentysixteen was used for testing)
3737 wp_enqueue_style ( 'wordpress-base-plugin ' , Helpers::get_script_url ( 'assets/css/wordpress-base-plugin.css ' ), null , Helpers::get_script_version ( 'assets/css/wordpress-base-plugin.css ' ) );
@@ -49,7 +49,7 @@ public function enqueue_frontend_scripts() {
4949 public function enqueue_admin_scripts () {
5050
5151 // Enqueue script dependencies
52- $ this ->enqueue_bower_scripts ();
52+ $ this ->enqueue_common_scripts ();
5353
5454 // Enqueuing custom CSS for child theme (Twentysixteen was used for testing)
5555 wp_enqueue_style ( 'wordpress-base-plugin ' , Helpers::get_script_url ( 'assets/css/wordpress-base-plugin-admin.css ' ), null , Helpers::get_script_version ( 'assets/css/wordpress-base-plugin-admin.css ' ) );
@@ -61,10 +61,10 @@ public function enqueue_admin_scripts() {
6161 }
6262
6363 /**
64- * Enqueue Bower components from assets/components
64+ * Enqueue scripts common to the public site and WP Admin
6565 * @since 0.3.0
6666 */
67- private function enqueue_bower_scripts () {
67+ private function enqueue_common_scripts () {
6868
6969 // Enqueue common (frontend/backend) JavaScript
7070 wp_enqueue_script ( 'jquery-waituntilexists ' , Helpers::get_script_url ( 'assets/components/jq.waituntilexists/jquery.waitUntilExists.min.js ' , false ), array ( 'jquery ' ), '0.1.0 ' );
0 commit comments