[wp-trac] [WordPress Trac] #55078: Remove hardcoded check for edit-tags.php from lib/ajax-response.js

WordPress Trac noreply at wordpress.org
Tue Mar 1 16:11:53 UTC 2022


#55078: Remove hardcoded check for edit-tags.php from lib/ajax-response.js
----------------------------+----------------------------------------
 Reporter:  SergeyBiryukov  |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  6.0
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  accessibility, javascript
----------------------------+----------------------------------------

Comment (by johnregan3):

 Also, I think I'd like to replace the `compact()` on line 1120 and replace
 it with something more readable.
 {{{
 'supplemental' => array(
      'parents'                 => $parents,
      'noparents'               => $noparents,
      'data_is_success_message' => true,
 )
 }}}

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


More information about the wp-trac mailing list