WordPress.org

Make WordPress Core

Changeset 40985


Ignore:
Timestamp:
07/01/2017 04:36:20 PM (2 years ago)
Author:
DrewAPicture
Message:

Docs: Add a valid return type for post_preview() and improve the DocBlock summary.

See #41017.

File:
1 edited

Legend:

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

    r40424 r40985  
    17231723
    17241724/**
    1725  * Save draft or manually autosave for showing preview.
     1725 * Saves a draft or manually autosaves for the purpose of showing a post preview.
    17261726 *
    17271727 * @package WordPress
    17281728 * @since 2.7.0
    17291729 *
    1730  * @return str URL to redirect to show the preview
     1730 * @return string URL to redirect to show the preview.
    17311731 */
    17321732function post_preview() {
Note: See TracChangeset for help on using the changeset viewer.