Upgrade: Since MySQL may auto-expand column widths when changing a column's character set, we must do our length-based comment checks prior to the character set changes.
Props jorbin, et alii. See #32165. git-svn-id: https://develop.svn.wordpress.org/trunk@32440 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
89b384a05a
commit
80238b81d6
|
@ -524,12 +524,15 @@ function upgrade_all() {
|
||||||
if ( $wp_current_db_version < 29630 )
|
if ( $wp_current_db_version < 29630 )
|
||||||
upgrade_400();
|
upgrade_400();
|
||||||
|
|
||||||
if ( $wp_current_db_version < 31351 )
|
// Don't harsh my mellow. upgrade_430() must be called before
|
||||||
upgrade_420();
|
// upgrade_420() to catch bad comments prior to any auto-expansion of
|
||||||
|
// MySQL column widths.
|
||||||
if ( $wp_current_db_version < 32364 )
|
if ( $wp_current_db_version < 32364 )
|
||||||
upgrade_430();
|
upgrade_430();
|
||||||
|
|
||||||
|
if ( $wp_current_db_version < 31351 )
|
||||||
|
upgrade_420();
|
||||||
|
|
||||||
maybe_disable_link_manager();
|
maybe_disable_link_manager();
|
||||||
|
|
||||||
maybe_disable_automattic_widgets();
|
maybe_disable_automattic_widgets();
|
||||||
|
|
Loading…
Reference in New Issue