WordPress.org

Make WordPress Core

Changeset 34178


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

Remove outdated references to the preview_post_link filter docs.

See #24345
Props paulwilde

Location:
trunk/src/wp-admin/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-posts-list-table.php

    r34170 r34178  
    11591159                if ( $can_edit_post ) {
    11601160                    $unpublished_link = set_url_scheme( get_permalink( $post ) );
    1161                     /** This filter is documented in wp-admin/includes/meta-boxes.php */
    11621161                    $preview_link = get_preview_post_link( $post, array(), $unpublished_link );
    11631162                    $actions['view'] = '<a href="' . esc_url( $preview_link ) . '" title="' . esc_attr( sprintf( __( 'Preview &#8220;%s&#8221;' ), $title ) ) . '" rel="permalink">' . __( 'Preview' ) . '</a>';
  • 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.