WordPress/wp-includes
Scott Taylor 6a5d2f8fb0 Rather than adding a `taxonomy` arg to `get_category()`, convert all uses of `get_category()` in core to `get_term()`. By doing so, we negate the need to call `_make_cat_compat()` in a few places that are only looking for a single property.
Fixes #8722.


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


git-svn-id: http://core.svn.wordpress.org/trunk@25578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-02 19:59:10 +00:00
..
ID3 ID3 1.9.7. 2013-07-13 00:37:36 +00:00
SimplePie SimplePie: Fix use of DOMElement as array. 2013-09-11 04:02:10 +00:00
Text Declare Text_Diff::trimNewlines() as static. Upstream is not back compat. props aaroncampbell. fixes #24372. 2013-05-25 22:10:53 +00:00
certificates Move a certificate higher in the file (end to start) so that PHP 5.2.x (OpenSSL 0.9.8j and earlier) can parse the file correctly. See #25007 2013-09-23 13:59:11 +00:00
css New develop.svn.wordpress.org repository based on the old core.svn repository. 2013-08-07 05:49:02 +00:00
images
js Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
pomo Avoid 'Only variables should be passed by reference' warning. fixes #23232. 2013-01-31 01:01:19 +00:00
theme-compat
admin-bar.php Network Admin toolbar menu: Add Plugins and Themes, remove Visit Network. 2013-08-26 15:22:11 +00:00
atomlib.php Use correct variable in atomlib library, inside an error message. props rlerdorf, see #24110. 2013-05-07 16:37:21 +00:00
author-template.php Inline documentation for hooks in wp-includes/author-template.php. 2013-09-13 19:25:10 +00:00
bookmark-template.php Inline documentation for hooks in wp-includes/bookmark-template.php. 2013-09-20 23:09:09 +00:00
bookmark.php Fix potential SQLi through improper use of API functions. 2013-07-29 18:16:47 +00:00
cache.php Always pass integer expirations to cache backends. 2013-09-16 17:43:09 +00:00
canonical.php Inline documentation for hooks in wp-includes/canonical.php. 2013-09-20 23:31:10 +00:00
capabilities.php Remove inaccurate @return value from remove_role(). props tivnet. fixes #25450. 2013-10-01 02:53:11 +00:00
category-template.php Rather than adding a `taxonomy` arg to `get_category()`, convert all uses of `get_category()` in core to `get_term()`. By doing so, we negate the need to call `_make_cat_compat()` in a few places that are only looking for a single property. 2013-10-02 19:59:10 +00:00
category.php Rather than adding a `taxonomy` arg to `get_category()`, convert all uses of `get_category()` in core to `get_term()`. By doing so, we negate the need to call `_make_cat_compat()` in a few places that are only looking for a single property. 2013-10-02 19:59:10 +00:00
class-IXR.php
class-feed.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
class-http.php Use sentence case. 2013-10-02 17:40:10 +00:00
class-json.php Patch Services_JSON to use the proper function name and avoid a fatal error. see #24210. 2013-07-08 16:55:34 +00:00
class-oembed.php Use wp_safe_remote_request() and friends instead of reject_unsafe_urls = true. 2013-07-31 06:52:13 +00:00
class-phpass.php Add strict check to phpass's CheckPassword() method to avoid issues when the method is improperly called. 2013-06-21 01:21:12 +00:00
class-phpmailer.php Update to PHPMailer 5.2.4. props bpetty. fixes #21074. 2013-02-28 18:33:13 +00:00
class-pop3.php
class-simplepie.php
class-smtp.php Update to PHPMailer 5.2.4. props bpetty. fixes #21074. 2013-02-28 18:33:13 +00:00
class-snoopy.php Use correct variable in the deprecated and abandoned Snoopy HTTP client. see #24210. 2013-07-08 17:17:46 +00:00
class-wp-admin-bar.php Improve inline comment for removing default padding styles for the Toolbar. 2013-09-22 14:34:11 +00:00
class-wp-ajax-response.php
class-wp-customize-control.php Remove /extend/ from URLs to wordpress.org/plugins, /themes, and /mobile, as those are all now top-level. see #24389. 2013-05-22 21:01:57 +00:00
class-wp-customize-manager.php Avoid empty header color after enabling header text via Customizer. props obenland, fixes #23761. 2013-07-12 20:41:46 +00:00
class-wp-customize-section.php Actually display customizer section descriptions in a meaningful way. props obenland, helen. fixes #24392. 2013-08-23 16:18:10 +00:00
class-wp-customize-setting.php Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes(). 2013-03-03 16:30:38 +00:00
class-wp-editor.php Document 'wp_link_query_args' and 'wp_link_query' filters. props DrewAPicture. fixes #18042. 2013-09-07 19:47:10 +00:00
class-wp-embed.php Use correct escaping function. props duck_. 2013-01-22 16:37:54 +00:00
class-wp-error.php Correct inline docs for is_wp_error(). props johnbillion. fixes #24637. 2013-06-24 18:23:45 +00:00
class-wp-http-ixr-client.php
class-wp-image-editor-gd.php Fix editing images with GD when using streams. 2013-07-17 21:16:44 +00:00
class-wp-image-editor-imagick.php Fix non-square rotations when using the Imagick image editor. 2013-09-28 06:37:11 +00:00
class-wp-image-editor.php Pinking shears 2013-08-22 15:56:08 +00:00
class-wp-theme.php Revert [23394] until there is a consensus on target="_blank" (or not) for these external links. see #20839. 2013-07-08 13:04:07 +00:00
class-wp-walker.php Improve inline documentation for the `Walker` class. 2013-09-28 21:29:10 +00:00
class-wp-xmlrpc-server.php Introduce show_in_menu for register_taxonomy. 2013-08-26 22:35:10 +00:00
class-wp.php Make `url_to_postid()` work for custom post type URLs. Use `get_post_types()` and `get_taxonomies()` instead of directly accessing globals. Adds unit test. 2013-10-02 19:42:09 +00:00
class.wp-dependencies.php Inline documentation for WP_Dependencies and _WP_Dependency classes. 2013-09-20 19:54:10 +00:00
class.wp-scripts.php If the script_loader_src filter returns nothing, bail instead of printing <script src="">. 2013-09-16 22:12:09 +00:00
class.wp-styles.php Prevent WP_Styles::do_item() from adding its own style tags when concatenation is disabled. props stephenharris. fixes #24813. 2013-09-01 13:15:09 +00:00
comment-template.php Inline documentation for the Walker_Comment class in wp-includes/comment-template.php 2013-09-23 23:29:11 +00:00
comment.php Fix several esoteric errors related to AJAX unit tests for comments: 2013-09-14 18:36:09 +00:00
compat.php
cron.php Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes(). 2013-03-03 16:30:38 +00:00
date.php WP_Date_Query. 2013-08-27 16:39:09 +00:00
default-constants.php Make Twenty Thirteen the default theme. 2013-02-28 19:01:07 +00:00
default-filters.php Pass the taxonomy around to relevant nav menu actions to avoid arbitrarily deleting all items with `menu-item-type` of `taxonomy`. Adds unit test for `wp_get_associated_nav_menu_items()`. 2013-08-29 16:45:10 +00:00
default-widgets.php Use `wp_get_nav_menus()` instead of `get_terms('nav_menu')` in `WP_Nav_Menu_Widget` to preserve use of `wp_get_nav_menus' filter. 2013-09-10 23:30:10 +00:00
deprecated.php Mark _search_terms_tidy() as deprecated in 3.7. see #7394. 2013-09-28 08:25:09 +00:00
feed-atom-comments.php its <=> it's in documentation, along with a rogue the, The, and looses. props trepmal. fixes #22665. 2012-12-20 15:55:32 +00:00
feed-atom.php Inline documentation for hooks in wp-includes/feed-atom.php. 2013-09-20 22:50:10 +00:00
feed-rdf.php Inline documentation for hooks in wp-includes/feed-rdf.php. 2013-09-18 16:17:09 +00:00
feed-rss.php Inline documentation for hooks in wp-includes/feed-rss.php. 2013-09-20 22:10:10 +00:00
feed-rss2-comments.php Inline documentation of hooks for wp-includes/feed-rss2-comments.php. 2013-09-20 23:02:09 +00:00
feed-rss2.php Inline documentation for hooks in wp-includes/feed-rss2.php. 2013-09-20 22:27:09 +00:00
feed.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
formatting.php Correct phpdoc for translate_smiley(). props toscho. fixes #25440. 2013-09-29 10:08:10 +00:00
functions.php Order search results by relevance, rather than by date. 2013-09-27 17:34:09 +00:00
functions.wp-scripts.php Improve inline documentation for wp-includes/functions.wp-scripts.php. 2013-09-24 02:58:09 +00:00
functions.wp-styles.php Improve inline documentation for wp-includes/functions.wp-styles.php. 2013-09-24 02:24:09 +00:00
general-template.php Move checks for `post_type` being an array inline. See [25291], [25292], #18614. 2013-09-10 03:02:10 +00:00
http.php Inline documentation for hooks in http.php. 2013-09-08 22:04:09 +00:00
kses.php Allow the value attribute for list items processed by kses. 2013-09-16 20:49:10 +00:00
l10n.php Send back core translation information to the API. Update wp_get_installed_translations() to work with core translations. see #18200. 2013-09-30 19:47:12 +00:00
link-template.php Rather than adding a `taxonomy` arg to `get_category()`, convert all uses of `get_category()` in core to `get_term()`. By doing so, we negate the need to call `_make_cat_compat()` in a few places that are only looking for a single property. 2013-10-02 19:59:10 +00:00
load.php Inline documentation for hooks in wp-includes/load.php. 2013-09-16 18:30:10 +00:00
locale.php Remove ultimately unnecessary visibility keyword from a WP_Locale method because this file is included when we bail for PHP 4. props ocean90. fixes #24915. for trunk. 2013-08-01 19:47:36 +00:00
media-template.php Media: Fix embedding of audio/video players when the file was just uploaded. 2013-07-23 17:29:55 +00:00
media.php Make the arguments of 'wp_audio_shortcode_override' and 'wp_video_shortcode_override' more consistent with the ones of 'img_caption_shortcode' and 'post_gallery' filters. 2013-09-18 22:06:09 +00:00
meta.php Return false in update_metadata() and update_metadata_by_mid() when the DB query fails. 2013-09-23 20:31:09 +00:00
ms-blogs.php Use the wpdb method instead of $wpdb->prefix. 2013-09-24 23:41:10 +00:00
ms-default-constants.php
ms-default-filters.php Live network counts of users and sites for small networks. 2013-09-25 16:21:09 +00:00
ms-deprecated.php Introduce wp_get_sites(), a long-awaited replacement for get_blog_list(). 2013-09-14 21:13:10 +00:00
ms-files.php Use stripslashes() instead of wp_unslash() in ms-files.php to avoid formatting.php dependency. props devesine, fixes #24374. 2013-05-20 20:20:22 +00:00
ms-functions.php Live network counts of users and sites for small networks. 2013-09-25 16:21:09 +00:00
ms-load.php Remove some old debug cruft left by yours truly. fixes #24462. 2013-06-26 19:33:58 +00:00
ms-settings.php
nav-menu-template.php Improve inline documentation for `Walker_Nav_Menu`, `Walker_Nav_Menu_Edit`, `Walker_Nav_Menu_Checklist`. 2013-09-28 21:02:09 +00:00
nav-menu.php Introduce `wp_using_ext_object_cache()` - mimic `wp_suspend_cache_invalidation()` and discourage direct access to `$_wp_using_ext_object_cache`, cleaning up importing of globals in functions and provides function to modify that global. Loads the packaged object cache when an external cache hasn't been loaded or doesn't contain `wp_cache_init()`. 2013-09-06 18:10:09 +00:00
option.php Always pass integer expirations to cache backends. 2013-09-16 17:43:09 +00:00
pluggable-deprecated.php Remove /extend/ from URLs to wordpress.org/plugins, /themes, and /mobile, as those are all now top-level. see #24389. 2013-05-22 21:01:57 +00:00
pluggable.php Use `elseif` when slurping the `nonce` in `check_ajax_referer()` to avoid accidentally overwriting it. 2013-09-21 16:26:12 +00:00
plugin.php Initialize the filter globals. 2013-09-24 19:05:10 +00:00
post-formats.php Allow has_post_format() to accept an array of formats to check. props ericmann. fixes #17320. 2013-07-28 20:48:09 +00:00
post-template.php Add classes to menus to indicate that an item has sub-items: `.menu-item-has-children` for `wp_nav_menu()` and `.page_item_has_children` for `wp_page_menu()`. props hotchkissconsulting. fixes #23834. 2013-09-24 16:01:09 +00:00
post-thumbnail-template.php Inline documentation for hooks in wp-includes/post-thumbnail-template.php. 2013-09-20 02:51:09 +00:00
post.php `post_content` does not have a default value in the `$wpdb->posts` table. Add a default value of empty string to `wp_insert_attachment()` to avoid a tornado of database errors in PHP 5.5/MySQL 5.6, even when debug mode is turned off. 2013-10-02 19:52:09 +00:00
query.php Make `url_to_postid()` work for custom post type URLs. Use `get_post_types()` and `get_taxonomies()` instead of directly accessing globals. Adds unit test. 2013-10-02 19:42:09 +00:00
registration-functions.php
registration.php
revision.php Revisions changes. 2013-07-24 06:08:14 +00:00
rewrite.php Make `url_to_postid()` work for custom post type URLs. Use `get_post_types()` and `get_taxonomies()` instead of directly accessing globals. Adds unit test. 2013-10-02 19:42:09 +00:00
rss-functions.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
rss.php Inline docs for hooks in MagPie. 2013-09-06 17:19:09 +00:00
script-loader.php Update Jcrop to 0.9.12 (unused in WP core). 2013-09-21 12:46:09 +00:00
shortcodes.php Inline documentation for hooks in wp-includes/shortcodes.php. 2013-09-13 09:02:09 +00:00
taxonomy.php Introduce register_taxonomy_for_object_type(). 2013-09-24 02:54:08 +00:00
template-loader.php Check the value passed to `get_post_type_object()`. If it's an array, use the first item. `get_query_var( 'post_type' )` can be an array if the query has been altered via filters/actions. There are several places in core that pass the query var. Adds unit tests. 2013-09-06 23:39:09 +00:00
template.php Add sanity checks to `get_*_template()` functions to ensure that the return value of `get_queried_object()` is compatible with the assumed context. 2013-09-12 05:32:10 +00:00
theme.php Upgrader: Make clearing the Plugin and Theme update caches optional during install and upgrade proceedures. See #22704 2013-09-06 01:33:09 +00:00
update.php Send back core translation information to the API. Update wp_get_installed_translations() to work with core translations. see #18200. 2013-09-30 19:47:12 +00:00
user.php Use the wpdb method instead of $wpdb->prefix. 2013-09-24 23:41:10 +00:00
vars.php Add nginx detection to the Permalink Settings screen. 2013-09-16 20:07:09 +00:00
version.php 3.7-beta1-25639 2013-09-28 07:31:09 +00:00
widgets.php Temporary hooks for the widgets feature team in dynamic_sidebar() and is_active_sidebar(). 2013-09-23 20:14:10 +00:00
wlwmanifest.xml
wp-db.php Document the 'query' filter in wp-db. 2013-09-06 17:07:09 +00:00
wp-diff.php Go back to plain text diffs between revisions instead of attempting partial rendering. 2013-05-07 20:34:58 +00:00