Changeset 28928
- Timestamp:
- 06/30/2014 05:18:23 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/canonical.php
r28878 r28928 79 79 $redirect['query'] = ''; 80 80 81 // I f its not a preview thenremove it from URL82 if ( ! is_preview() ) {81 // It's not a preview, so remove it from URL 82 if ( get_query_var( 'preview' ) ) { 83 83 $redirect['query'] = remove_query_arg( 'preview', $redirect['query'] ); 84 84 }
Note: See TracChangeset
for help on using the changeset viewer.