Plugin Directory

Changeset 2467607


Ignore:
Timestamp:
02/03/2021 05:07:51 AM (5 years ago)
Author:
janorkar
Message:

Tagging release 2.01

Location:
ebecas/tags/2.01
Files:
5 edited
1 copied

Legend:

Unmodified
Added
Removed
  • ebecas/tags/2.01/eit-ebecas.php

    r2467546 r2467607  
    55Plugin URI: https://ebecas.com.au/wordpress-plugin
    66Description: 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
     7Version: 2.01
    88Requires at least: 5.3
    99Requires PHP: 7.0
     
    3535define( 'EIT_EBECAS_PLUGIN', __FILE__ );
    3636
    37 define( 'EIT_EBECAS_VERSION', '2.0' );
     37define( 'EIT_EBECAS_VERSION', '2.01' );
    3838
    3939define( 'EIT_EBECAS_REQUIRED_WP_VERSION', '5.3' );
  • ebecas/tags/2.01/includes/Eit_Ebecas_Controller.php

    r2467512 r2467607  
    11<?php
    22
    3 add_action( 'wp_enqueue_scripts', 'eit_ebecas_do_enqueue_scripts' );
     3add_action( 'wp_enqueue_scripts', 'eit_ebecas_do_enqueue_scripts', 10, 0 );
    44
    55function eit_ebecas_do_enqueue_scripts() {
     
    1111
    1212function 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 );
    2018}
    2119
     
    2422    wp_enqueue_script( 'moment' );
    2523
    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__ ),
    2825        array( 'jquery' ), EIT_EBECAS_VERSION, true );
    2926
  • ebecas/tags/2.01/includes/Eit_Ebecas_Functions.php

    r2467512 r2467607  
    7777            }
    7878        }
    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 
    9179    }
    9280}
  • ebecas/tags/2.01/includes/recaptcha/recaptcha.php

    r2467512 r2467607  
    3030    );
    3131
    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
    3734    );
    3835
  • ebecas/tags/2.01/readme.txt

    r2467546 r2467607  
    55Requires at least: 5.3
    66Tested up to: 5.6
    7 Stable tag: 2.0
     7Stable tag: 2.01
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    114114== Changelog ==
    115115
     116= 2.01 =
     117* Bug fixed - Load resources (css/js) correctly
     118
    116119= 2.0 =
    117120* Added support for latest wordpress version 5.6
Note: See TracChangeset for help on using the changeset viewer.