[wp-meta] [Making WordPress.org] #3692: Add CamelCase support from plugin names as per PSR-4 Autoloaders standard
Making WordPress.org
noreply at wordpress.org
Thu Jun 28 15:09:08 UTC 2018
#3692: Add CamelCase support from plugin names as per PSR-4 Autoloaders standard
------------------------------+------------------------------------
Reporter: KestutisIT | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Plugin Directory v3.0
Component: Plugin Directory | Resolution:
Keywords: |
------------------------------+------------------------------------
Comment (by Otto42):
I'm sorry, I read through all this and I still don't understand what the
goal is here.
If the goal is to have capital letters in the plugin slug, then I'm going
to have to say no, and close the ticket with a wontfix.
Plugin slugs are all lowercase, they are used for the URL of the plugin in
our directory, they are used as the foldername for the plugin itself, and
they are unique entities in the system.
Adding support for non-lowercase letters would also require additional
code to prevent issues where somebody makes "exampleslug" vs
"ExampleSlug", which would work on a unix based hosting, but not a Windows
based one.
If you want to code your plugin code to a specific standard, then you can
do so if you wish. But having it located in a folder using lowercase
letters only is not really a very large burden to bear.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3692#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list