WordPress/wp-admin/includes
Scott Taylor 5b5b756edf In `get_terms_to_edit()`, call `get_object_term_cache()` before priming cache with `wp_get_object_terms()`.
In `get_inline_data()`, do the same.

On list table screens with taxonomies in the admin, this dramatically reduces the number of database queries (3x less). Even more so with a persistent object cache (5x less).

Props johnbillion, jeffstieler, wonderboymusic.
Fixes #18968.


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


git-svn-id: http://core.svn.wordpress.org/trunk@28387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-23 19:29:14 +00:00
..
admin.php Load the new admin and network admin mo files, if present. see #19852 2012-01-27 22:19:56 +00:00
ajax-actions.php These functions import `$wpdb` but do not use it. 2014-05-22 17:37:14 +00:00
bookmark.php Fix wp_insert_link(), broken in [28406]/[28408]. 2014-05-18 09:56:15 +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 "LGPL License" is redundant. 2013-02-15 16:26:46 +00:00
class-pclzip.php Associate subdirector of whitespace trims trailing whites with pinking shears. 2009-10-15 20:26:21 +00:00
class-wp-comments-list-table.php Fix some `hackificator` odds and ends in `wp-admin`: 2014-05-19 05:04:16 +00:00
class-wp-filesystem-base.php In `WP_Filesystem_Base`, the constructor is a noop, so it shouldn't even be declared. Setting it implies that `parent::__construct()` should be called by its subclasses. 2014-05-19 16:46:14 +00:00
class-wp-filesystem-direct.php Add access modifier (`public`) to methods in `WP_Filesystem_Direct`. 2014-05-19 00:09:14 +00:00
class-wp-filesystem-ftpext.php Add access modifier (`public`) to members and methods in `WP_Filesystem_FTPext`. 2014-05-19 00:12:15 +00:00
class-wp-filesystem-ftpsockets.php Fix some `hackificator` odds and ends in `wp-admin`: 2014-05-19 05:04:16 +00:00
class-wp-filesystem-ssh2.php Add access modifier (`public`) to members and methods in `WP_Filesystem_SSH2`. 2014-05-19 00:18:14 +00:00
class-wp-importer.php Add access modifier (`public`) to methods in `WP_Importer`. 2014-05-19 00:19:15 +00:00
class-wp-links-list-table.php Add access modifiers to methods and members of list table classes: 2014-05-19 01:17:15 +00:00
class-wp-list-table.php Classes that have `__set()` also need `__isset()` and `__unset()`. 2014-05-19 06:52:14 +00:00
class-wp-media-list-table.php Fix parsing in `wp_match_mime_types()` to allow some mime-types with `+` in them to appear in the list of filter links shown above the list table on `upload.php`. 2014-05-22 21:36:15 +00:00
class-wp-ms-sites-list-table.php Add access modifiers to methods and members of list table classes: 2014-05-19 01:17:15 +00:00
class-wp-ms-themes-list-table.php Add access modifiers to methods and members of list table classes: 2014-05-19 01:17:15 +00:00
class-wp-ms-users-list-table.php Add access modifiers to methods and members of list table classes: 2014-05-19 01:17:15 +00:00
class-wp-plugin-install-list-table.php Add access modifiers to methods and members of list table classes: 2014-05-19 01:17:15 +00:00
class-wp-plugins-list-table.php Add access modifiers to methods and members of list table classes: 2014-05-19 01:17:15 +00:00
class-wp-posts-list-table.php Add access modifiers to methods and members of list table classes: 2014-05-19 01:17:15 +00:00
class-wp-terms-list-table.php Add access modifiers to methods and members of list table classes: 2014-05-19 01:17:15 +00:00
class-wp-theme-install-list-table.php `hackificator` doesn't like mixed quote styles in some generated HTML. The switch from single to double allows these files to be parsed. 2014-05-19 01:59:15 +00:00
class-wp-themes-list-table.php Add access modifiers to methods and members of list table classes: 2014-05-19 01:17:15 +00:00
class-wp-upgrader-skins.php Fix some `hackificator` odds and ends in `wp-admin`: 2014-05-19 05:04:16 +00:00
class-wp-upgrader.php Fix inconsistent header underlining and spacing in background update emails. 2014-05-22 09:41:15 +00:00
class-wp-users-list-table.php `hackificator` doesn't like mixed quote styles in some generated HTML. The switch from single to double allows these files to be parsed. 2014-05-19 01:59:15 +00:00
comment.php Inline documentation for hooks in wp-admin/includes/comment.php. 2013-09-14 01:01:08 +00:00
continents-cities.php Give continents-cities their own textdomain. Props nbachiyski, Denis-de-Bernardy . fixes #9794 2009-05-14 20:05:25 +00:00
dashboard.php In `wp_dashboard_recent_posts()`, `$i` is set and never used. 2014-05-22 18:56:15 +00:00
deprecated.php Use correct function name. 2014-05-22 07:59:16 +00:00
export.php Fix some `hackificator` odds and ends in `wp-admin`: 2014-05-19 05:04:16 +00:00
file.php Eliminate use of `extract()` in `request_filesystem_credentials()`. 2014-05-16 18:26:15 +00:00
image-edit.php Avoid a notice in `wp_save_image()` by checking `$meta['sizes']['thumbnail']` for `! empty()` before setting a variable to it. 2014-05-11 03:42:14 +00:00
image.php In `wp_read_image_metadata()`, the values from `exif_read_data()` should only override values from `iptcparse()` that are empty. 2014-05-11 05:54:15 +00:00
import.php `hackificator` complains if you call `include 'file.php'` without the parens, needs to be `include( 'file.php' )` 2014-05-18 20:52:15 +00:00
list-table.php Upgrade `_WP_List_Table_Compat` to PHP5-style constructor. 2014-05-19 17:20:17 +00:00
media.php `hackificator` doesn't like mixed quote styles in some generated HTML. The switch from single to double allows these files to be parsed. 2014-05-19 01:59:15 +00:00
menu.php Fix some `hackificator` odds and ends in `wp-admin`: 2014-05-19 05:04:16 +00:00
meta-boxes.php These functions import `$wpdb` but do not use it. 2014-05-22 17:37:14 +00:00
misc.php Minor phpDoc fixes for the `got_rewrite`, `got_url_rewrite`, and `documentation_ignore_functions` hooks. 2014-05-08 11:13:14 +00:00
ms-deprecated.php Remove ms-files.php rewriting from WordPress multisite. fixes #19235. 2012-09-11 22:22:20 +00:00
ms.php In `update_option_new_admin_email()`, `$email` is set and never used. 2014-05-06 16:48:14 +00:00
nav-menu.php Fix some `hackificator` odds and ends in `wp-admin`: 2014-05-19 05:04:16 +00:00
plugin-install.php In `install_plugin_information()`, `$title` is set in a `foreach` loop and never used. This appears to be due to copy-pasting a previous `foreach` loop and not discarding these bits. 2014-05-06 17:00:18 +00:00
plugin.php `hackificator` complains if you call `include 'file.php'` without the parens, needs to be `include( 'file.php' )` 2014-05-18 20:52:15 +00:00
post.php These functions import `$wpdb` but do not use it. 2014-05-22 17:37:14 +00:00
revision.php Fix some `hackificator` odds and ends in `wp-admin`: 2014-05-19 05:04:16 +00:00
schema.php Move 'home' option to the top of populate_options(). 2014-05-05 21:57:14 +00:00
screen.php Fix some `hackificator` odds and ends in `wp-admin`: 2014-05-19 05:04:16 +00:00
taxonomy.php In `get_terms_to_edit()`, call `get_object_term_cache()` before priming cache with `wp_get_object_terms()`. 2014-05-23 19:29:14 +00:00
template.php In `get_terms_to_edit()`, call `get_object_term_cache()` before priming cache with `wp_get_object_terms()`. 2014-05-23 19:29:14 +00:00
theme-install.php Bring the theme browsing experience from 3.8 to the theme installer. First pass. 2014-03-11 07:47:15 +00:00
theme.php Use a time constant in get_theme_feature_list() and File_Upload_Upgrader. 2014-05-05 08:26:24 +00:00
update-core.php Update $_old_files for 3.9. see #27775. 2014-04-12 18:27:17 +00:00
update.php Fix some `hackificator` odds and ends in `wp-admin`: 2014-05-19 05:04:16 +00:00
upgrade.php In `wp-admin/includes/upgrade.php`, remove dead code: 2014-05-06 17:27:15 +00:00
user.php Fix some `hackificator` odds and ends in `wp-admin`: 2014-05-19 05:04:16 +00:00
widgets.php Fix some `hackificator` odds and ends in `wp-admin`: 2014-05-19 05:04:16 +00:00