WordPress.org

Make WordPress Core

Ticket #51308: 51308.patch

File 51308.patch, 487 bytes (added by anonymized_18274256, 17 months ago)

Patch added

  • src/wp-includes/revision.php

    ========================================
    a b function wp_save_post_revision( $post_id ) { 
    227227 *
    228228 * @since 2.6.0
    229229 *
     230 * @global wpdb $wpdb WordPress database abstraction object.
     231 *
    230232 * @param int $post_id The post ID.
    231233 * @param int $user_id Optional The post author ID.
    232234 * @return WP_Post|false The autosaved data or false on failure or when no autosave exists.