Make WordPress Core

Ticket #43271: 43271.4.diff

File 43271.4.diff, 580 bytes (added by audrasjb, 6 years ago)

Update @since to 5.1.0

  • src/wp-includes/taxonomy.php

    diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php
    index 87d8e0f..bd0188f 100644
    a b function wp_insert_term( $term, $taxonomy, $args = array() ) { 
    22952295         * to be created. Plugins with different uniqueness requirements may use this filter
    22962296         * to bypass or modify the duplicate-term check.
    22972297         *
    2298          * @since 5.0.0
     2298         * @since 5.1.0
    22992299         *
    23002300         * @param object $duplicate_term Duplicate term row from terms table, if found.
    23012301         * @param string $term           Term being inserted.