Make WordPress Core

Changeset 34363


Ignore:
Timestamp:
09/21/2015 01:16:36 PM (10 years ago)
Author:
DrewAPicture
Message:

Docs: The $post parameter has been passed to the preview_post_link since 4.0.0.

Fixes a version mixup introduced in [34170].

Props dimadin.
See #24345.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/link-template.php

    r34357 r34363  
    12041204     *
    12051205     * @since 2.0.5
    1206      * @since 4.4.0 $post parameter was added.
     1206     * @since 4.0.0 Added the `$post` parameter.
    12071207     *
    12081208     * @param string  $preview_link URL used for the post preview.
Note: See TracChangeset for help on using the changeset viewer.