WordPress/wp-admin/includes
Sergey Biryukov 61a2f62ffd Comments: Use comment instead of an empty string for the comment_type DB field value in comments table.
This is the first step to bring support for custom comment types into WordPress.

Add a scheduled upgrade routine to update the type value for existing comments, in batches of 100 at a time.

Props imath, aaroncampbell, jeremyfelt, dshanske.
Fixes #49236.
Built from https://develop.svn.wordpress.org/trunk@47597


git-svn-id: http://core.svn.wordpress.org/trunk@47372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-04-17 19:35:06 +00:00
..
admin-filters.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
admin.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
ajax-actions.php Comments: Use comment instead of an empty string for the comment_type DB field value in comments table. 2020-04-17 19:35:06 +00:00
bookmark.php Administration: Allow wp_update_link() to update the link_owner field, for consistency with other link fields. 2020-02-15 01:55:06 +00:00
class-automatic-upgrader-skin.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-bulk-plugin-upgrader-skin.php
class-bulk-theme-upgrader-skin.php
class-bulk-upgrader-skin.php
class-core-upgrader.php Docs: Add descriptions for some globals: 2020-02-10 03:30:06 +00:00
class-custom-background.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
class-custom-image-header.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
class-file-upload-upgrader.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-ftp-pure.php
class-ftp-sockets.php
class-ftp.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
class-language-pack-upgrader-skin.php
class-language-pack-upgrader.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-pclzip.php Docs: Fix typos in wp-admin/includes/class-pclzip.php. 2020-01-29 00:56:04 +00:00
class-plugin-installer-skin.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-plugin-upgrader-skin.php
class-plugin-upgrader.php Docs: Correct formatting of some DocBlocks in Plugin_Upgrader and Theme_Upgrader per the documentation standards. 2020-03-03 11:39:08 +00:00
class-theme-installer-skin.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-theme-upgrader-skin.php
class-theme-upgrader.php Docs: Correct formatting of some DocBlocks in Plugin_Upgrader and Theme_Upgrader per the documentation standards. 2020-03-03 11:39:08 +00:00
class-walker-category-checklist.php Coding Standards: Use strict type check for in_array() and array_search(). 2020-04-09 15:43:10 +00:00
class-walker-nav-menu-checklist.php Docs: Correct type for $item and $args parameters in Walker_Nav_Menu_Checklist and Walker_Nav_Menu_Edit to match the parent Walker_Nav_Menu` class. 2020-02-05 07:25:05 +00:00
class-walker-nav-menu-edit.php Menus: Introduce wp_nav_menu_item_custom_fields action that fires just before the move buttons of a nav menu item in the menu editor. 2020-02-05 07:43:05 +00:00
class-wp-ajax-upgrader-skin.php
class-wp-automatic-updater.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-comments-list-table.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-community-events.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-debug-data.php Site Health: Add pretty links support information to debug data. 2020-03-28 21:20:06 +00:00
class-wp-filesystem-base.php Coding Standards: Use strict type check for in_array() and array_search(). 2020-04-09 15:43:10 +00:00
class-wp-filesystem-direct.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-filesystem-ftpext.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-filesystem-ftpsockets.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-filesystem-ssh2.php Code Modernization: Remove conditional use of stream_get_contents() PHP function. 2020-04-15 11:54:08 +00:00
class-wp-importer.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-internal-pointers.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-links-list-table.php Coding Standards: Fix WPCS indentation issue in wp-admin/includes/class-wp-links-list-table.php. 2020-04-17 18:31:07 +00:00
class-wp-list-table-compat.php
class-wp-list-table.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-media-list-table.php Administration: Standardize "found in Trash" messages. 2020-02-10 04:57:06 +00:00
class-wp-ms-sites-list-table.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-ms-themes-list-table.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-ms-users-list-table.php Coding Standards: Use strict type check for in_array() and array_search(). 2020-04-09 15:43:10 +00:00
class-wp-plugin-install-list-table.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-plugins-list-table.php Plugins: Add HTML ID attributes to plugin action links for easier targeting in browser-based testing. 2020-04-16 17:02:08 +00:00
class-wp-post-comments-list-table.php
class-wp-posts-list-table.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-privacy-data-export-requests-list-table.php Privacy: Convert buttons to links visually in Privacy Export/Erasure "Next Steps" column. 2020-02-10 21:15:05 +00:00
class-wp-privacy-data-removal-requests-list-table.php Privacy: Convert buttons to links visually in Privacy Export/Erasure "Next Steps" column. 2020-02-10 21:15:05 +00:00
class-wp-privacy-policy-content.php Privacy: Add an indication when the Copy action in Privacy Policy Guide is complete. 2020-04-12 14:26:11 +00:00
class-wp-privacy-requests-table.php Privacy: Rename wp_get_user_request_data() to wp_get_user_request() for clarity; deprecate the old function. 2020-02-10 19:57:05 +00:00
class-wp-screen.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-site-health-auto-updates.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
class-wp-site-health.php Site Health: Detect an active PHP session as a possible reason for HTTP requests timing out. 2020-04-16 08:20:09 +00:00
class-wp-site-icon.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-terms-list-table.php Coding Standards: Use strict type check for in_array() and array_search(). 2020-04-09 15:43:10 +00:00
class-wp-theme-install-list-table.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-themes-list-table.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-upgrader-skin.php Docs: In various @return tags, list the expected type first, instead of false. 2020-01-11 18:32:05 +00:00
class-wp-upgrader-skins.php
class-wp-upgrader.php Docs: Fix typo in WP_Upgrader::__construct() DocBlock. 2020-04-10 09:48:17 +00:00
class-wp-users-list-table.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
comment.php Docs: Add documentation for WP_Comments_List_Table::floated_admin_avatar(). 2020-03-25 14:43:11 +00:00
continents-cities.php
credits.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
dashboard.php Administration: Remove the smiley from overly happy "No activity yet!" message on Dashboard. 2020-04-17 07:57:10 +00:00
deprecated.php Privacy: Make the deprecated wp_get_user_request_data() function available on front end. 2020-04-08 18:33:08 +00:00
edit-tag-messages.php
export.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
file.php Code Modernization: Remove conditional use of stream_get_contents() PHP function. 2020-04-15 11:54:08 +00:00
image-edit.php Docs: Use more specific types in parameter descriptions in place of mixed. 2020-03-01 10:38:07 +00:00
image.php Docs: Various docblock corrections and improvements. 2020-03-16 18:40:07 +00:00
import.php Import: Remove "Blogroll" import option (for links in OPML format) from the list of popular importer plugins. 2020-02-10 02:12:06 +00:00
list-table.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
media.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
menu.php Docs: Improve comments in some wp-admin files per the documentation standards. 2020-01-18 00:54:04 +00:00
meta-boxes.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
misc.php Rewrite Rules: Use double quotes instead of backticks in .htaccess instructions about # BEGIN/END markers. 2020-04-11 15:09:11 +00:00
ms-admin-filters.php Docs: Improve comments in some wp-admin files per the documentation standards. 2020-01-29 00:35:08 +00:00
ms-deprecated.php
ms.php Coding Standards: Use strict type check for in_array() and array_search(). 2020-04-09 15:43:10 +00:00
nav-menu.php Coding Standards: Use strict type check for in_array() and array_search(). 2020-04-09 15:43:10 +00:00
network.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
noop.php
options.php
plugin-install.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
plugin.php Plugins: Simplify the logic of validate_plugin_requirements(), update documentation. 2020-04-13 15:31:05 +00:00
post.php Coding Standards: Use strict type check for in_array() and array_search(). 2020-04-09 15:43:10 +00:00
privacy-tools.php Privacy: Introduce filters for the headers of all the privacy-related e-mails: 2020-02-11 21:43:07 +00:00
revision.php Coding Standards: Use strict type check for in_array() and array_search(). 2020-04-09 15:43:10 +00:00
schema.php Comments: Use comment instead of an empty string for the comment_type DB field value in comments table. 2020-04-17 19:35:06 +00:00
screen.php Coding Standards: Use strict type check for in_array() and array_search(). 2020-04-09 15:43:10 +00:00
taxonomy.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
template.php Coding Standards: Use strict type check for in_array() and array_search(). 2020-04-09 15:43:10 +00:00
theme-install.php
theme.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
translation-install.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
update-core.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
update.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
upgrade.php Comments: Use comment instead of an empty string for the comment_type DB field value in comments table. 2020-04-17 19:35:06 +00:00
user.php Users: Add a user language preference option to the "Add New User" form. 2020-03-27 21:58:05 +00:00
widgets.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00