WordPress/wp-includes
Boone Gorges 3706590afb Split shared taxonomy terms during term update.
When updating an existing taxonomy term that shares its `term_id` with
another term, we generate a new row in `wp_terms` and associate the updated
term_taxonomy_id with the new term. This separates the terms, such that
updating the name of one term does not change the name of any others.

Note that this term splitting only occurs on installations whose database
schemas have been upgraded to version 30133 or higher. Note also that shared
terms are only split when run through `wp_update_term()`, as on edit-tags.php;
we will wait until a future release of WordPress to force the splitting of all
shared taxonomy terms.

Props boonebgorges, rmccue, greuben, garyc40, wonderboymusic, imath, jesin.
Fixes #5809.
Built from https://develop.svn.wordpress.org/trunk@30241


git-svn-id: http://core.svn.wordpress.org/trunk@30241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-05 02:03:23 +00:00
..
certificates
css Autoprefix box sizing 2014-10-28 20:48:24 +00:00
fonts Dashicons: Update to the latest dashicons files. 2014-08-17 15:01:16 +00:00
ID3 Update getID3 library to 1.9.8. 2014-09-11 19:07:17 +00:00
images Update images based on grunt imagemin 2014-10-28 22:02:22 +00:00
js Add some docs to wp.media.view.EditorUploader. 2014-11-04 20:48:23 +00:00
pomo Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
SimplePie
Text
theme-compat
admin-bar.php Don't display Edit links for posts and terms in toolbar if they are empty. 2014-09-07 08:32:19 +00:00
atomlib.php
author-template.php Remove redundant and erroneous @uses tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
bookmark-template.php
bookmark.php Correct references of @uses $wpdb in core documentation to use @global. 2014-10-31 17:56:22 +00:00
cache.php Fix some words that aren't words. 2014-08-09 19:30:17 +00:00
canonical.php Correct references of @uses $wpdb in core documentation to use @global. 2014-10-31 17:56:22 +00:00
capabilities.php Correct references of @uses $wpdb in core documentation to use @global. 2014-10-31 17:56:22 +00:00
category-template.php Remove redundant and erroneous @uses tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
category.php Remove redundant and erroneous @uses tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
class-feed.php
class-http.php Remove redundant and erroneous @uses tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
class-IXR.php Fill in the @param types for the args for functions missing them in wp-admin/includes/deprecated.php (pour one out). 2014-11-03 06:08:22 +00:00
class-json.php
class-oembed.php Remove redundant and erroneous @uses tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
class-phpass.php
class-phpmailer.php
class-pop3.php
class-simplepie.php Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
class-smtp.php PHPMailer: Merge upstream commit (PR274). 2014-09-29 10:28:17 +00:00
class-snoopy.php
class-wp-admin-bar.php
class-wp-ajax-response.php Fix some words that aren't words. 2014-08-09 19:30:17 +00:00
class-wp-customize-control.php Customizer: Add stable sorting for panels, sections and controls in JS. Improve sorting in PHP. 2014-11-03 21:35:23 +00:00
class-wp-customize-manager.php Customizer: Add stable sorting for panels, sections and controls in JS. Improve sorting in PHP. 2014-11-03 21:35:23 +00:00
class-wp-customize-panel.php Customizer: Add stable sorting for panels, sections and controls in JS. Improve sorting in PHP. 2014-11-03 21:35:23 +00:00
class-wp-customize-section.php Customizer: Add stable sorting for panels, sections and controls in JS. Improve sorting in PHP. 2014-11-03 21:35:23 +00:00
class-wp-customize-setting.php Remove redundant and erroneous @uses tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
class-wp-customize-widgets.php Add wp_json_encode(), a wrapper for json_encode() that ensures everything is converted to UTF-8. 2014-10-28 18:35:19 +00:00
class-wp-editor.php In _WP_Editors::editor_settings(), $str1 and $str2 don't need to be initialized empty. 2014-11-01 23:22:22 +00:00
class-wp-embed.php Fix the return docs for WP_Embed->maybe_make_link(). 2014-11-03 02:27:23 +00:00
class-wp-error.php New remove() method and some unit tests for the WP_Error class. 2014-10-08 07:12:18 +00:00
class-wp-http-ixr-client.php In WP_HTTP_IXR_Client: 2014-11-03 02:32:22 +00:00
class-wp-image-editor-gd.php WP_Image_Editor_GD and WP_Image_Editor_Imagick should specify type in a doc block for the $image property, instead of inferring bool and null. 2014-11-03 02:38:23 +00:00
class-wp-image-editor-imagick.php WP_Image_Editor_GD and WP_Image_Editor_Imagick should specify type in a doc block for the $image property, instead of inferring bool and null. 2014-11-03 02:38:23 +00:00
class-wp-image-editor.php Fix setting default quality in WP_Image_Editor. 2014-10-04 13:12:15 +00:00
class-wp-theme.php Remove redundant and erroneous @uses tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
class-wp-walker.php Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
class-wp-xmlrpc-server.php Almost every method in wp_xmlrpc_server can also return IXR_Error and should be labeled as such. Rehabilitate some return syntax. 2014-11-03 03:04:22 +00:00
class-wp.php Remove redundant and erroneous @uses tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
class.wp-dependencies.php WP_Dependencies->recurse_deps(): tuck the recursion into elseif so the foreach doesn't break on the first item. 2014-07-20 00:34:15 +00:00
class.wp-scripts.php Add wp_json_encode(), a wrapper for json_encode() that ensures everything is converted to UTF-8. 2014-10-28 18:35:19 +00:00
class.wp-styles.php wp_add_inline_style(): 2014-10-18 19:04:20 +00:00
comment-template.php Update the changelogs for the comment hook parameters added in [30092]. 2014-10-30 03:52:22 +00:00
comment.php Correct all @return unknown instances. 2014-11-03 06:17:22 +00:00
compat.php Define JSON_PRETTY_PRINT so it can be used with wp_json_encode() 2014-10-28 21:13:22 +00:00
cron.php wp_schedule_single_event() should not prevent scheduling a future duplicate event. It should only reject an event as a duplicate if there is already a similar event scheduled within 10 minutes of the given timestamp. 2014-10-17 19:17:18 +00:00
date.php Fix a couple of spacing and wrapping indents in the WP_Date_Query::__construct() hash notation. 2014-11-01 04:31:22 +00:00
default-constants.php Set Twenty Fifteen as the new default theme. see #29799. 2014-10-14 19:58:19 +00:00
default-filters.php Improve some post_status-related documentation. 2014-11-01 20:20:23 +00:00
default-widgets.php Use proper functions for escaped translations. 2014-10-18 20:11:18 +00:00
deprecated.php Correct all @return unknown instances. 2014-11-03 06:17:22 +00:00
feed-atom-comments.php
feed-atom.php
feed-rdf.php
feed-rss.php
feed-rss2-comments.php
feed-rss2.php
feed.php Remove redundant and erroneous @uses tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
formatting.php Remove redundant and erroneous @uses tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
functions.php Ignore case when checking string 'false' in wp_validate_boolean(). 2014-11-03 15:55:23 +00:00
functions.wp-scripts.php Use HTTPS URLs for core.trac.wordpress.org 2014-09-29 13:28:16 +00:00
functions.wp-styles.php Translate some previously untranslated _doing_it_wrong() messages. 2014-10-05 21:06:15 +00:00
general-template.php Cross reference get_the_archive_title() and get_the_archive_description() in the inline documentation for their corresponding template tags. 2014-11-04 06:52:23 +00:00
http.php Update the docs for wp_remote_retrieve_response_code(). See #28887. 2014-10-21 21:13:18 +00:00
kses.php Remove redundant and erroneous @uses tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
l10n.php Avoid double path separators in load_theme_textdomain(). Fixes #29122. Props bradyvercher 2014-10-21 17:58:18 +00:00
link-template.php Merge a multi-line comment into a single-line comment in wp-includes/link-template.php. 2014-11-04 15:59:23 +00:00
load.php Send nocache_headers() on installation screens and when redirecting to them. 2014-08-25 17:40:16 +00:00
locale.php In WP_Locale, declare $number_format as a property. 2014-11-03 03:40:22 +00:00
media-template.php Add size to the UI for Gallery Settings in the media modal. Ensure that the TinyMCE view is refreshed when size changes. 2014-09-29 03:45:16 +00:00
media.php In wp_audio|video_shortcode(), make sure that autoplay and loop are booleans. Passing 'false' to them will force them to be active, which is bad. 2014-11-03 05:03:21 +00:00
meta.php In WP_Meta_Query->get_sql_for_clause(), the empty initialization of $where is dead code and can be removed. 2014-11-01 22:03:22 +00:00
ms-blogs.php Simplify the code for calling refresh_blog_details() whenever 'blogname', 'siteurl', or 'post_count' option is updated. 2014-09-02 07:30:16 +00:00
ms-default-constants.php After [29200], switch back to using static vars instead of adding 2 globals, as per Sergey. 2014-07-19 23:14:15 +00:00
ms-default-filters.php Simplify the code for calling refresh_blog_details() whenever 'blogname', 'siteurl', or 'post_count' option is updated. 2014-09-02 07:30:16 +00:00
ms-deprecated.php Delete admin_created_user_subject() rather than deprecate 2014-11-02 02:07:23 +00:00
ms-files.php
ms-functions.php Make the docs type for return in wpmu_create_user() more specific. 2014-11-01 22:33:21 +00:00
ms-load.php
ms-settings.php
nav-menu-template.php Cast class names to an array to avoid a potential warning. 2014-10-26 23:19:19 +00:00
nav-menu.php Remove redundant and erroneous @uses tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
option.php Remove redundant and erroneous @uses tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
pluggable-deprecated.php
pluggable.php Correct references of @uses $wpdb in core documentation to use @global. 2014-10-31 17:56:22 +00:00
plugin.php Remove redundant and erroneous @uses tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
post-formats.php Remove redundant and erroneous @uses tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
post-template.php Check $_current_page before using it in Walker_Page->start_el(). 2014-11-01 20:29:22 +00:00
post-thumbnail-template.php
post.php Allow get_pages(), with child_of passed to it, to work with interrupted hierarchies. 2014-11-01 20:44:21 +00:00
query.php Correct references of @uses $wpdb in core documentation to use @global. 2014-10-31 17:56:22 +00:00
registration-functions.php
registration.php
revision.php Improve some post_status-related documentation. 2014-11-01 20:20:23 +00:00
rewrite.php Use HTTPS URLs for core.trac.wordpress.org 2014-09-29 13:28:16 +00:00
rss-functions.php
rss.php Fill in the @param types for the args for functions missing them in wp-admin/includes/deprecated.php (pour one out). 2014-11-03 06:08:22 +00:00
script-loader.php Script-loader: remove 'heartbeat' dependency for post.js and inline-edit-post.js, fix dependencies for autosave.js. Fixes #30008 2014-10-22 03:41:18 +00:00
session.php Add safeguards for when ext/hash is not compiled with PHP. 2014-09-20 17:28:18 +00:00
shortcodes.php Remove redundant and erroneous @uses tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
taxonomy.php Split shared taxonomy terms during term update. 2014-11-05 02:03:23 +00:00
template-loader.php
template.php
theme.php Correct type in the doc block for get_theme_support(). 2014-11-03 05:18:22 +00:00
update.php Add wp_json_encode(), a wrapper for json_encode() that ensures everything is converted to UTF-8. 2014-10-28 18:35:19 +00:00
user.php Correct references of @uses $wpdb in core documentation to use @global. 2014-10-31 17:56:22 +00:00
vars.php
version.php Split shared taxonomy terms during term update. 2014-11-05 02:03:23 +00:00
widgets.php Remove redundant and erroneous @uses tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
wlwmanifest.xml
wp-db.php Remove redundant and erroneous @uses tag from most core inline documentation. 2014-10-30 01:05:24 +00:00
wp-diff.php Fill in the @param types for the args in WP_Text_Diff_Renderer_Table->interleave_changed_lines(). 2014-11-03 05:39:22 +00:00