Make WordPress Core

Changeset 32309


Ignore:
Timestamp:
04/27/2015 04:07:20 PM (11 years ago)
Author:
pento
Message:

[32308] was for 4.3, not 4.2.1.

File:
1 edited

Legend:

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

    r32308 r32309  
    529529
    530530    if ( $wp_current_db_version < 32308 )
    531         upgrade_421();
     531        upgrade_430();
    532532
    533533    maybe_disable_link_manager();
     
    14401440
    14411441/**
    1442  * Execute changes made in WordPress 4.2.1.
    1443  *
    1444  * @since 4.2.1
    1445  */
    1446 function upgrade_421() {
     1442 * Execute changes made in WordPress 4.3.0.
     1443 *
     1444 * @since 4.3.0
     1445 */
     1446function upgrade_430() {
    14471447    global $wp_current_db_version, $wpdb;
    14481448
     
    14611461
    14621462        foreach ( $comments as $comment ) {
    1463             wp_delete_comment( $comments->comment_ID );
     1463            wp_delete_comment( $comment->comment_ID );
    14641464        }
    14651465    }
Note: See TracChangeset for help on using the changeset viewer.