WordPress.org

Plugin Directory

Changeset 617438


Ignore:
Timestamp:
10/25/12 17:27:28 (18 months ago)
Author:
cfinke
Message:

WP Mobile: When we don't have referrer info, redirect to the current page with the ak_action arg stripped out instead of the homepage.

This way, we don't send users coming to /2012/01/01/post/?ak_action=reject_mobile to the homepage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/modules/minileven/minileven.php

    r611642 r617438  
    137137            } 
    138138            else { 
    139                 $go = get_bloginfo( 'url' ); 
     139                $go = remove_query_arg( array( 'ak_action' ) ); 
    140140            } 
    141141            wp_safe_redirect( $go ); 
Note: See TracChangeset for help on using the changeset viewer.