WordPress/wp-admin/includes
desrosj 5a30da57c6 PHP 7.3 Compatibility: Fix compact related notices.
In PHP 7.3, the `compact()` function has been changed to issue an `E_NOTICE` level error if a passed string refers to an unset variable. In previous versions of PHP, this notice was silently skipped. This fixes a few more instances of unset variables in the WordPress admin.

The full RFC can be viewed here: https://wiki.php.net/rfc/compact.

See #44416.

Merges [44185] into trunk.

Fixes #45483.
Built from https://develop.svn.wordpress.org/trunk@44297


git-svn-id: http://core.svn.wordpress.org/trunk@44127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-19 03:17:37 +00:00
..
admin-filters.php Block Editor: Show privacy help notice on Privacy Policy page. 2018-12-18 16:14:49 +00:00
admin.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ajax-actions.php Editor: Remove unwanted fields before saving posts. 2018-12-18 21:32:48 +00:00
bookmark.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-automatic-upgrader-skin.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-bulk-plugin-upgrader-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-bulk-theme-upgrader-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-bulk-upgrader-skin.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
class-core-upgrader.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-file-upload-upgrader.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-ftp-pure.php FTP: ensure that there is only one class named ftp, which is what is expected in the loading of this arcane library. This ensures that an autoload generator, something along the lines of Composer, won't hiccup when it gets to these files. 2016-08-26 18:47:29 +00:00
class-ftp-sockets.php FTP: ensure that there is only one class named ftp, which is what is expected in the loading of this arcane library. This ensures that an autoload generator, something along the lines of Composer, won't hiccup when it gets to these files. 2016-08-26 18:47:29 +00:00
class-ftp.php FTP/PemFTP Library: Fix some PHP notices. 2018-12-15 11:00:40 +00:00
class-language-pack-upgrader-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-language-pack-upgrader.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-pclzip.php Filesystem API: Ensure memory limit calculations by PclZip are using integers. 2016-07-19 11:55:30 +00:00
class-plugin-installer-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-plugin-upgrader-skin.php Docs: Document many more parameters and properties using typed array notation. 2018-03-22 20:27:32 +00:00
class-plugin-upgrader.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-theme-installer-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-theme-upgrader-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-theme-upgrader.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-walker-category-checklist.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-walker-nav-menu-checklist.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-walker-nav-menu-edit.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-wp-ajax-upgrader-skin.php General: Introduce WP_Error::has_errors() method and use it where appropriate. 2018-02-27 02:31:31 +00:00
class-wp-automatic-updater.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-wp-comments-list-table.php List Table: Fix formatting issue introduced in r43671. 2018-10-03 21:12:24 +00:00
class-wp-community-events.php Docs: Update @since versions in Community Events class added in [42726]. 2018-06-28 02:34:04 +00:00
class-wp-filesystem-base.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-direct.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-ftpext.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-ftpsockets.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-ssh2.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-importer.php Import: Avoid counting an uncountable type when reading arguments passed to a script. 2018-03-02 17:17:31 +00:00
class-wp-internal-pointers.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-links-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-list-table-compat.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-media-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-ms-sites-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-ms-themes-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-ms-users-list-table.php Docs: Document many more parameters and properties using typed array notation. 2018-03-22 20:27:32 +00:00
class-wp-plugin-install-list-table.php Help/About: WordPress 5.0 About Page. 2018-12-17 16:36:59 +00:00
class-wp-plugins-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +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 Posts: Remove the slug from Quick Edit for posts that are not is_post_type_viewable(). 2018-12-17 03:01:56 +00:00
class-wp-screen.php Block Editor: Add an is_block_editor() method to WP_Screen. 2018-12-14 01:08:38 +00:00
class-wp-site-icon.php Docs: Document many more parameters and properties using typed array notation. 2018-03-22 20:27:32 +00:00
class-wp-terms-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-theme-install-list-table.php Bundled Themes: Make twentynineteen the default theme. 2018-12-14 02:49:38 +00:00
class-wp-themes-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-upgrader-skin.php General: Introduce WP_Error::has_errors() method and use it where appropriate. 2018-02-27 02:31:31 +00:00
class-wp-upgrader-skins.php Load: Re-add class-wp-upgrader-skins.php. 2016-12-03 03:40:41 +00:00
class-wp-upgrader.php Docs: Standardise and correct documentation relating to parameters which accept plugin names. 2018-03-05 21:50:31 +00:00
class-wp-users-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
comment.php Code is Poetry. 2017-11-30 23:11:00 +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 is Poetry. 2017-11-30 23:11:00 +00:00
dashboard.php Block Editor: Fix meta boxes not showing. 2018-12-16 01:19:54 +00:00
deprecated.php Taxonomy: restore TagSearch unit tests and correct deprecated version string. 2018-02-25 16:28:30 +00:00
edit-tag-messages.php Code is Poetry. 2017-11-30 23:11:00 +00:00
export.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
file.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
image-edit.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
image.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
import.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
list-table.php Docs: Update and correct various inline documentation. 2018-05-07 17:20:22 +00:00
media.php Docs: Correct and improve some docblocks. 2018-09-14 13:35:25 +00:00
menu.php Code is Poetry. 2017-11-30 23:11:00 +00:00
meta-boxes.php Editor: Add custom fields meta box support in the block editor. 2018-12-17 03:52:51 +00:00
misc.php Block Editor: Show privacy help notice on Privacy Policy page. 2018-12-18 16:14:49 +00:00
ms-admin-filters.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-deprecated.php Docs: Standardize and add missing deprecation notations in DocBlocks for the following functions: 2017-06-22 17:48:45 +00:00
ms.php Multisite: Introduce a site initialization and uninitialization API. 2018-09-24 15:09:26 +00:00
nav-menu.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
network.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
noop.php Code is Poetry. 2017-11-30 23:11:00 +00:00
options.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
plugin-install.php PHP 7.3 Compatibility: Fix compact related notices. 2018-12-19 03:17:37 +00:00
plugin.php Privacy: Make sure wp_add_privacy_policy_content() does not cause a fatal error by unintentionally flushing rewrite rules outside of the admin context. 2018-06-28 02:36:09 +00:00
post.php PHP 7.3 Compatibility: Fix compact related notices. 2018-12-19 03:17:37 +00:00
revision.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
schema.php Upgrade/Install: Fix coding standard errors after [43629]. 2018-09-05 12:50:24 +00:00
screen.php Code is Poetry. 2017-11-30 23:11:00 +00:00
taxonomy.php Docs: Correct and improve various inline documentation. 2018-03-25 19:35:29 +00:00
template.php Block Editor: Add a placeholder for meta boxes that don't work in the block editor. 2018-12-17 21:52:53 +00:00
theme-install.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
theme.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
translation-install.php Code is Poetry. 2017-11-30 23:11:00 +00:00
update-core.php Bundled Themes: Make twentynineteen the default theme. 2018-12-14 02:49:38 +00:00
update.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
upgrade.php Help/About: WordPress 5.0 About Page. 2018-12-17 16:36:59 +00:00
user.php Docs: Replace incorrect usage of "who's" with "whose". 2018-10-02 16:23:25 +00:00
widgets.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00