Plugin Directory

Changeset 986838


Ignore:
Timestamp:
09/10/2014 10:56:08 PM (12 years ago)
Author:
insideoutweb
Message:

Fixed bug from last version.

Location:
simple-mobile-url-redirect
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • simple-mobile-url-redirect/trunk/mobile-redirect.php

    r985612 r986838  
    44Description: Select a URL to point mobile users to
    55Author: Ozette Plugins
    6 Version: 1.6
     6Version: 1.6.1
    77Author URI: http://ozette.com/
    88*/
     
    4141        add_action( 'admin_init', array( &$this, 'admin_init' ) );
    4242        add_action( 'admin_menu', array( &$this, 'admin_menu' ) );
    43         add_action( 'plugins_loaded', array( &$this, 'template_redirect' ) ); //fix from amclin
     43        add_action( 'template_redirect', array( &$this, 'template_redirect' ) ); //fix from amclin
    4444        if ( get_option( 'mobileredirecttoggle' ) == 'true' )
    4545            update_option( 'mobileredirecttoggle', true );
     
    186186                return;
    187187        }
     188       
    188189        if( get_option('mobileredirecthome') == 1){
    189             if( ! is_front_page() )
    190                 return;
     190            if( ! is_front_page() ) return;
    191191        }
    192192
  • simple-mobile-url-redirect/trunk/readme.txt

    r985612 r986838  
    55Requires at least: 3.4
    66Tested up to: 4.0
    7 Stable tag: 1.6
     7Stable tag: 1.6.1
    88
    99This plugin allows you to put in a full path URL to redirect mobile traffic to.
     
    4646
    4747== Changelog ==
     48
     49= 1.6.1 =
     50* Reverted a fix that broke redirect home page only
    4851
    4952= 1.6 =
Note: See TracChangeset for help on using the changeset viewer.