WordPress.org

Make WordPress Core

Ticket #19378: 19378.patch

File 19378.patch, 425 bytes (added by SergeyBiryukov, 21 months ago)
  • wp-admin/includes/post.php

     
    13401340                $url = add_query_arg( array( 'preview' => 'true', 'preview_id' => $id, 'preview_nonce' => $nonce ), get_permalink($id) ); 
    13411341        } 
    13421342 
    1343         return $url; 
     1343        return apply_filters( 'preview_post_link', $url ); 
    13441344}