Plugin Directory

Changeset 1500166


Ignore:
Timestamp:
09/22/2016 08:39:05 AM (10 years ago)
Author:
ishaijaffe
Message:

turn off canonical redirect

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bablic/trunk/Bablic.php

    r1466841 r1500166  
    7777        // get locale hook
    7878        add_filter('locale', array(&$this, 'get_locale'));
    79 
     79   
    8080
    8181        add_action( 'admin_notices', array(&$this, 'bablic_admin_messages') );
     
    9494            )
    9595        );
     96        if($options['dont_permalink'] == 'no')
     97            remove_filter('template_redirect','redirect_canonical');
     98
    9699    }
    97100   
Note: See TracChangeset for help on using the changeset viewer.