WordPress/wp-includes
Boone Gorges d8215873a2 Don't do a strict taxonomy check in `get_category_link()`.
Prior to version 4.9, a quirk in the implementation of `get_term()` caused
`get_category_link( 123 )` to fetch the taxonomy archive link for term 123
even if 123 is not in the 'category' taxonomy. The quirk was fixed in [40979];
see #40671. This bugfix introduced a regression for theme authors who were
expecting the old behavior.

By lifting the 'category' restriction, we allow the template function to work
in the old way.

Fixes #42717. See #42771.
Built from https://develop.svn.wordpress.org/trunk@42364


git-svn-id: http://core.svn.wordpress.org/trunk@42193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-12-04 20:39:45 +00:00
..
ID3
IXR
Requests
SimplePie
Text External Libraries: Remove usage of `each()` from the `Text_Diff_Engine_native` class. 2017-10-26 12:52:53 +00:00
certificates
css Accessibility: Change all the `#f00` and `red` to the official WordPress accent red. 2017-10-03 16:03:32 +00:00
customize Code is Poetry. 2017-11-30 23:11:00 +00:00
fonts
images
js Comments: Modernise JavaScript for comment reply links. 2017-12-03 22:37:45 +00:00
pomo Code is Poetry. 2017-11-30 23:11:00 +00:00
random_compat External Libraries: Update Random_Compat from 1.2.1 to 2.0.11. 2017-11-08 11:48:49 +00:00
rest-api REST API: Fix permissions error message in post statuses controller. 2017-12-03 20:49:47 +00:00
theme-compat Code is Poetry. 2017-11-30 23:11:00 +00:00
widgets Code is Poetry. 2017-11-30 23:11:00 +00:00
admin-bar.php Code is Poetry. 2017-11-30 23:11:00 +00:00
atomlib.php
author-template.php Code is Poetry. 2017-11-30 23:11:00 +00:00
bookmark-template.php Code is Poetry. 2017-11-30 23:11:00 +00:00
bookmark.php Code is Poetry. 2017-11-30 23:11:00 +00:00
cache.php Code is Poetry. 2017-11-30 23:11:00 +00:00
canonical.php Code is Poetry. 2017-11-30 23:11:00 +00:00
capabilities.php Code is Poetry. 2017-11-30 23:11:00 +00:00
category-template.php Don't do a strict taxonomy check in `get_category_link()`. 2017-12-04 20:39:45 +00:00
category.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-IXR.php
class-feed.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-http.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-json.php
class-oembed.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-phpass.php
class-phpmailer.php
class-pop3.php
class-requests.php
class-simplepie.php
class-smtp.php
class-snoopy.php
class-walker-category-dropdown.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-walker-category.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-walker-comment.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-walker-nav-menu.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-walker-page-dropdown.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-walker-page.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-admin-bar.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-ajax-response.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-comment-query.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-comment.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-customize-control.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-customize-manager.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-customize-nav-menus.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-customize-panel.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-customize-section.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-customize-setting.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-customize-widgets.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-dependency.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-editor.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-embed.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-error.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-feed-cache-transient.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-feed-cache.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-hook.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-http-cookie.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-http-curl.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-http-encoding.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-http-ixr-client.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-http-proxy.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-http-requests-hooks.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-http-requests-response.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-http-response.php HTTP API: Use `WP_HTTP_Response::set_data()` in `::__construct()` instead of directly accessing the `$data` property. 2017-10-03 15:18:46 +00:00
class-wp-http-streams.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-image-editor-gd.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-image-editor-imagick.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-image-editor.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-list-util.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-locale-switcher.php
class-wp-locale.php Docs: Add missing description for `$weekday_name` parameter and `@return` entry in `WP_Locale::get_weekday_initial()`. 2017-12-04 15:59:54 +00:00
class-wp-matchesmapregex.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-meta-query.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-metadata-lazyloader.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-network-query.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-network.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-oembed-controller.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-post-type.php
class-wp-post.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-query.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-rewrite.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-role.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-roles.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-session-tokens.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-simplepie-file.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-simplepie-sanitize-kses.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-site-query.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-site.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-tax-query.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-taxonomy.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-term-query.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-term.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-text-diff-renderer-inline.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-text-diff-renderer-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-theme.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-user-meta-session-tokens.php
class-wp-user-query.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-user.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-walker.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-widget-factory.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-widget.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-xmlrpc-server.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class.wp-dependencies.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class.wp-scripts.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class.wp-styles.php Code is Poetry. 2017-11-30 23:11:00 +00:00
comment-template.php Comments: Modernise JavaScript for comment reply links. 2017-12-03 22:37:45 +00:00
comment.php Code is Poetry. 2017-11-30 23:11:00 +00:00
compat.php Code is Poetry. 2017-11-30 23:11:00 +00:00
cron.php Code is Poetry. 2017-11-30 23:11:00 +00:00
date.php Code is Poetry. 2017-11-30 23:11:00 +00:00
default-constants.php Code is Poetry. 2017-11-30 23:11:00 +00:00
default-filters.php Code is Poetry. 2017-11-30 23:11:00 +00:00
default-widgets.php Widgets: Introduce Gallery widget for displaying image galleries. 2017-09-25 06:28:45 +00:00
deprecated.php General: Correct `_deprecated_function()` calls in `debug_fopen()`, `debug_fwrite()`, and `debug_fclose()`. 2017-10-07 00:40:52 +00:00
embed-template.php
embed.php Code is Poetry. 2017-11-30 23:11:00 +00:00
feed-atom-comments.php Code is Poetry. 2017-11-30 23:11:00 +00:00
feed-atom.php Code is Poetry. 2017-11-30 23:11:00 +00:00
feed-rdf.php Code is Poetry. 2017-11-30 23:11:00 +00:00
feed-rss.php Code is Poetry. 2017-11-30 23:11:00 +00:00
feed-rss2-comments.php Code is Poetry. 2017-11-30 23:11:00 +00:00
feed-rss2.php Code is Poetry. 2017-11-30 23:11:00 +00:00
feed.php Code is Poetry. 2017-11-30 23:11:00 +00:00
formatting.php Code is Poetry. 2017-11-30 23:11:00 +00:00
functions.php Code is Poetry. 2017-11-30 23:11:00 +00:00
functions.wp-scripts.php Code is Poetry. 2017-11-30 23:11:00 +00:00
functions.wp-styles.php Code is Poetry. 2017-11-30 23:11:00 +00:00
general-template.php Code is Poetry. 2017-11-30 23:11:00 +00:00
http.php Code is Poetry. 2017-11-30 23:11:00 +00:00
kses.php Code is Poetry. 2017-11-30 23:11:00 +00:00
l10n.php Code is Poetry. 2017-11-30 23:11:00 +00:00
link-template.php Code is Poetry. 2017-11-30 23:11:00 +00:00
load.php Code is Poetry. 2017-11-30 23:11:00 +00:00
locale.php
media-template.php Code is Poetry. 2017-11-30 23:11:00 +00:00
media.php Docs: Correct `$attachment` parameter type for `wp_prepare_attachment_for_js` filter. 2017-12-01 03:30:47 +00:00
meta.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-blogs.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-default-constants.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-default-filters.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-deprecated.php Docs: Correct some `@since MU` notation that was broken in [41200]. 2017-10-03 17:44:48 +00:00
ms-files.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-functions.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-load.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-settings.php Code is Poetry. 2017-11-30 23:11:00 +00:00
nav-menu-template.php Code is Poetry. 2017-11-30 23:11:00 +00:00
nav-menu.php Code is Poetry. 2017-11-30 23:11:00 +00:00
option.php REST API: Include permalink_structure in the settings route. 2017-12-03 22:29:45 +00:00
pluggable-deprecated.php
pluggable.php Code is Poetry. 2017-11-30 23:11:00 +00:00
plugin.php Code is Poetry. 2017-11-30 23:11:00 +00:00
post-formats.php Code is Poetry. 2017-11-30 23:11:00 +00:00
post-template.php Code is Poetry. 2017-11-30 23:11:00 +00:00
post-thumbnail-template.php Code is Poetry. 2017-11-30 23:11:00 +00:00
post.php Code is Poetry. 2017-11-30 23:11:00 +00:00
query.php Docs: Add description for is_day(). 2017-12-03 20:42:47 +00:00
registration-functions.php Code is Poetry. 2017-11-30 23:11:00 +00:00
registration.php Code is Poetry. 2017-11-30 23:11:00 +00:00
rest-api.php Code is Poetry. 2017-11-30 23:11:00 +00:00
revision.php Code is Poetry. 2017-11-30 23:11:00 +00:00
rewrite.php Code is Poetry. 2017-11-30 23:11:00 +00:00
rss-functions.php Code is Poetry. 2017-11-30 23:11:00 +00:00
rss.php
script-loader.php Code is Poetry. 2017-11-30 23:11:00 +00:00
session.php Code is Poetry. 2017-11-30 23:11:00 +00:00
shortcodes.php Code is Poetry. 2017-11-30 23:11:00 +00:00
spl-autoload-compat.php
taxonomy.php Code is Poetry. 2017-11-30 23:11:00 +00:00
template-loader.php Code is Poetry. 2017-11-30 23:11:00 +00:00
template.php Code is Poetry. 2017-11-30 23:11:00 +00:00
theme.php Code is Poetry. 2017-11-30 23:11:00 +00:00
update.php Code is Poetry. 2017-11-30 23:11:00 +00:00
user.php Code is Poetry. 2017-11-30 23:11:00 +00:00
vars.php Code is Poetry. 2017-11-30 23:11:00 +00:00
version.php Don't do a strict taxonomy check in `get_category_link()`. 2017-12-04 20:39:45 +00:00
widgets.php Widgets: Don't try mapping empty sidebars. 2017-12-04 20:12:48 +00:00
wlwmanifest.xml
wp-db.php Code is Poetry. 2017-11-30 23:11:00 +00:00
wp-diff.php Code is Poetry. 2017-11-30 23:11:00 +00:00