Changeset 2270796
- Timestamp:
- 03/30/2020 01:29:23 PM (6 years ago)
- File:
-
- 1 edited
-
mowomo-variable-fonts/trunk/mwm-variable-font.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mowomo-variable-fonts/trunk/mwm-variable-font.php
r2270785 r2270796 29 29 if (!function_exists('mwm_variable_font_enqueue_scripts')) { 30 30 function mwm_variable_font_enqueue_scripts() { 31 wp_register_script(mwm_variable_font_SLUG.'_scripts', mwm_variable_font_JS.'scripts.js', array('jquery'), '1. 0.0' );32 wp_register_style(mwm_variable_font_SLUG.'_styles', mwm_variable_font_CSS.'styles.css', array() );33 wp_register_style(mwm_variable_font_SLUG.'_inter', 'https://rsms.me/inter/inter.css', array() );31 wp_register_script(mwm_variable_font_SLUG.'_scripts', mwm_variable_font_JS.'scripts.js', array('jquery'), '1.1.0' ); 32 wp_register_style(mwm_variable_font_SLUG.'_styles', mwm_variable_font_CSS.'styles.css', array(), '1.1.0' ); 33 wp_register_style(mwm_variable_font_SLUG.'_inter', 'https://rsms.me/inter/inter.css', array(), '1.1.0' ); 34 34 wp_enqueue_script(mwm_variable_font_SLUG.'_scripts'); 35 35 wp_enqueue_style(mwm_variable_font_SLUG.'_styles'); … … 42 42 if (!function_exists('mwm_variable_font_enqueue_customizer_scripts')) { 43 43 function mwm_variable_font_enqueue_customizer_scripts() { 44 wp_register_script(mwm_variable_font_SLUG.'-scripts-customizer', mwm_variable_font_JS.'customizer-scripts.js', array('jquery'), '1. 0.0' );44 wp_register_script(mwm_variable_font_SLUG.'-scripts-customizer', mwm_variable_font_JS.'customizer-scripts.js', array('jquery'), '1.1.0' ); 45 45 wp_localize_script( mwm_variable_font_SLUG.'-scripts-customizer', 'ajax_vars', array( 46 46 'ajax' => admin_url( "admin-ajax.php" ), … … 57 57 if (!function_exists('mwm_variable_font_enqueue_admin_scripts')) { 58 58 function mwm_variable_font_enqueue_admin_scripts() { 59 wp_register_script(mwm_variable_font_SLUG.'_admin_scripts', mwm_variable_font_JS.'admin_scripts.js', array('jquery'), '1. 0.0' );59 wp_register_script(mwm_variable_font_SLUG.'_admin_scripts', mwm_variable_font_JS.'admin_scripts.js', array('jquery'), '1.1.0' ); 60 60 wp_localize_script( mwm_variable_font_SLUG.'_admin_scripts', 'ajax_vars', array( 61 61 'ajax' => admin_url( "admin-ajax.php" ) 62 62 )); 63 wp_register_style(mwm_variable_font_SLUG.'_admin_styles', mwm_variable_font_CSS.'admin_styles.css', array() );63 wp_register_style(mwm_variable_font_SLUG.'_admin_styles', mwm_variable_font_CSS.'admin_styles.css', array(), '1.1.0' ); 64 64 wp_enqueue_script(mwm_variable_font_SLUG.'_admin_scripts'); 65 65 wp_enqueue_style(mwm_variable_font_SLUG.'_admin_styles');
Note: See TracChangeset
for help on using the changeset viewer.