Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #54504, comment 13


Ignore:
Timestamp:
11/25/2021 07:36:46 PM (3 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54504, comment 13

    initial v1  
    22> We also considered that Requests is used by more projects than just WordPress and that the namespace prefix should not cause undue friction in other projects using Requests, so we ended up compromising on `WpOrg\Requests\`.
    33
    4 Thanks for the context! Since PHP namespaces are case-insensitive, is there any chance to capitalize that as `WPorg\Requests\`, so that the capitalization of `WP` is consistent in lines like this and across the project in genera?
     4Thanks for the context! Since PHP namespaces are case-insensitive, is there any chance to capitalize that as `WPorg\Requests\`, so that the capitalization of `WP` is consistent in lines like this and across the project in general?
    55{{{
    66new WP_REST_Request( WPorg\Requests\Requests::POST, $route );