[wp-trac] [WordPress Trac] #57230: Small typo in options.php

WordPress Trac noreply at wordpress.org
Wed Nov 30 11:10:49 UTC 2022


#57230: Small typo in options.php
-----------------------------------------+------------------------------
 Reporter:  NekoJonez                    |       Owner:  (none)
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Text Changes                 |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:
-----------------------------------------+------------------------------
Changes (by costdev):

 * keywords:  has-patch => has-patch reporter-feedback


Comment:

 Nicely spotted @NekoJonez!

 The original sentence reads more like a note than a message:
  **Error:** Options page %s not found in the allowed options list.
 -----
 Your suggestion improves this:
  **Error:** Options page %s is not found in the allowed options list.

 However, I still think it reads a little like a note rather than a
 message.

 Some things that jumped out at me when reading this:
 - "is", or "was"? - The search is already complete.
 - "not found" - This tells the user something about the process, rather
 than the result.
 -----
 What do you think about this instead?
  **Error:** The %s options page is not in the allowed options list.

 This:
 - Reflects the present state: It's not in the list.
 - Doesn't add unnecessary information about the process.
 - Reads like a message, rather than a note.

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


More information about the wp-trac mailing list