Make WordPress Core


Ignore:
Timestamp:
09/15/2015 08:15:22 AM (9 years ago)
Author:
johnbillion
Message:

Correct the value of the preview query variable added by get_preview_post_link().

See #24345
Props kitchin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/link-template.php

    r34170 r34175  
    11831183        }
    11841184
    1185         $query_args['preview'] = true;
     1185        $query_args['preview'] = 'true';
    11861186        $preview_link = add_query_arg( $query_args, $preview_link );
    11871187    }
Note: See TracChangeset for help on using the changeset viewer.