Plugin Directory

Changeset 2486965


Ignore:
Timestamp:
03/04/2021 03:47:43 PM (5 years ago)
Author:
sendsmaily
Message:

Release 3.0.2, see readme.txt for the changelog.

Location:
smaily-for-wp
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • smaily-for-wp/tags/3.0.2/admin/class-smaily-for-wp-admin.php

    r2486913 r2486965  
    5757    public function enqueue_styles() {
    5858        wp_register_style( $this->plugin_name, SMLY4WP_PLUGIN_URL . '/admin/css/smaily-for-wp-admin.css', array(), $this->version, 'all' );
    59         // Only enqueue in module page.
    60         $screen = get_current_screen();
    61         if ( isset( $screen->base ) && $screen->base === 'toplevel_page_' . $this->plugin_name ) {
    62             wp_enqueue_style( $this->plugin_name );
    63         }
     59        wp_enqueue_style( $this->plugin_name );
    6460    }
    6561
     
    7167    public function enqueue_scripts() {
    7268        wp_register_script( $this->plugin_name, SMLY4WP_PLUGIN_URL . '/admin/js/smaily-for-wp-admin.js', array( 'jquery' ), $this->version, false );
    73         // Only enqueue in module page.
    74         $screen = get_current_screen();
    75         if ( isset( $screen->base ) && $screen->base === 'toplevel_page_' . $this->plugin_name ) {
    76             wp_enqueue_script( $this->plugin_name );
    77             wp_localize_script( $this->plugin_name, 'smaily_for_wp', array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ) );
    78         }
     69        wp_enqueue_script( $this->plugin_name );
     70        wp_localize_script( $this->plugin_name, 'smaily_for_wp', array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ) );
    7971    }
    8072
  • smaily-for-wp/tags/3.0.2/readme.txt

    r2486913 r2486965  
    44Requires PHP: 5.6
    55Requires at least: 4.0
    6 Stable tag: 3.0.1
     6Stable tag: 3.0.2
    77Tags: widget, plugin, sidebar, api, mail, email, marketing, smaily
    88Tested up to: 5.6.0
     
    7676== Changelog ==
    7777
     78= 3.0.2 =
     79- Remove unnecessary admin page static content filtering
     80
    7881= 3.0.1 =
    7982- Fix hardcoded development plugin name breaks production CSS and JS loading
  • smaily-for-wp/tags/3.0.2/smaily-for-wp.php

    r2486913 r2486965  
    1010 * Text Domain:       smaily-for-wp
    1111 * Description:       Smaily newsletter subscription form.
    12  * Version:           3.0.1
     12 * Version:           3.0.2
    1313 * Author:            Sendsmaily LLC
    1414 * Author URI:        https://smaily.com
     
    2525 * Current plugin version.
    2626 */
    27 define( 'SMLY4WP_PLUGIN_VERSION', '3.0.1' );
     27define( 'SMLY4WP_PLUGIN_VERSION', '3.0.2' );
    2828
    2929/**
  • smaily-for-wp/trunk/admin/class-smaily-for-wp-admin.php

    r2486913 r2486965  
    5757    public function enqueue_styles() {
    5858        wp_register_style( $this->plugin_name, SMLY4WP_PLUGIN_URL . '/admin/css/smaily-for-wp-admin.css', array(), $this->version, 'all' );
    59         // Only enqueue in module page.
    60         $screen = get_current_screen();
    61         if ( isset( $screen->base ) && $screen->base === 'toplevel_page_' . $this->plugin_name ) {
    62             wp_enqueue_style( $this->plugin_name );
    63         }
     59        wp_enqueue_style( $this->plugin_name );
    6460    }
    6561
     
    7167    public function enqueue_scripts() {
    7268        wp_register_script( $this->plugin_name, SMLY4WP_PLUGIN_URL . '/admin/js/smaily-for-wp-admin.js', array( 'jquery' ), $this->version, false );
    73         // Only enqueue in module page.
    74         $screen = get_current_screen();
    75         if ( isset( $screen->base ) && $screen->base === 'toplevel_page_' . $this->plugin_name ) {
    76             wp_enqueue_script( $this->plugin_name );
    77             wp_localize_script( $this->plugin_name, 'smaily_for_wp', array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ) );
    78         }
     69        wp_enqueue_script( $this->plugin_name );
     70        wp_localize_script( $this->plugin_name, 'smaily_for_wp', array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ) );
    7971    }
    8072
  • smaily-for-wp/trunk/readme.txt

    r2486913 r2486965  
    44Requires PHP: 5.6
    55Requires at least: 4.0
    6 Stable tag: 3.0.1
     6Stable tag: 3.0.2
    77Tags: widget, plugin, sidebar, api, mail, email, marketing, smaily
    88Tested up to: 5.6.0
     
    7676== Changelog ==
    7777
     78= 3.0.2 =
     79- Remove unnecessary admin page static content filtering
     80
    7881= 3.0.1 =
    7982- Fix hardcoded development plugin name breaks production CSS and JS loading
  • smaily-for-wp/trunk/smaily-for-wp.php

    r2486913 r2486965  
    1010 * Text Domain:       smaily-for-wp
    1111 * Description:       Smaily newsletter subscription form.
    12  * Version:           3.0.1
     12 * Version:           3.0.2
    1313 * Author:            Sendsmaily LLC
    1414 * Author URI:        https://smaily.com
     
    2525 * Current plugin version.
    2626 */
    27 define( 'SMLY4WP_PLUGIN_VERSION', '3.0.1' );
     27define( 'SMLY4WP_PLUGIN_VERSION', '3.0.2' );
    2828
    2929/**
Note: See TracChangeset for help on using the changeset viewer.