mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-23 00:31:28 +01:00
Upgrade/Install: Remove unused global in upgrade_430_fix_comments()
.
Props adnan.limdi. Fixes #41970. Built from https://develop.svn.wordpress.org/trunk@46972 git-svn-id: http://core.svn.wordpress.org/trunk@46772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d273235abd
commit
bbd898b1dd
@ -1962,11 +1962,10 @@ function upgrade_430() {
|
||||
* @ignore
|
||||
* @since 4.3.0
|
||||
*
|
||||
* @global int $wp_current_db_version The old (current) database version.
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*/
|
||||
function upgrade_430_fix_comments() {
|
||||
global $wp_current_db_version, $wpdb;
|
||||
global $wpdb;
|
||||
|
||||
$content_length = $wpdb->get_col_length( $wpdb->comments, 'comment_content' );
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.4-alpha-46971';
|
||||
$wp_version = '5.4-alpha-46972';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user