Changeset 2299833
- Timestamp:
- 05/07/2020 06:53:55 AM (6 years ago)
- Location:
- website-speed-optimization/trunk
- Files:
-
- 3 edited
-
inc/class-wso.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
-
wso_styles.css (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
website-speed-optimization/trunk/inc/class-wso.php
r2183667 r2299833 107 107 add_action( 'wp_footer', array( $this, 'WSO_insert_css_inline_footer' ) ); 108 108 } 109 } 109 } 110 110 111 111 if ( isset($wso_all_options['wso-o-26']) && $wso_all_options['wso-o-26'] != 'true' ) { /* if cache js active */ 112 112 /* Function wso-o-19 */ 113 113 if ( $wso_all_options['wso-o-19'] == 'true' && $wso_all_options['wso-o-13'] == 'false') { 114 add_action( 'wp_enqueue_scripts', array( $this, 'WSO_setup_ini_script'), 9997); 114 add_action( 'wp_enqueue_scripts', array( $this, 'WSO_setup_ini_script'), 9997); 115 115 116 116 if($wso_all_options['wso-o-17'] == 'true'){ … … 156 156 add_filter( 'script_loader_tag', array( $this, 'WSO_add_defer_async' ), 20, 3 ); 157 157 } 158 159 } 160 161 if ( isset($wso_all_options['wso-o-19']) && $wso_all_options['wso-o-19'] == 'true' ) { 162 add_action( 'wp_head', array( $this, 'WSO_insert_core_js' ), 1 ); 158 163 159 164 } … … 285 290 } 286 291 } 287 wp_enqueue_script( 'wso-jquery-core', $this->wso_url_jquery(), array(), '', false );288 292 } 289 293 … … 302 306 303 307 $this->WSO_remove_core_js(); 304 305 wp_enqueue_script( 'wso-jquery-core', $this->wso_url_jquery(), array(), '', false );306 308 307 309 $this->WSO_move_js_footer(); … … 664 666 } 665 667 668 function WSO_insert_core_js(){ 669 echo '<script type="text/javascript" charset="utf-8" defer>' . $this->WSO_inline_script($this->wso_url_jquery(), true) . '</script>'; 670 } 671 666 672 /* ================= */ 667 673 /* FUNC CACHE CSS JS */ -
website-speed-optimization/trunk/readme.txt
r2183667 r2299833 4 4 Donate link: https://www.paypal.me/tutm 5 5 Requires at least: 4.7 6 Tested up to: 5. 2.47 Stable tag: 5. 2.46 Tested up to: 5.4.1 7 Stable tag: 5.4.1 8 8 Requires PHP: 5.4 9 9 License: GPLv2 or later … … 85 85 86 86 == Changelog == 87 = 0.1.3 = 88 * Release date: 2020/05/07 89 * Fix icon dashicons 90 * Inline Jquery library 91 87 92 = 0.1.2 = 88 89 93 * Release date: 2019/10/31 90 94 * Update Logo, banner -
website-speed-optimization/trunk/wso_styles.css
r2183667 r2299833 154 154 text-align: center; 155 155 line-height: 1; 156 font-family: dashicons; 157 font-size: 24px; 156 158 } 157 159 .wso_setting input[type=text]{ … … 198 200 } 199 201 .wso-box .wso_setting input[type=checkbox]:checked:before{ 202 content: "\f147"; 200 203 color: #fff; 201 204 margin: 0; … … 203 206 width: 25px; 204 207 height: 25px; 205 transform: translate(-2px, 1px); 208 transform: translate(-2px, 12px); 209 font-family: dashicons; 210 font-size: 24px; 206 211 } 207 212 a.wso_faq{
Note: See TracChangeset
for help on using the changeset viewer.