[wp-trac] [WordPress Trac] #47745: get_term will send back term_id as string if $filter = 'edit'. Use of 'edit' causes issues with hooks in edit-tag-form passing a non-conforming WP_Term object as $tag

WordPress Trac noreply at wordpress.org
Thu Aug 15 14:48:47 UTC 2019


#47745: get_term will send back term_id as string if $filter = 'edit'. Use of
'edit' causes issues with hooks in edit-tag-form passing a non-conforming
WP_Term object as $tag
-------------------------------+-------------------------------
 Reporter:  majemedia          |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Taxonomy           |     Version:  trunk
 Severity:  normal             |  Resolution:  wontfix
 Keywords:  reporter-feedback  |     Focuses:  coding-standards
-------------------------------+-------------------------------
Changes (by majemedia):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 @talldanwp That is the issue I was referring to.

 I'll resolve as wontfix due to the backwards compatibility issue.

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


More information about the wp-trac mailing list