Update WordPress to 5.2
This commit is contained in:
parent
489b5a5914
commit
e00f87f2f5
599 changed files with 119573 additions and 55990 deletions
|
@ -2666,7 +2666,7 @@ function wp_remove_object_terms( $object_id, $terms, $taxonomy ) {
|
|||
* The way this works is that if the taxonomy that the term belongs to is
|
||||
* hierarchical and has a parent, it will append that parent to the $slug.
|
||||
*
|
||||
* If that still doesn't return an unique slug, then it try to append a number
|
||||
* If that still doesn't return a unique slug, then it tries to append a number
|
||||
* until it finds a number that is truly unique.
|
||||
*
|
||||
* The only purpose for `$term` is for appending a parent, if one exists.
|
||||
|
@ -3439,7 +3439,7 @@ function update_term_cache( $terms, $taxonomy = '' ) {
|
|||
/**
|
||||
* Retrieves children of taxonomy as Term IDs.
|
||||
*
|
||||
* @ignore
|
||||
* @access private
|
||||
* @since 2.3.0
|
||||
*
|
||||
* @param string $taxonomy Taxonomy name.
|
||||
|
@ -4127,7 +4127,7 @@ function wp_get_split_term( $old_term_id, $taxonomy ) {
|
|||
*
|
||||
* @param int $term_id Term ID.
|
||||
* @return bool Returns false if a term is not shared between multiple taxonomies or
|
||||
* if splittng shared taxonomy terms is finished.
|
||||
* if splitting shared taxonomy terms is finished.
|
||||
*/
|
||||
function wp_term_is_shared( $term_id ) {
|
||||
global $wpdb;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue