Make WordPress Core


Ignore:
Timestamp:
09/15/2015 10:31:40 AM (9 years ago)
Author:
johnbillion
Message:

Remove outdated references to the preview_post_link filter docs.

See #24345
Props paulwilde

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/post.php

    r34170 r34178  
    13201320        if ( 'draft' == $post->post_status ) {
    13211321            $draft_link = set_url_scheme( get_permalink( $post->ID ) );
    1322             /** This filter is documented in wp-admin/includes/meta-boxes.php */
    13231322            $preview_link = get_preview_post_link( $post, array(), $draft_link );
    13241323            $return .= "<span id='view-post-btn'><a href='" . esc_url( $preview_link ) . "' class='button button-small' target='wp-preview-{$post->ID}'>$view_post</a></span>\n";
Note: See TracChangeset for help on using the changeset viewer.