WordPress/wp-admin/includes
Helen Hou-Sandí bdfd1a954f Multisite: More specific caching for get_dirsize.
Instead of one cache entry for all upload folders for a site on multisite, this now caches for each folder and invalidates that cache based on context. In multisite, this should speed up `get_dirsize` calls since older directories that are much less likely to change will no longer have the size recalculated.

Props janthiel, A5hleyRich, batmoo.
Fixes #19879.

Built from https://develop.svn.wordpress.org/trunk@49212


git-svn-id: http://core.svn.wordpress.org/trunk@48974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-19 21:51:06 +00:00
..
admin-filters.php Administration: Remove multiple viewport meta tags from mobile pages. 2020-07-09 23:29:08 +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 Coding Standards: Replace alias PHP functions with the canonical names. 2020-10-18 17:27:06 +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 Docs: Correct the indentation for some array type docs. 2020-09-21 16:46: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 Docs: Remove extra spaces from @param tags. 2020-06-20 12:58:10 +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 Docs: Add missing @return tag to Language_Pack_Upgrader::check_package(). 2020-10-05 13:44:11 +00:00
class-pclzip.php Code Modernization: Use instanceof instead of a comparison with get_class(). 2020-10-18 17:33:07 +00:00
class-plugin-installer-skin.php Upgrade/Install: Clarify the descriptions for install_(plugin|theme)_overwrite_actions. 2020-07-28 18:16:07 +00:00
class-plugin-upgrader-skin.php Docs: Fix the types for some properties and parameters that use the generic object type. 2020-10-10 19:14:04 +00:00
class-plugin-upgrader.php Docs: Add missing @return tag to Language_Pack_Upgrader::check_package(). 2020-10-05 13:44:11 +00:00
class-theme-installer-skin.php Themes: Normalize the installed theme path in Theme_Installer_Skin::do_overwrite() before comparing with the uploaded theme. 2020-08-31 17:11:04 +00:00
class-theme-upgrader-skin.php Docs: Fix the types for some properties and parameters that use the generic object type. 2020-10-10 19:14:04 +00:00
class-theme-upgrader.php Docs: Add missing @return tag to Language_Pack_Upgrader::check_package(). 2020-10-05 13:44:11 +00:00
class-walker-category-checklist.php Docs: Further corrections and promotions for docblocks relating to object types. 2020-10-18 20:53:08 +00:00
class-walker-nav-menu-checklist.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
class-walker-nav-menu-edit.php Menus: Check the correct variable in Walker_Nav_Menu_Edit::start_el() when menu item is a taxonomy term. 2020-06-17 19:47:14 +00:00
class-wp-ajax-upgrader-skin.php Docs: Add missing documentation for various upgrade/install class properties and methods. 2020-07-28 11:57:03 +00:00
class-wp-application-passwords-list-table.php Docs: Further corrections and promotions for docblocks relating to object types. 2020-10-18 20:53:08 +00:00
class-wp-automatic-updater.php Upgrade/Install: Check if plugin or theme update results are available before applying the notification filters. 2020-10-15 23:27:03 +00:00
class-wp-comments-list-table.php Coding Standards: Replace alias PHP functions with the canonical names. 2020-10-18 17:27:06 +00:00
class-wp-community-events.php Docs: Add a @deprecated note to WP_Community_Events::format_event_data_time(). 2020-10-19 13:22:07 +00:00
class-wp-debug-data.php Site Health: Add site environment type to the debug information. 2020-08-16 18:27:04 +00:00
class-wp-filesystem-base.php Docs: Correct references to WP_Filesystem_Base methods in various DocBlocks. 2020-08-21 00:43:05 +00:00
class-wp-filesystem-direct.php Coding Standards: Add some space around control structures in WP_Filesystem_* classes for consistency and better readability. 2020-06-19 10:36:12 +00:00
class-wp-filesystem-ftpext.php Filesystem API: Use correct variable when closing the file handle in WP_Filesystem_FTPext::get_contents(). 2020-08-15 20:56:02 +00:00
class-wp-filesystem-ftpsockets.php Coding Standards: Add some space around control structures in WP_Filesystem_* classes for consistency and better readability. 2020-06-19 10:36:12 +00:00
class-wp-filesystem-ssh2.php Docs: First pass at some inline docs fixes mostly made by PHPCBF. 2020-07-23 20:01:04 +00:00
class-wp-importer.php Docs: Improve the docs for the globals that are used in the actions and filters API. 2020-10-18 19:19:06 +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 Comments: Use the existing static variable instead of calling ::has_items() again in WP_Comments_List_Table::extra_tablenav(). 2020-08-04 15:58:06 +00:00
class-wp-list-table-compat.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-list-table.php Docs: Further corrections and promotions for docblocks relating to object types. 2020-10-18 20:53:08 +00:00
class-wp-media-list-table.php Coding Standards: Replace alias PHP functions with the canonical names. 2020-10-18 17:27:06 +00:00
class-wp-ms-sites-list-table.php Docs: Further corrections and promotions for docblocks relating to object types. 2020-10-18 20:53:08 +00:00
class-wp-ms-themes-list-table.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
class-wp-ms-users-list-table.php Docs: Fix and upgrade various object docblock notations. 2020-10-17 16:05:09 +00:00
class-wp-plugin-install-list-table.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-plugin-install-list-table.php. 2020-09-11 01:05:08 +00:00
class-wp-plugins-list-table.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-plugins-list-table.php. 2020-09-10 14:23:08 +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 Coding Standards: Replace alias PHP functions with the canonical names. 2020-10-18 17:27:06 +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: Avoid a PHP 7.4 notice in WP_Privacy_Policy_Content::text_change_check(). 2020-08-21 01:13:05 +00:00
class-wp-privacy-requests-table.php Administration: Allow WP_List_Table::get_bulk_items() to receive a nested array in order to output optgroups. 2020-10-18 16:22:10 +00:00
class-wp-screen.php Coding Standards: Use self when appropriate. 2020-10-18 17:18:07 +00:00
class-wp-site-health-auto-updates.php Site Health, REST API: Move async tests to REST API endpoints. 2020-10-15 02:00:08 +00:00
class-wp-site-health.php Coding Standards: Replace alias PHP functions with the canonical names. 2020-10-18 17:27:06 +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 Taxonomy: Allow for wp_count_terms( $args ) signature, making passing a taxonomy optional. 2020-08-21 22:32:06 +00:00
class-wp-theme-install-list-table.php I18N: Add context to some plugin and theme strings for consistency. 2020-07-20 23:14:05 +00:00
class-wp-themes-list-table.php I18N: Add context to some theme strings for consistency. 2020-07-21 16:33:05 +00:00
class-wp-upgrader-skin.php Docs: Fix the types for some properties and parameters that use the generic object type. 2020-10-10 19:14:04 +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 Docs: Correct references to WP_Filesystem_Base methods in various DocBlocks. 2020-08-21 00:43:05 +00:00
class-wp-users-list-table.php Administration: Allow WP_List_Table::get_bulk_items() to receive a nested array in order to output optgroups. 2020-10-18 16:22:10 +00:00
comment.php Docs: Use more appropriate variable names in the inline docs for action and filter parameters. 2020-07-23 19:06:03 +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 Administration: Allow wp_credits() to accept $version and $locale parameters. 2020-08-03 12:53:08 +00:00
dashboard.php Community Events: Display dates and times in the user's time zone. 2020-10-14 18:21:06 +00:00
deprecated.php Docs: Further corrections and promotions for docblocks relating to object types. 2020-10-18 20:53: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: Replace alias PHP functions with the canonical names. 2020-10-18 17:27:06 +00:00
file.php Multisite: More specific caching for get_dirsize. 2020-10-19 21:51:06 +00:00
image-edit.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
image.php Media: Standardise the description for image size parameters. 2020-09-20 16:23: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 REST API: Introduce Application Passwords for API authentication. 2020-10-08 22:14:06 +00:00
media.php Coding Standards: Fix WPCS issues in [49207]. 2020-10-19 20:45:06 +00:00
menu.php Coding Standards: Use strict comparison for count() calls. 2020-05-23 11:38:08 +00:00
meta-boxes.php Docs: Fix and upgrade various object docblock notations. 2020-10-17 16:05:09 +00:00
misc.php Coding Standards: Replace alias PHP functions with the canonical names. 2020-10-18 17:27:06 +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 Docs: Miscellaneous docblock corrections. 2020-07-18 22:11:02 +00:00
nav-menu.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
network.php I18N: Restore the "Error:" prefix for error messages. 2020-06-21 14:00: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 Docs: Miscellaneous docblock fixes. 2020-10-17 14:54:05 +00:00
plugin.php Administration: Restore alternative admin menu position for menu items with the same position value as an existing menu item. 2020-10-13 19:59:08 +00:00
post.php REST API, Posts: Add a hook to fire once a post, its terms and meta update. 2020-10-16 03:34:08 +00:00
privacy-tools.php Privacy: Improve clarity of privacy error strings. 2020-10-04 03:23:09 +00:00
revision.php Coding Standards: Replace alias PHP functions with the canonical names. 2020-10-18 17:27:06 +00:00
schema.php Docs: Update the URL for PHP date formats table in translator comments. 2020-09-18 10:37:08 +00:00
screen.php Docs: Various formatting improvements to inline docblocks. 2020-07-23 00:52:05 +00:00
taxonomy.php Coding Standards: Replace alias PHP functions with the canonical names. 2020-10-18 17:27:06 +00:00
template.php Media: Indicate if media is header video in media library. 2020-10-19 18:32:07 +00:00
theme-install.php Upgrade/install: Fix/clarify the "Upload in a zip format" string. 2020-07-19 17:11:02 +00:00
theme.php Themes: Remove the ability to delete themes from the single site Appearance screen on Multisite installations. 2020-09-20 12:03:05 +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 I18N: Further adjust some update/install strings for consistency. 2020-07-23 21:08:01 +00:00
update.php General: Replace older-style PHP type conversion functions with type casts. 2020-10-08 21:15:13 +00:00
upgrade.php Coding Standards: Replace alias PHP functions with the canonical names. 2020-10-18 17:27:06 +00:00
user.php Docs: Further corrections and promotions for docblocks relating to object types. 2020-10-18 20:53:08 +00:00
widgets.php Accessibility: Widgets: Add a "Cancel" link when editing a widget in accessibility mode. 2020-10-09 15:53:08 +00:00