[wp-trac] [WordPress Trac] #38868: Merge two option managment error messages

WordPress Trac noreply at wordpress.org
Sat Nov 19 15:00:27 UTC 2016


#38868: Merge two option managment error messages
---------------------------------------------+-----------------------------
 Reporter:  ramiy                            |       Owner:
     Type:  defect (bug)                     |      Status:  new
 Priority:  normal                           |   Milestone:  Awaiting
Component:  I18N                             |  Review
 Severity:  normal                           |     Version:  trunk
 Keywords:  has-patch has-screenshots close  |  Resolution:
                                             |     Focuses:  administration
---------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 Most of those strings refer to the general `manage_options` capability,
 whereas the one in `wp-admin/options.php` refers to the capability passed
 through the `option_page_capability_{$option_page}` filter, so I think the
 more specific "Sorry, you are not allowed to manage these options" string
 from [39308] is more appropriate there.

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


More information about the wp-trac mailing list