WordPress/wp-includes
Boone Gorges e8ad0ff400 Filter out empty object_types in `register_taxonomy_for_object_type()`.
This prevents weird edge bugs when registering an existing taxonomy with an
object type when the taxonomy was previously associated with no object types.

Fixes #32590.
Built from https://develop.svn.wordpress.org/trunk@32709


git-svn-id: http://core.svn.wordpress.org/trunk@32679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-08 19:45:31 +00:00
..
ID3
SimplePie
Text
certificates WP_HTTP: Revert r30491 which updated the bundled root certificates. There's a report that this is breaking under certain PHP/OpenSSL versions (which we've encountered before), and we're safer with a slighty out of date CA bundle than breaking HTTPS communication on affected sites. 2014-12-07 03:13:22 +00:00
css Editor: 2015-06-01 17:38:29 +00:00
fonts Dashicons: Update to the latest files. 2014-12-09 19:34:23 +00:00
images Smilies: Update our few remaining smilies to better align with Twemoji, and add frownie.png until Twemoji provide a build containing it. 2015-04-10 06:20:26 +00:00
js Editor: link modal: use link as fallback for text 2015-06-07 21:11:24 +00:00
pomo Add doc blocks to functions that are missing them. 2015-05-31 03:18:25 +00:00
theme-compat Add a sanity check to `theme-compat/header.php` to avoid outputting CSS which could reference a non-existant file. 2015-05-12 10:47:29 +00:00
admin-bar.php Add missing doc blocks to `admin-bar.php`. 2015-05-22 04:00:26 +00:00
atomlib.php Merge similar error strings. 2015-05-09 18:27:26 +00:00
author-template.php Pass the original `$user_id` variable to the filter in `get_the_author_meta()`. 2015-05-25 13:06:25 +00:00
bookmark-template.php Use `void` instead of `null` where appropriate when pipe-delimiting `@return` types. If a `@return` only contains `void`, remove it. 2015-05-24 05:40:25 +00:00
bookmark.php In `bookmark.php`, clarify some `return` docs. 2015-05-21 20:13:25 +00:00
cache.php Add/standardize missing doc blocks for `cache.php`. 2015-05-22 04:24:26 +00:00
canonical.php Use `void` instead of `null` where appropriate when pipe-delimiting `@return` types. If a `@return` only contains `void`, remove it. 2015-05-24 05:40:25 +00:00
capabilities.php Add `@static*` annotations where they are missing. 2015-05-29 15:43:29 +00:00
category-template.php Use `void` instead of `null` where appropriate when pipe-delimiting `@return` types. If a `@return` only contains `void`, remove it. 2015-05-24 05:40:25 +00:00
category.php Use `void` instead of `null` where appropriate when pipe-delimiting `@return` types. If a `@return` only contains `void`, remove it. 2015-05-24 05:40:25 +00:00
class-IXR.php XML-RPC: Send 405 Method Not Allowed for GET requests. 2014-12-30 20:41:23 +00:00
class-feed.php After [32656], add `@access` annotations to methods that have no doc block in `wp-includes/*`. 2015-05-29 21:37:24 +00:00
class-http.php Add `@static*` annotations where they are missing. 2015-05-29 15:43:29 +00:00
class-json.php
class-oembed.php Add `@static*` annotations where they are missing. 2015-05-29 15:43:29 +00:00
class-phpass.php Prevent high resource usage when hashing large passwords. props mdawaffe, pento 2014-11-20 16:03:24 +00:00
class-phpmailer.php
class-pop3.php
class-simplepie.php
class-smtp.php
class-snoopy.php
class-wp-admin-bar.php After [32656], add `@access` annotations to methods that have no doc block in `wp-includes/*`. 2015-05-29 21:37:24 +00:00
class-wp-ajax-response.php `WP_Ajax_Response` has one property only, `$responses`. It was public until [28508], when it became `private` in name only. Is it worth 4 magic methods to pretend that this property is `private`? It is not. 2015-01-11 00:13:23 +00:00
class-wp-customize-control.php After [32656], add `@access` annotations to methods that have no doc block in `wp-includes/*`. 2015-05-29 21:37:24 +00:00
class-wp-customize-manager.php Add JS templates for Customizer Panels and Sections. 2015-05-30 00:03:30 +00:00
class-wp-customize-panel.php Add JS templates for Customizer Panels and Sections. 2015-05-30 00:03:30 +00:00
class-wp-customize-section.php Add JS templates for Customizer Panels and Sections. 2015-05-30 00:03:30 +00:00
class-wp-customize-setting.php Use `void` instead of `null` where appropriate when pipe-delimiting `@return` types. If a `@return` only contains `void`, remove it. 2015-05-24 05:40:25 +00:00
class-wp-customize-widgets.php Add `@static*` annotations where they are missing. 2015-05-29 15:43:29 +00:00
class-wp-editor.php TinyMCE: add wptextpattern plugin 2015-06-06 20:07:24 +00:00
class-wp-embed.php When calling `unset()`, it is unnecessary to immediately precede it with a call to `isset()`. 2015-05-22 05:47:25 +00:00
class-wp-error.php Use `void` instead of `null` where appropriate when pipe-delimiting `@return` types. If a `@return` only contains `void`, remove it. 2015-05-24 05:40:25 +00:00
class-wp-http-ixr-client.php Add missing doc blocks to `wp-image-editor*.php`. 2015-05-22 06:18:25 +00:00
class-wp-image-editor-gd.php Add `@static*` annotations where they are missing. 2015-05-29 15:43:29 +00:00
class-wp-image-editor-imagick.php Add `@static*` annotations where they are missing. 2015-05-29 15:43:29 +00:00
class-wp-image-editor.php Add `@static*` annotations where they are missing. 2015-05-29 15:43:29 +00:00
class-wp-theme.php Add `@static*` annotations where they are missing. 2015-05-29 15:43:29 +00:00
class-wp-walker.php Cleanup missing doc blocks for `class-wp-walker.php`. 2015-05-22 17:59:25 +00:00
class-wp-xmlrpc-server.php After [32656], add `@access` annotations to methods that have no doc block in `wp-includes/*`. 2015-05-29 21:37:24 +00:00
class-wp.php Parse request: Quote regular expression characters in home path. 2015-06-08 13:29:26 +00:00
class.wp-dependencies.php Add a return value to `wp_register_script()` and `wp_register_style()` which matches the return value of `WP_Dependencies::add()`. 2015-05-10 19:57:25 +00:00
class.wp-scripts.php After [32656], add `@access` annotations to methods that have no doc block in `wp-includes/*`. 2015-05-29 21:37:24 +00:00
class.wp-styles.php After [32656], add `@access` annotations to methods that have no doc block in `wp-includes/*`. 2015-05-29 21:37:24 +00:00
comment-template.php Use `void` instead of `null` where appropriate when pipe-delimiting `@return` types. If a `@return` only contains `void`, remove it. 2015-05-24 05:40:25 +00:00
comment.php Add `@static*` annotations where they are missing. 2015-05-29 15:43:29 +00:00
compat.php Add doc blocks to functions that are missing them. 2015-05-31 03:18:25 +00:00
cron.php Fix inline documentation syntax in `wp_xmlrpc_server`. 2015-05-25 06:25:25 +00:00
date.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
default-constants.php Remove obsolete inline comment. 2015-01-06 01:57:22 +00:00
default-filters.php Revert change to default-filters.php in [32632]. see #32516. 2015-05-28 05:52:25 +00:00
default-widgets.php After [32656], add `@access` annotations to methods that have no doc block in `wp-includes/*`. 2015-05-29 21:37:24 +00:00
deprecated.php Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:29:32 +00:00
feed-atom-comments.php
feed-atom.php
feed-rdf.php Improve various hook and filter docs so they are correctly parsed for the code reference. 2014-12-06 21:32:24 +00:00
feed-rss.php Serve RSS feeds with the proper mime-type: `application/rss+xml`. The reason for hacking around browsers by using `text/xml` appears to no longer be relevant. 2015-05-09 06:39:24 +00:00
feed-rss2-comments.php Serve RSS feeds with the proper mime-type: `application/rss+xml`. The reason for hacking around browsers by using `text/xml` appears to no longer be relevant. 2015-05-09 06:39:24 +00:00
feed-rss2.php Serve RSS feeds with the proper mime-type: `application/rss+xml`. The reason for hacking around browsers by using `text/xml` appears to no longer be relevant. 2015-05-09 06:39:24 +00:00
feed.php In `fetch_feed()`, call `->set_output_encoding()` on the `SimplePie` instance to ensure the feed is served with encoding specified by the `blog_charset` option. 2015-05-09 06:49:24 +00:00
formatting.php Add `@static*` annotations where they are missing. 2015-05-29 15:43:29 +00:00
functions.php Add `@static*` annotations where they are missing. 2015-05-29 15:43:29 +00:00
functions.wp-scripts.php Cleanup the use of `$wp_scripts` global in `functions.wp-scripts.php`. 2015-05-25 16:24:25 +00:00
functions.wp-styles.php Cleanup the use of `$wp_styles` global in `functions.wp-styles.php`. 2015-05-25 16:35:24 +00:00
general-template.php Cleanup doc blocks in `general-template.php`. 2015-05-25 17:18:26 +00:00
http.php Add `@static*` annotations where they are missing. 2015-05-29 15:43:29 +00:00
kses.php Add missing doc blocks to `kses.php` - also fix some unfortunate whitespace issues in related funcs. 2015-05-26 18:06:24 +00:00
l10n.php Add missing doc blocks to `l10n.php` 2015-05-26 18:13:25 +00:00
link-template.php Fix doc blocks to `link-template.php` 2015-05-26 18:44:25 +00:00
load.php Add missing doc blocks to `load.php` 2015-05-26 18:53:27 +00:00
locale.php Add doc blocks to functions that are missing them. 2015-05-31 03:18:25 +00:00
media-template.php Fix doc blocks for `media*.php` 2015-05-26 19:23:25 +00:00
media.php Avoid a PHP notice in `wp_enqueue_media()` if `$post` is null. 2015-05-31 21:54:25 +00:00
meta.php Fix doc blocks for `meta.php` 2015-05-26 19:33:25 +00:00
ms-blogs.php Fix doc blocks for `ms-*.php` files. 2015-05-26 21:51:31 +00:00
ms-default-constants.php Fix doc blocks for `ms-*.php` files. 2015-05-26 21:51:31 +00:00
ms-default-filters.php Fix doc blocks for `ms-*.php` files. 2015-05-26 21:51:31 +00:00
ms-deprecated.php [31210] broke Supportflow on dotorg, which declares these methods as `protected`. Switch to `protected` for the noop methods. The subclasses can make them more visible using `public`. 2015-01-16 18:37:24 +00:00
ms-files.php
ms-functions.php Add `@static*` annotations where they are missing. 2015-05-29 15:43:29 +00:00
ms-load.php Fix doc blocks for `ms-*.php` files. 2015-05-26 21:51:31 +00:00
ms-settings.php
nav-menu-template.php Fix doc blocks for `nav-menu*.php` files. 2015-05-26 22:10:25 +00:00
nav-menu.php Fix doc blocks for `nav-menu*.php` files. 2015-05-26 22:10:25 +00:00
option.php Fix doc blocks for `option.php`. 2015-05-26 22:17:25 +00:00
pluggable-deprecated.php Improve the `@param` docs for `src/wp-includes/pluggable*`. 2014-11-30 22:19:25 +00:00
pluggable.php In `get_avatar()`, avoid a second `get_avatar_data()` call to get the 2x URL. 2015-06-07 14:58:26 +00:00
plugin.php Add `@static*` annotations where they are missing. 2015-05-29 15:43:29 +00:00
post-formats.php Add missing doc blocks to `post-formats.php`. 2015-05-27 16:06:25 +00:00
post-template.php Add missing doc blocks to `post-template.php`. 2015-05-27 16:26:25 +00:00
post-thumbnail-template.php Add missing doc blocks to `post-thumbnail-template.php`. 2015-05-27 16:29:28 +00:00
post.php Introduce `featured_image`, `set_featured_image`, `remove_featured_image`, and `use_featured_image` post type labels when registering a post type in order to override the 'Featured Image' text and its related phrases. 2015-05-31 16:54:27 +00:00
query.php Add missing doc blocks to `query.php`. 2015-05-27 18:15:25 +00:00
registration-functions.php
registration.php
revision.php Add `@static*` annotations where they are missing. 2015-05-29 15:43:29 +00:00
rewrite.php Add `@static*` annotations where they are missing. 2015-05-29 15:43:29 +00:00
rss-functions.php
rss.php
script-loader.php Editor: 2015-06-01 17:38:29 +00:00
session.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
shortcodes.php Add missing doc blocks to `shortcodes.php`. 2015-05-27 19:39:25 +00:00
taxonomy.php Filter out empty object_types in `register_taxonomy_for_object_type()`. 2015-06-08 19:45:31 +00:00
template-loader.php
template.php Add missing doc blocks to `template.php`. 2015-05-27 22:04:26 +00:00
theme.php Add `@static*` annotations where they are missing. 2015-05-29 15:43:29 +00:00
update.php Add missing doc blocks to `update.php`: 2015-05-28 15:29:28 +00:00
user.php Add `@since` for `check_password_reset_key()`, `reset_password()`, and `register_new_user()`. 2015-06-05 20:39:26 +00:00
vars.php Add `@static*` annotations where they are missing. 2015-05-29 15:43:29 +00:00
version.php Filter out empty object_types in `register_taxonomy_for_object_type()`. 2015-06-08 19:45:31 +00:00
widgets.php Add missing doc blocks to `widgets.php`. 2015-05-28 16:20:25 +00:00
wlwmanifest.xml
wp-db.php Add missing/alter existing doc blocks for `wp-db.php`. 2015-05-28 20:10:29 +00:00
wp-diff.php Add a missing description for the `$_diff_threshold` property in the `WP_Text_Diff_Renderer_Table` class. 2015-01-29 11:36:22 +00:00