WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #23367, comment 13


Ignore:
Timestamp:
01/24/2015 05:59:49 AM (7 years ago)
Author:
morganestes
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23367, comment 13

    initial v1  
    77
    88* Note that the actual URL filter relies on `document.pushState`, which isn't supported in IE 9 or lower without a polyfill. Those browsers will get access to `wpUrlParams` but not the URL changes, which is current behavior.
     9
     10Here's what filtering the blacklist would look like:
     11
     12{{{
     13add_filter( 'removable_url_params', function( $removable_url_params ) {
     14        $my_params = array( 'mdub' );
     15        return array_merge( $my_params, $removable_url_params );
     16});
     17}}}