Changeset 2467607
- Timestamp:
- 02/03/2021 05:07:51 AM (5 years ago)
- Location:
- ebecas/tags/2.01
- Files:
-
- 5 edited
- 1 copied
-
. (copied) (copied from ebecas/trunk)
-
eit-ebecas.php (modified) (2 diffs)
-
includes/Eit_Ebecas_Controller.php (modified) (3 diffs)
-
includes/Eit_Ebecas_Functions.php (modified) (1 diff)
-
includes/recaptcha/recaptcha.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ebecas/tags/2.01/eit-ebecas.php
r2467546 r2467607 5 5 Plugin URI: https://ebecas.com.au/wordpress-plugin 6 6 Description: Using this plugin students can submit online application directly from school/college website. Submitted application with student details along with course and other products will be recorded in eBecas for further processing. 7 Version: 2.0 7 Version: 2.01 8 8 Requires at least: 5.3 9 9 Requires PHP: 7.0 … … 35 35 define( 'EIT_EBECAS_PLUGIN', __FILE__ ); 36 36 37 define( 'EIT_EBECAS_VERSION', '2.0 ' );37 define( 'EIT_EBECAS_VERSION', '2.01' ); 38 38 39 39 define( 'EIT_EBECAS_REQUIRED_WP_VERSION', '5.3' ); -
ebecas/tags/2.01/includes/Eit_Ebecas_Controller.php
r2467512 r2467607 1 1 <?php 2 2 3 add_action( 'wp_enqueue_scripts', 'eit_ebecas_do_enqueue_scripts' );3 add_action( 'wp_enqueue_scripts', 'eit_ebecas_do_enqueue_scripts', 10, 0 ); 4 4 5 5 function eit_ebecas_do_enqueue_scripts() { … … 11 11 12 12 function eit_ebecas_enqueue_styles() { 13 wp_enqueue_style( 'jquery-ui', 14 Eit_Ebecas_Functions::plugin_url( 'includes/css/jquery-ui.min.css' ), 15 array(), EIT_EBECAS_VERSION, 'all' ); 16 17 wp_enqueue_style( 'eit-ebecas-css', 18 Eit_Ebecas_Functions::plugin_url( 'includes/css/styles.css' ), 19 array(), EIT_EBECAS_VERSION, 'all' ); 13 wp_enqueue_style( 'jquery-ui', plugins_url( 'css/jquery-ui.min.css', __FILE__ ), 14 array(), EIT_EBECAS_VERSION ); 15 16 wp_enqueue_style( 'eit-ebecas-css', plugins_url( 'css/styles.css', __FILE__ ), 17 array(), EIT_EBECAS_VERSION ); 20 18 } 21 19 … … 24 22 wp_enqueue_script( 'moment' ); 25 23 26 wp_enqueue_script( 'eit_ebecas', 27 Eit_Ebecas_Functions::plugin_url( 'includes/js/scripts.js' ), 24 wp_enqueue_script( 'eit_ebecas', plugins_url( 'js/scripts.js', __FILE__ ), 28 25 array( 'jquery' ), EIT_EBECAS_VERSION, true ); 29 26 -
ebecas/tags/2.01/includes/Eit_Ebecas_Functions.php
r2467512 r2467607 77 77 } 78 78 } 79 80 public static function plugin_url( $path = '' ) {81 $url = plugins_url( $path, EIT_EBECAS_PLUGIN );82 83 if ( is_ssl()84 and 'http:' == substr( $url, 0, 5 ) ) {85 $url = 'https:' . substr( $url, 5 );86 }87 88 return $url;89 }90 91 79 } 92 80 } -
ebecas/tags/2.01/includes/recaptcha/recaptcha.php
r2467512 r2467607 30 30 ); 31 31 32 wp_enqueue_script( 'eit_ebecas_recaptcha', 33 Eit_Ebecas_Functions::plugin_url( 'includes/recaptcha/script.js' ), 34 array( 'google-recaptcha' ), 35 EIT_EBECAS_VERSION, 36 true 32 wp_enqueue_script( 'eit_ebecas_recaptcha', plugins_url( 'script.js', __FILE__ ), 33 array( 'google-recaptcha' ), EIT_EBECAS_VERSION, true 37 34 ); 38 35 -
ebecas/tags/2.01/readme.txt
r2467546 r2467607 5 5 Requires at least: 5.3 6 6 Tested up to: 5.6 7 Stable tag: 2.0 7 Stable tag: 2.01 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later … … 114 114 == Changelog == 115 115 116 = 2.01 = 117 * Bug fixed - Load resources (css/js) correctly 118 116 119 = 2.0 = 117 120 * Added support for latest wordpress version 5.6
Note: See TracChangeset
for help on using the changeset viewer.