WordPress/wp-admin/includes
Jeremy Felt a5c688e817 Use site objects rather than get_blog_status() in MS list tables.
Removes several repetitive calls to `get_blog_status()` that are not needed, as the data is already available as part of each site's object.

Fixes #32512.

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


git-svn-id: http://core.svn.wordpress.org/trunk@32600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-27 23:14:29 +00:00
..
admin.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
ajax-actions.php Fix inline documentation syntax in `wp_xmlrpc_server`. 2015-05-25 06:25:25 +00:00
bookmark.php Switch to a `403` response code in places where it is more appropriate than a `500` due to permissions errors. 2014-11-16 06:16:22 +00:00
class-ftp-pure.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
class-ftp-sockets.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
class-ftp.php PHP 5.2 compatibility for [30310], __DIR__ wasn't added until PHP 5.3. Props TobiasBg. Fixes #29628 2014-11-12 10:44:23 +00:00
class-pclzip.php
class-wp-comments-list-table.php `get_comments()` can return `int`, so a few places need to check if the return value is traversable before passing what is assumed to be an `array`. 2015-05-25 17:59:25 +00:00
class-wp-filesystem-base.php Don't call the size function `count()` as part of a test condition in loops. Compute the size beforehand, and not on each iteration. 2015-02-26 05:48:24 +00:00
class-wp-filesystem-direct.php Improve some `wp-admin/includes/class-wp-filesystem-*.php` docs for `@param`. 2014-12-20 20:40:23 +00:00
class-wp-filesystem-ftpext.php WP_Filesystem: Change `WP_Filesystem_FTPext::exists()` and `WP_Filesystem_ftpsockets::exists()` to return true for empty directories. 2015-03-18 19:22:27 +00:00
class-wp-filesystem-ftpsockets.php WP_Filesystem: Change `WP_Filesystem_FTPext::exists()` and `WP_Filesystem_ftpsockets::exists()` to return true for empty directories. 2015-03-18 19:22:27 +00:00
class-wp-filesystem-ssh2.php SSH2 Upgrade transport: Trim the trailing newline character from the ouput of `pwd` to avoid a PHP Segfault. 2015-03-09 04:32:27 +00:00
class-wp-importer.php Fix some internal types that are passed to functions to avoid changing the acceptable types passed as arguments to those functions: 2015-01-16 22:51:21 +00:00
class-wp-links-list-table.php List tables: Use CSS :nth-child() selectors for zebra striping. 2015-01-14 22:14:22 +00:00
class-wp-list-table.php List Table: Add placeholder to a plural string. 2015-05-09 19:22:24 +00:00
class-wp-media-list-table.php In `WP_Media_List_Table::get_views()`, declare `$num_posts` explicitly before looping. 2015-05-19 20:50:27 +00:00
class-wp-ms-sites-list-table.php Use site objects rather than get_blog_status() in MS list tables. 2015-05-27 23:14:29 +00:00
class-wp-ms-themes-list-table.php In lieu of refactoring, add a `private` field to `WP_MS_Themes_List_Table`, `$has_items`. Ideally, this class would overload `->has_items()` and not set a `private` field. 2015-01-12 16:17:22 +00:00
class-wp-ms-users-list-table.php Use site objects rather than get_blog_status() in MS list tables. 2015-05-27 23:14:29 +00:00
class-wp-plugin-install-list-table.php Plugins Browser: Replace the download count with the number of Active installs of the plugin. 2015-04-02 23:49:27 +00:00
class-wp-plugins-list-table.php Fix a typo in [31872]. 2015-03-24 17:33:27 +00:00
class-wp-posts-list-table.php Replace `echo __()` with `_e()`. 2015-05-03 16:18:28 +00:00
class-wp-press-this.php Merge similar error strings. 2015-05-09 18:27:26 +00:00
class-wp-terms-list-table.php Accessibility: remove remaining instances of accesskey. 2015-02-04 03:46:24 +00:00
class-wp-theme-install-list-table.php Use `$this->` instead of `parent::` when calling `tablenav()` in `WP_Theme_Install_List_Table`. 2015-03-07 23:03:27 +00:00
class-wp-themes-list-table.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
class-wp-upgrader-skins.php Remove untranslatable period from a successful update message in `Bulk_Upgrader_Skin::add_strings()`. 2015-02-22 17:07:24 +00:00
class-wp-upgrader.php Introduce a string representing bulk plugin update success, ready for string freeze. Not used yet. 2015-04-03 00:18:27 +00:00
class-wp-users-list-table.php Clarify 4.2.0 changelog entry, add global description to the DocBlock for `WP_Users_List_Table->single_row()`. 2015-04-04 21:09:27 +00:00
comment.php Correct references of `@uses $wpdb` in core documentation to use `@global`. 2014-10-31 17:56:22 +00:00
continents-cities.php
dashboard.php `get_comments()` can return `int`, so a few places need to check if the return value is traversable before passing what is assumed to be an `array`. 2015-05-25 17:59:25 +00:00
deprecated.php Merge three similar strings. 2015-03-11 15:25:28 +00:00
export.php The keyword `elseif` should be used instead of `else if` so that all control keywords look like single words. 2015-01-08 07:05:25 +00:00
file.php Clarify accepted types for the `$args` and `$context` parameters in `WP_Filesystem()`. 2015-05-04 01:04:25 +00:00
image-edit.php Make a new function, `wp_delete_file()`. Use it. 2015-02-27 16:51:25 +00:00
image.php When calling `unset()`, it is unnecessary to immediately precede it with a call to `isset()`. 2015-05-22 05:47:25 +00:00
import.php In `wp_import_handle_upload()`: 2014-12-20 21:10:24 +00:00
list-table.php Fix mismatches in access modifiers for `WP_List_Table` + subclasses. 2014-07-13 22:09:16 +00:00
media.php When calling `unset()`, it is unnecessary to immediately precede it with a call to `isset()`. 2015-05-22 05:47:25 +00:00
menu.php Replace `array_shift()` with `reset()` where appropriate for performance. 2015-03-19 03:56:27 +00:00
meta-boxes.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
misc.php Update more instances of default admin blues and grays. 2015-04-05 21:20:27 +00:00
ms-deprecated.php Empty `return` statements are unnecessary at the end of functions. 2015-03-08 23:09:27 +00:00
ms.php Multisite: Add translator comments to default email messages with non-typical placeholders. 2015-05-06 09:12:25 +00:00
nav-menu.php When calling `unset()`, it is unnecessary to immediately precede it with a call to `isset()`. 2015-05-22 05:47:25 +00:00
plugin-install.php Enable users to initiate a shiny update from plugin detail modal 2015-04-07 03:09:26 +00:00
plugin.php Allow plugins to activate other plugins within their Activation hook. Fixes #32368 2015-05-14 06:58:27 +00:00
post.php Clarify the DocBlock summary and parameter description for `wp_edit_attachments_query_vars()`. 2015-04-04 21:52:25 +00:00
revision.php Remove ambiguity in the time display format in core, switches to using 24hr notation where am/pm isn't specified. 2015-03-23 02:14:27 +00:00
schema.php Multisite: Add translator comments to default email messages with non-typical placeholders. 2015-05-06 09:12:25 +00:00
screen.php Screen Options: Improve items per page option label. 2015-03-10 15:32:27 +00:00
taxonomy.php Add missing descriptions to the DocBlocks for various functions in wp-admin/includes/taxonomy.php. 2015-01-29 11:34:22 +00:00
template.php Ensure post titles are correctly escaped on the Dashboard. 2015-04-20 07:39:25 +00:00
theme-install.php In HTML5, the `action` attribute is no longer required. Remove this attribute when empty. 2015-01-16 04:16:24 +00:00
theme.php Don't return empty themes in `wp_prepare_themes_for_js()`. 2015-04-22 16:11:25 +00:00
translation-install.php Avoid a PHP notice in `wp_install_language_form()` and `wp_dropdown_languages()` if the language doesn't have a ISO 639-1 code. 2015-02-13 11:23:26 +00:00
update-core.php When upgrading WordPress remove genericons example.html files 2015-05-06 18:37:25 +00:00
update.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
upgrade.php Upgrades: If a table has already been converted to `utf8mb4`, there's no need to try and convert it again. 2015-05-08 12:22:25 +00:00
user.php Correct grammar when referring to "a user" vs "an user" in several places. 2015-04-05 14:44:27 +00:00
widgets.php In HTML5, the `action` attribute is no longer required. Remove this attribute when empty. 2015-01-16 04:16:24 +00:00