Changeset 34170 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 09/15/2015 04:14:23 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r34163 r34170 1528 1528 check_ajax_referer( 'getpermalink', 'getpermalinknonce' ); 1529 1529 $post_id = isset($_POST['post_id'])? intval($_POST['post_id']) : 0; 1530 wp_die( add_query_arg( array( 'preview' => 'true' ), get_permalink( $post_id )) );1530 wp_die( get_preview_post_link( $post_id ) ); 1531 1531 } 1532 1532
Note: See TracChangeset
for help on using the changeset viewer.