[wp-trac] [WordPress Trac] #42486: The Tools screen is blank for users who cannot manage categories or tags

WordPress Trac noreply at wordpress.org
Fri Apr 20 17:33:19 UTC 2018


#42486: The Tools screen is blank for users who cannot manage categories or tags
-----------------------------------+-----------------------
 Reporter:  johnbillion            |       Owner:  desrosj
     Type:  defect (bug)           |      Status:  assigned
 Priority:  normal                 |   Milestone:  4.9.6
Component:  Administration         |     Version:  4.9
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+-----------------------

Comment (by desrosj):

 I am not sure that I like the idea of copying an existing code block (that
 checks if the current user has the capability to manage categories or
 tags) into two different locations.

 I think moving the Categories and Tags converter to the action hook would
 be a better approach. Using this approach would only require the original
 code proposed in [attachment:42486.diff]. It would also allow that card to
 be unhooked from the tools page, if desired.

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


More information about the wp-trac mailing list