WordPress/wp-admin
Gary Pendergast 5d6b13a4d9 Database: `dbDelta()` will no longer try to downgrade the size of `TEXT` and `BLOB` columns.
When upgrading to `utf8mb4`, `TEXT` fields will be upgraded to `MEDIUMTEXT` (and likewise for all other `*TEXT` and `*BLOB` fields). This is to allow for the additional space requirements of `utf8mb4`.

On the subsequent upgrade, `dbDelta()` would try and downgrade the fields to their original size again. At best, this it a waste of time, at worst, this could truncate any data larger than the original size. There's no harm in leaving them at their new size, so let's do that.

The `FULLTEXT` indexes are removed from the tests, as `dbDelta()`'s `FULLTEXT` support was added in WordPress 4.4.

This also fixes a typo in the `dbDelta()` tests.

Merge of [37525] to the 4.3 branch.
Partial merge of [36552] to the 4.3 branch.

See #36748.


Built from https://develop.svn.wordpress.org/branches/4.3@37938


git-svn-id: http://core.svn.wordpress.org/branches/4.3@37879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-07-01 11:42:24 +00:00
..
css Customizer: Fix moving focus to available nav menu items search. 2015-10-05 15:30:24 +00:00
images Revert [33845] 2015-09-03 03:33:24 +00:00
includes Database: `dbDelta()` will no longer try to downgrade the size of `TEXT` and `BLOB` columns. 2016-07-01 11:42:24 +00:00
js Customizer: Reset horizontal scroll position when finished dragging a nav menu item. 2015-10-05 20:48:24 +00:00
maint Revert [33845] 2015-09-03 03:33:24 +00:00
network Multisite: Improve escaping in network settings. 2016-03-30 16:02:23 +00:00
user Revert [33845] 2015-09-03 03:33:24 +00:00
about.php Bump 4.3 branch to 4.3.5. 2016-06-21 16:33:25 +00:00
admin-ajax.php Revert [33845] 2015-09-03 03:33:24 +00:00
admin-footer.php Revert [33845] 2015-09-03 03:33:24 +00:00
admin-functions.php Revert [33845] 2015-09-03 03:33:24 +00:00
admin-header.php Revert [33845] 2015-09-03 03:33:24 +00:00
admin-post.php Revert [33845] 2015-09-03 03:33:24 +00:00
admin.php Revert [33845] 2015-09-03 03:33:24 +00:00
async-upload.php Revert [33845] 2015-09-03 03:33:24 +00:00
comment.php Revert [33845] 2015-09-03 03:33:24 +00:00
credits.php Revert [33845] 2015-09-03 03:33:24 +00:00
custom-background.php Revert [33845] 2015-09-03 03:33:24 +00:00
custom-header.php Revert [33845] 2015-09-03 03:33:24 +00:00
customize.php Customize: Make sure that preview and return URLs are URLs. 2016-06-21 14:18:56 +00:00
edit-comments.php Revert [33845] 2015-09-03 03:33:24 +00:00
edit-form-advanced.php Revert [33845] 2015-09-03 03:33:24 +00:00
edit-form-comment.php Revert [33845] 2015-09-03 03:33:24 +00:00
edit-link-form.php Revert [33845] 2015-09-03 03:33:24 +00:00
edit-tag-form.php Revert [33845] 2015-09-03 03:33:24 +00:00
edit-tags.php Revert [33845] 2015-09-03 03:33:24 +00:00
edit.php Revert [33845] 2015-09-03 03:33:24 +00:00
export.php Revert [33845] 2015-09-03 03:33:24 +00:00
freedoms.php Revert [33845] 2015-09-03 03:33:24 +00:00
import.php Revert [33845] 2015-09-03 03:33:24 +00:00
index.php Revert [33845] 2015-09-03 03:33:24 +00:00
install-helper.php Revert [33845] 2015-09-03 03:33:24 +00:00
install.php Revert [33845] 2015-09-03 03:33:24 +00:00
link-add.php Revert [33845] 2015-09-03 03:33:24 +00:00
link-manager.php Revert [33845] 2015-09-03 03:33:24 +00:00
link-parse-opml.php Revert [33845] 2015-09-03 03:33:24 +00:00
link.php Revert [33845] 2015-09-03 03:33:24 +00:00
load-scripts.php Revert [33845] 2015-09-03 03:33:24 +00:00
load-styles.php Revert [33845] 2015-09-03 03:33:24 +00:00
media-new.php Revert [33845] 2015-09-03 03:33:24 +00:00
media-upload.php Revert [33845] 2015-09-03 03:33:24 +00:00
media.php Revert [33845] 2015-09-03 03:33:24 +00:00
menu-header.php Revert [33845] 2015-09-03 03:33:24 +00:00
menu.php Revert [33845] 2015-09-03 03:33:24 +00:00
moderation.php Revert [33845] 2015-09-03 03:33:24 +00:00
ms-admin.php Revert [33845] 2015-09-03 03:33:24 +00:00
ms-delete-site.php Revert [33845] 2015-09-03 03:33:24 +00:00
ms-edit.php Revert [33845] 2015-09-03 03:33:24 +00:00
ms-options.php Revert [33845] 2015-09-03 03:33:24 +00:00
ms-sites.php Revert [33845] 2015-09-03 03:33:24 +00:00
ms-themes.php Revert [33845] 2015-09-03 03:33:24 +00:00
ms-upgrade-network.php Revert [33845] 2015-09-03 03:33:24 +00:00
ms-users.php Revert [33845] 2015-09-03 03:33:24 +00:00
my-sites.php Revert [33845] 2015-09-03 03:33:24 +00:00
nav-menus.php Revert [33845] 2015-09-03 03:33:24 +00:00
network.php Revert [33845] 2015-09-03 03:33:24 +00:00
options-discussion.php Revert [33845] 2015-09-03 03:33:24 +00:00
options-general.php Revert [33845] 2015-09-03 03:33:24 +00:00
options-head.php Revert [33845] 2015-09-03 03:33:24 +00:00
options-media.php Revert [33845] 2015-09-03 03:33:24 +00:00
options-permalink.php Revert [33845] 2015-09-03 03:33:24 +00:00
options-reading.php Revert [33845] 2015-09-03 03:33:24 +00:00
options-writing.php Revert [33845] 2015-09-03 03:33:24 +00:00
options.php Revert [33845] 2015-09-03 03:33:24 +00:00
plugin-editor.php Revert [33845] 2015-09-03 03:33:24 +00:00
plugin-install.php Revert [33845] 2015-09-03 03:33:24 +00:00
plugins.php Revert [33845] 2015-09-03 03:33:24 +00:00
post-new.php Revert [33845] 2015-09-03 03:33:24 +00:00
post.php Revert [33845] 2015-09-03 03:33:24 +00:00
press-this.php Revert [33845] 2015-09-03 03:33:24 +00:00
profile.php Revert [33845] 2015-09-03 03:33:24 +00:00
revision.php Revisions: Change the capability needed to view revision diffs to `edit_post`. 2016-06-21 14:41:28 +00:00
setup-config.php Revert [33845] 2015-09-03 03:33:24 +00:00
theme-editor.php Revert [33845] 2015-09-03 03:33:24 +00:00
theme-install.php Revert [33845] 2015-09-03 03:33:24 +00:00
themes.php Revert [33845] 2015-09-03 03:33:24 +00:00
tools.php Revert [33845] 2015-09-03 03:33:24 +00:00
update-core.php Revert [33845] 2015-09-03 03:33:24 +00:00
update.php Revert [33845] 2015-09-03 03:33:24 +00:00
upgrade-functions.php Revert [33845] 2015-09-03 03:33:24 +00:00
upgrade.php Revert [33845] 2015-09-03 03:33:24 +00:00
upload.php Revert [33845] 2015-09-03 03:33:24 +00:00
user-edit.php Multisite: Validate new email address confirmations. 2016-03-30 14:49:48 +00:00
user-new.php Revert [33845] 2015-09-03 03:33:24 +00:00
users.php Revert [33845] 2015-09-03 03:33:24 +00:00
widgets.php Revert [33845] 2015-09-03 03:33:24 +00:00