[wp-trac] [WordPress Trac] #50225: get_edit_term_link can technically accept also WP_Term and object for $term_id

WordPress Trac noreply at wordpress.org
Thu Nov 25 10:50:00 UTC 2021


#50225: get_edit_term_link can technically accept also WP_Term and object for
$term_id
-------------------------------------------------+-------------------------
 Reporter:  david.binda                          |       Owner:
                                                 |  hellofromTonya
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.9
Component:  Taxonomy                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests commit      |     Focuses:
  needs-dev-note needs-docs                      |  performance
-------------------------------------------------+-------------------------
Changes (by hugod):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Hi,

 In my opinion, the way `get_term_feed_link()` has been modified broke
 backward compatibility.
 I described it in my PR [https://github.com/WordPress/wordpress-
 develop/pull/1945].

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


More information about the wp-trac mailing list