WordPress.org

Plugin Directory

Changeset 1590582


Ignore:
Timestamp:
02/07/17 08:54:01 (12 months ago)
Author:
rohitink
Message:

Bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rt-slider/trunk/rt-slider.php

    r1580622 r1590582  
    44Plugin Name: RT Slider 
    55Description: A Very Simple & Easy Slider Plugin, which helps you create sliders from Customizer, if your Theme Supports it. Originally Designed to Work with Rohitink.com & Inkhive.com Themes.  
    6 Version: 1.0.3 
     6Version: 1.0.4 
    77Author: Rohit Tripathi 
    88Author URI: http://rohitink.com 
     
    494494            || ( get_theme_mod('rtslider_enable_posts') && is_single() )  
    495495            || ( get_theme_mod('rtslider_enable_pages') && is_page() ) 
    496             || ( is_page(get_theme_mod('rtslider_enable_page1', -1)) && is_page() ) 
    497             || ( is_page(get_theme_mod('rtslider_enable_page2', -1)) && is_page() ) //Extra check by is_page() added on purpose.         
     496            || ( is_page(get_theme_mod('rtslider_enable_page1', 0)) && is_page() ) 
     497            || ( is_page(get_theme_mod('rtslider_enable_page2', 0)) && is_page() ) //Extra check by is_page() added on purpose.      
    498498        ) 
    499499        return true; 
Note: See TracChangeset for help on using the changeset viewer.