WordPress/wp-admin
Gary Pendergast c9fb1436ed 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.

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

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

See #36748.


Built from https://develop.svn.wordpress.org/branches/4.4@37936


git-svn-id: http://core.svn.wordpress.org/branches/4.4@37877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-07-01 07:00:50 +00:00
..
css About Page: Add release video and update post embed. 2015-12-08 23:29:26 +00:00
images
includes Database: dbDelta() will no longer try to downgrade the size of TEXT and BLOB columns. 2016-07-01 07:00:50 +00:00
js Add Nonce to updating wporg_favorites user meta field 2016-03-30 18:41:26 +00:00
maint Install/Upgrade: Keep indexing bots away until a site is ready to be seen. 2015-12-08 22:02:27 +00:00
network Multisite: Improve escaping in network settings. 2016-03-30 16:01:27 +00:00
user
about.php Bump 4.4 branch to 4.4.4. 2016-06-21 16:21:26 +00:00
admin-ajax.php Themes: Add a Favorites tab to the Add Themes screen. 2015-11-04 21:49:26 +00:00
admin-footer.php
admin-functions.php
admin-header.php
admin-post.php
admin.php
async-upload.php
comment.php I18N: Remove <a> tag from translatable string in wp-admin/comment.php. 2015-11-18 17:33:30 +00:00
credits.php About: Sync tagline from about page with credits and freedoms. 2015-12-07 16:59:27 +00:00
custom-background.php
custom-header.php Accessibility: add missing alt attributes to a gaggle of <img>s. 2015-11-07 16:12:27 +00:00
customize.php
edit-comments.php Add translator comments for strings in wp-admin/edit-comments.php. 2015-11-06 00:23:25 +00:00
edit-form-advanced.php
edit-form-comment.php
edit-link-form.php
edit-tag-form.php
edit-tags.php After [34891], rename new post type and taxonomy label keys to match the default strings. 2015-10-23 16:48:25 +00:00
edit.php After [34891], rename new post type and taxonomy label keys to match the default strings. 2015-10-23 16:48:25 +00:00
export.php Export: add missing labels and improvement accessibility of the Export screen. 2015-10-21 03:57:24 +00:00
freedoms.php About: Sync tagline from about page with credits and freedoms. 2015-12-07 16:59:27 +00:00
import.php
index.php
install-helper.php
install.php Install/Upgrade: Keep indexing bots away until a site is ready to be seen. 2015-12-08 22:02:27 +00:00
link-add.php
link-manager.php
link-parse-opml.php
link.php
load-scripts.php
load-styles.php
media-new.php
media-upload.php
media.php
menu-header.php
menu.php Eliminate a db query when building the admin menu for non-privileged users. 2015-11-18 21:34:26 +00:00
moderation.php
ms-admin.php
ms-delete-site.php
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.php
nav-menus.php Customizer: Use correct context and translator comments for menu location strings. 2015-11-20 17:46:25 +00:00
network.php
options-discussion.php Don't force comment pagination. 2015-10-21 16:26:42 +00:00
options-general.php Revert [35336] and [35337]. 2015-11-18 20:30:25 +00:00
options-head.php
options-media.php Remove <code> tag from translatable string in wp-admin/options-media.php. 2015-11-06 00:28:25 +00:00
options-permalink.php Permalinks: Use "Plain" instead of "None" for the ?p-###, which is still a valid permalink structure, just not a "pretty" one. 2015-11-10 22:19:27 +00:00
options-reading.php
options-writing.php
options.php Revert [35336] and [35337]. 2015-11-18 20:30:25 +00:00
plugin-editor.php
plugin-install.php
plugins.php
post-new.php Provide more helpful feedback than just "Cheatin' uh?" for permission errors in wp-admin/post-new.php. 2015-09-02 18:36:22 +00:00
post.php Dashboard: use the create_posts cap on the post type object when determining if the Quick Press widget can be displayed. 2015-10-20 05:49:24 +00:00
press-this.php
profile.php
revision.php Revisions: Change the capability needed to view revision diffs to edit_post. 2016-06-21 14:32:27 +00:00
setup-config.php Install/Upgrade: Keep indexing bots away until a site is ready to be seen. 2015-12-08 22:02:27 +00:00
theme-editor.php
theme-install.php Add Nonce to updating wporg_favorites user meta field 2016-03-30 18:41:26 +00:00
themes.php Customize: Return user to referring URL when leaving Customizer in absence of return query param. 2015-11-01 06:40:28 +00:00
tools.php
update-core.php Accessibility: add missing alt attributes to a gaggle of <img>s. 2015-11-07 16:12:27 +00:00
update.php
upgrade-functions.php
upgrade.php Install/Upgrade: Keep indexing bots away until a site is ready to be seen. 2015-12-08 22:02:27 +00:00
upload.php
user-edit.php Multisite: Validate new email address confirmations. 2016-03-30 14:49:26 +00:00
user-new.php Users: Allow to create users without sending an email to the new user. 2015-11-25 22:38:29 +00:00
users.php Users: When determining whether to show the reassign content option during user delete, don't rely upon WP_Query as it doesn't return all forms of content wp_delete_user() operates on. 2015-12-27 02:17:21 +00:00
widgets.php Widgets: Show the "Clear Inactive Widgets" button only after the sidebar with inactive widgets. 2016-01-20 21:57:28 +00:00