Make WordPress Core

Changeset 30119


Ignore:
Timestamp:
10/30/2014 11:49:43 PM (12 years ago)
Author:
DrewAPicture
Message:

Correct two parameter types in the wp_save_post_revision_check_for_changes hook documentation.

Props johnbillion.
Fixes #30185.

File:
1 edited

Legend:

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

    r30105 r30119  
    117117                 * @since 3.6.0
    118118                 *
    119                  * @param bool $check_for_changes Whether to check for changes before saving a new revision.
    120                  *                                Default true.
    121                  * @param int  $last_revision     ID of the last revision.
    122                  * @param int  $post              Post ID.
     119                 * @param bool    $check_for_changes Whether to check for changes before saving a new revision.
     120                 *                                   Default true.
     121                 * @param WP_Post $last_revision     The the last revision post object.
     122                 * @param WP_Post $post              The post object.
    123123                 *
    124124                 */
Note: See TracChangeset for help on using the changeset viewer.