Make WordPress Core


Ignore:
Timestamp:
10/27/2019 07:09:10 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Correct invalid hook docblocks.

See #48303

File:
1 edited

Legend:

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

    r45932 r46603  
    7575         * @since 3.6.0
    7676         *
    77          * @param string  $compare_from->$field The current revision field to compare to or from.
    78          * @param string  $field                The current revision field.
    79          * @param WP_Post $compare_from         The revision post object to compare to or from.
    80          * @param string  null                  The context of whether the current revision is the old
    81          *                                      or the new one. Values are 'to' or 'from'.
     77         * @param string  $revision_field The current revision field to compare to or from.
     78         * @param string  $field          The current revision field.
     79         * @param WP_Post $compare_from   The revision post object to compare to or from.
     80         * @param string  $context        The context of whether the current revision is the old
     81         *                                or the new one. Values are 'to' or 'from'.
    8282         */
    8383        $content_from = $compare_from ? apply_filters( "_wp_post_revision_field_{$field}", $compare_from->$field, $field, $compare_from, 'from' ) : '';
Note: See TracChangeset for help on using the changeset viewer.