Content Reveal plugin not working with https://
-
The current version of the plugin (line 35 of simple-content-reveal.php) does not enqueue the script swap-display.min.js when https:// is used.
Original:
wp_enqueue_script( 'swap_display',WP_PLUGIN_URL . ‘/’ . str_replace( basename( __FILE__ ), ”, plugin_basename( __FILE__ ) ) . ‘js/swap-display.min.js’);`Corrected:
wp_enqueue_script( 'swap_display', plugin_dir_url( __FILE__ ) . 'js/swap-display.min.js' );For example see http://www.psa.org.au/education/qualifications
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Content Reveal plugin not working with https://’ is closed to new replies.