Plugin Directory

Changeset 1717814


Ignore:
Timestamp:
08/22/2017 10:10:20 PM (8 years ago)
Author:
andreysv
Message:

BUG FIXED: Selection of transition was corrected.

Location:
sv-sticky-menu/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sv-sticky-menu/trunk/readme.txt

    r1683741 r1717814  
    44Requires at least: 4.0
    55Tested up to: 4.8
    6 Stable tag: 1.0.1
     6Stable tag: 1.0.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    108108* Client java script was improved.
    109109
     110= 1.0.2 =
     111* BUG FIXED: Selection of transition was corrected.
     112
    110113== Upgrade Notice ==
    111114
     
    114117= 1.0.1 =
    115118The custom transition type was added. Now you can add any animation for sticky menu.
     119
     120= 1.0.2 =
     121BUG FIXED: Selection of transition was corrected.
  • sv-sticky-menu/trunk/sv-sticky-menu.php

    r1683741 r1717814  
    44Plugin URI: http://wordpress.org/plugins/sv-sticky-menu/
    55Description: SV Sticky Menu is WordPress's plugin that transform menu to sticky menu on top of page by scrolling.
    6 Version: 1.0.1
     6Version: 1.0.2
    77Author: Andrey Svyatovets
    88Author URI: http://svyatovets.wordpress.com
     
    3030*/
    3131
    32 define('SVSM_VERSION', '1.0.1');
     32define('SVSM_VERSION', '1.0.2');
    3333
    3434if (!defined('ABSPATH')) die('No direct access allowed');
     
    502502        $options = get_option ('sv-sticky-menu-page-options');
    503503
    504     wp_register_style( 'sv-sticky-menu-stylesheet', plugins_url( 'css/style.css', __FILE__ ), false, SVSM_VERSION );
    505     wp_enqueue_style( 'sv-sticky-menu-stylesheet' );
     504    if ( $options['field_transition'] == 'custom' ) {
     505      wp_register_style( 'sv-sticky-menu-stylesheet', plugins_url( 'css/style.css', __FILE__ ), false, SVSM_VERSION );
     506      wp_enqueue_style( 'sv-sticky-menu-stylesheet' );
     507    }
    506508
    507509    wp_register_script( 'sv-sticky-menu-script', plugins_url( 'js/sv-sticky-menu.js', __FILE__ ), false, SVSM_VERSION, false );
Note: See TracChangeset for help on using the changeset viewer.