[wp-trac] [WordPress Trac] #50776: Translatable string inconsistency in `get_item_schema`

WordPress Trac noreply at wordpress.org
Sun Jul 26 21:36:45 UTC 2020


#50776: Translatable string inconsistency in `get_item_schema`
--------------------------+-----------------------
 Reporter:  audrasjb      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.5
Component:  I18N          |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  rest-api
--------------------------+-----------------------

Comment (by SergeyBiryukov):

 The name of the property itself is also inconsistent, `text_domain` vs.
 `textdomain`.

 Let's use `textdomain` in both, for consistency with the one in
 `WP_REST_Block_Types_Controller`.

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


More information about the wp-trac mailing list