Plugin Directory

Changeset 1156881


Ignore:
Timestamp:
05/09/2015 01:58:46 PM (11 years ago)
Author:
slobodanmanic
Message:

Version 1.2.1

Location:
sticky-header
Files:
25 added
4 edited

Legend:

Unmodified
Added
Removed
  • sticky-header/trunk/README.txt

    r839235 r1156881  
    22Contributors: slobodanmanic, nikolicdragan
    33Tags: sticky header, header, sticky menu, fixed header
    4 Requires at least: 3.5
    5 Tested up to: 3.8.1
    6 Stable tag: 1.2
     4Requires at least: 4.0
     5Tested up to: 4.2.2
     6Stable tag: 1.2.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5252== Changelog ==
    5353
     54= 1.2.1 =
     55* Adds compressed JS and CSS files.
     56
    5457= 1.2 =
    5558* Fixes a PHP notice.
  • sticky-header/trunk/class-sticky-header.php

    r839235 r1156881  
    2525     * @var     string
    2626     */
    27     const VERSION = '1.0.0';
     27    const VERSION = '1.2.1';
    2828
    2929    /**
     
    119119     */
    120120    public function enqueue_styles() {
    121         wp_enqueue_style( $this->plugin_slug . '-plugin-styles', plugins_url( 'css/public.css', __FILE__ ), array(), self::VERSION );
     121        $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
     122        wp_enqueue_style( $this->plugin_slug . '-plugin-styles', plugins_url( "css/public$min.css", __FILE__ ), array(), self::VERSION );
    122123    }
    123124
     
    128129     */
    129130    public function enqueue_scripts() {
    130         wp_enqueue_script( $this->plugin_slug . '-plugin-script', plugins_url( 'js/public.js', __FILE__ ), array( 'jquery' ), self::VERSION );
     131        $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
     132        wp_enqueue_script( $this->plugin_slug . '-plugin-script', plugins_url( "js/public$min.js", __FILE__ ), array( 'jquery' ), self::VERSION );
    131133       
    132134        // Send plugin settings to JS file.
  • sticky-header/trunk/css/public.css

    r828982 r1156881  
    11/* This stylesheet is used to style the public view of the plugin. */
    2 
    32#thsp-sticky-header {
    43    margin-top: -200px;
  • sticky-header/trunk/sticky-header.php

    r839235 r1156881  
    1313 * Plugin URI:      http://thematosoup.com
    1414 * Description:     Adds sticky header to your WordPress website
    15  * Version:         1.2
     15 * Version:         1.2.1
    1616 * Author:          ThematoSoup
    1717 * Author URI:      http://thematosoup.com
Note: See TracChangeset for help on using the changeset viewer.