[wp-trac] [WordPress Trac] #55560: Remove unused 'data' property from the Ajax response when adding a new term

WordPress Trac noreply at wordpress.org
Tue Apr 12 03:54:31 UTC 2022


#55560: Remove unused 'data' property from the Ajax response when adding a new term
-----------------------------+---------------------
 Reporter:  SergeyBiryukov   |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  6.0
Component:  Administration   |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch close  |     Focuses:
-----------------------------+---------------------
Changes (by peterwilsoncc):

 * keywords:  has-patch => has-patch close


Comment:

 I don't think it wise to remove these.

 A goal of WP is to maintain backward compatibility, removing something
 that's only been around for a release is still a backward compatibility
 break. For the REST API there's the v2 space, unfortunately that's not
 available for admin-ajax action.

 If anything, I think adding something in one release only to remove it in
 the next is a bigger breach of the stated goal than it is to remove
 something that's proven to be unused.

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


More information about the wp-trac mailing list