[wp-trac] [WordPress Trac] #53152: wp_set_object_terms ampersand in term name

WordPress Trac noreply at wordpress.org
Mon Nov 15 20:10:25 UTC 2021


#53152: wp_set_object_terms ampersand in term name
-------------------------------------------------+-------------------------
 Reporter:  kapacity                             |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  6.0
Component:  Taxonomy                             |     Version:  5.7.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:
  feedback                                       |  administration
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * type:  defect (bug) => enhancement
 * milestone:  5.9 => 6.0


Comment:

 >A single term slug, single term ID, or array of either term slugs or IDs.

 The `wp_set_object_terms()` function accepts a slug or ID, but not a name.
 This ticket is not a bug, but rather an enhancement request to allow the
 function to also accept a name.

 5.9 is in feature freeze with Beta 1 tomorrow. It's too late for this
 ticket to land in 5.9.

 Moving it to `6.0` and leaving `dev-feedback` as it needs discussion and
 consensus about expanding it to accept a term name.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53152#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list