[wp-trac] [WordPress Trac] #50493: more detailed notice for register_rest_route

WordPress Trac noreply at wordpress.org
Sat Jul 18 17:59:19 UTC 2020


#50493: more detailed notice for register_rest_route
--------------------------+-----------------------------
 Reporter:  Lwangaman     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  REST API      |     Version:  5.4.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  rest-api
--------------------------+-----------------------------

Comment (by TimothyBlynJacobs):

 Yep that's better thanks @Lwangaman! Let's also make sure that the sprintf
 placeholders numbering matches the order they appear in the English
 string.

 In the `translators` comment we can also do `1. Description` instead of
 the full `%1$s` placeholder.

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


More information about the wp-trac mailing list