WordPress/wp-admin/includes
desrosj 784908ae5f Coding Standards: PHP short ternary operator syntax is not allowed.
WPCS 2.2.0 added a sniff for detecting short ternary operator syntax, which is not allowed per the Core handbook.

Follow up of [47927].
Fixes #50258.
Built from https://develop.svn.wordpress.org/trunk@47929


git-svn-id: http://core.svn.wordpress.org/trunk@47702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-08 21:27:10 +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 Docs: Add missing @global reference for the $post_id global in wp_admin_bar_edit_menu(). 2020-06-03 21:27:09 +00:00
bookmark.php Posts, Post Types: Display a more specific error message when an attachment could not be inserted into the database. 2020-06-07 09:24:11 +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 I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-bulk-theme-upgrader-skin.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-bulk-upgrader-skin.php Code Modernisation: Introduce the spread operator in wp-admin/includes/class-*-upgrader-skin.php. 2019-09-15 10:42:54 +00:00
class-core-upgrader.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +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 comparison where static strings are involved. 2020-05-16 18:42:12 +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 Docs: Update URLs in some @link tags and switch them to HTTPS. 2019-11-01 14:57:02 +00:00
class-ftp-sockets.php Docs: Update URLs in some @link tags and switch them to HTTPS. 2019-11-01 14:57:02 +00:00
class-ftp.php General: Continuing to work towards a passing PHP Compatibility scan. 2020-06-03 17:40:12 +00:00
class-language-pack-upgrader-skin.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-language-pack-upgrader.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +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 strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
class-plugin-upgrader-skin.php Upgrade/Install: Escape the % in width="100%" in a printf() call in Plugin_Upgrader_Skin::after(). 2019-09-06 06:26:56 +00:00
class-plugin-upgrader.php Coding Standards: Fix WPCS issues in plugin and theme upgrader classes. 2020-05-17 09:39:11 +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 Coding Standards: Fix WPCS issues in plugin and theme upgrader classes. 2020-05-17 09:39:11 +00:00
class-theme-upgrader.php Coding Standards: Fix WPCS issues in plugin and theme upgrader classes. 2020-05-17 09:39:11 +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 Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
class-walker-nav-menu-edit.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
class-wp-ajax-upgrader-skin.php Docs: Add a @since note about new parameters with the spread operator added to function signatures. 2019-10-09 04:28:02 +00:00
class-wp-automatic-updater.php Coding Standards: Change auto-update filters to be more consistent. 2020-05-26 18:03:08 +00:00
class-wp-comments-list-table.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +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 Administration and Site Health: Make information on Search engine visibility more prominent. 2020-05-27 14:33:11 +00:00
class-wp-filesystem-base.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
class-wp-filesystem-direct.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
class-wp-filesystem-ftpext.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
class-wp-filesystem-ftpsockets.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
class-wp-filesystem-ssh2.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
class-wp-importer.php Coding Standards: Fix instances of Generic.WhiteSpace.ArbitraryParenthesesSpacing.FoundEmpty. 2020-05-26 09:37:10 +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 Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-list-table.php Media: remove any attachment-filter query param when switching views. 2020-06-05 21:13:10 +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 Accessibility: Add the aria-hidden attribute to the auto-update related icons. 2020-06-04 15:47:09 +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 Accessibility: Add the aria-hidden attribute to the auto-update related icons. 2020-06-04 15:47:09 +00:00
class-wp-post-comments-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-posts-list-table.php Administration: Unify the date structure in list view and excerpt view. 2020-06-01 19:15:08 +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: Fix WPCS issues in wp-admin/includes/class-wp-screen.php. 2020-05-15 18:13:09 +00:00
class-wp-site-health-auto-updates.php Coding Standards: Fix WPCS issues in wp-admin/includes/class-wp-site-health-auto-updates.php. 2020-05-22 17:56:08 +00:00
class-wp-site-health.php Site Health: Use WP_Theme::parent() in the inactive themes test as a more reliable check that the parent theme exists. 2020-05-18 04:38:10 +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 comparison where static strings are involved. 2020-05-16 18:42:12 +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 Docs: Add missing @deprecated tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
class-wp-upgrader.php Coding Standards: Use strict comparison for count() calls. 2020-05-23 11:38:08 +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 Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
continents-cities.php I18N: Update list of continents and cities for the timezone selection. 2018-07-18 11:21:25 +00:00
credits.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
dashboard.php Administration and Site Health: Make information on Search engine visibility more prominent. 2020-05-27 14:33:11 +00:00
deprecated.php Coding Standards: Use strict comparison for count() calls. 2020-05-23 11:38:08 +00:00
edit-tag-messages.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-admin. 2019-07-01 12:52:01 +00:00
export.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
file.php File Editor: Don't verify SSL certificate when doing loopback requests for checking for fatal errors. 2020-06-03 11:43:15 +00:00
image-edit.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +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 Docs: Update the DocBlock for the wp_media_attach_action hook per the documentation standards. 2020-06-05 08:30:10 +00:00
menu.php Coding Standards: Use strict comparison for count() calls. 2020-05-23 11:38:08 +00:00
meta-boxes.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
misc.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +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 I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
ms.php Coding Standards: Use strict comparison for count() calls. 2020-05-23 11:38:08 +00:00
nav-menu.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
network.php Networks and Sites: Link to Nginx documentation on Network Setup screen when Nginx is in use. 2020-04-29 14:43:09 +00:00
noop.php Code Modernization: Remove conditional use of PHP realpath(). 2019-09-20 20:46:56 +00:00
options.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
plugin-install.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
plugin.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
post.php Add fields to WP_Block_Type 2020-06-01 12:27:08 +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 Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
screen.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
taxonomy.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
template.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
theme-install.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-admin. 2019-07-01 12:52:01 +00:00
theme.php Security: Add user interface to auto-update themes and plugins. 2020-05-20 18:49:09 +00:00
translation-install.php Coding Standards: PHP short ternary operator syntax is not allowed. 2020-06-08 21:27:10 +00:00
update-core.php Coding Standards: Fix instances of Generic.WhiteSpace.ArbitraryParenthesesSpacing.FoundEmpty. 2020-05-26 09:37:10 +00:00
update.php Coding Standards: Change auto-update filters to be more consistent. 2020-05-26 18:03:08 +00:00
upgrade.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
user.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
widgets.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00