[wp-trac] [WordPress Trac] #17127: Must use plugins not displayed in order of execution
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 15 09:56:34 UTC 2011
#17127: Must use plugins not displayed in order of execution
-------------------------------------+-----------------------
Reporter: jcnetsys | Owner: jcnetsys
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Plugins | Version: 3.1
Severity: trivial | Resolution: wontfix
Keywords: needs-patch 2nd-opinion |
-------------------------------------+-----------------------
Comment (by jcnetsys):
I understand what you say and agree - what I would say is that it doesn't
list them in alphabetical order (well not completely). My server is setup
to return the files in alphabetical order (as is many) and it returns
files that start with symbols first, then numbers then letters so
'_file.php' is returned before '1file.php' which in turn is returned
before 'afile.php'. This however is not the order that wordpress sorts
things when doing it alphabetically as the above example would be returned
in this order:
'1file.php', 'afile.php', '_file.php'
The actual problem is with the php function 'strnatcasecmp' which wasn't
designed to compare symbols.
And back to the 'you shouldn't rely on the loading order' - I totally
agree but from a debugging point of view it makes it easier (in my
opinion) to debug complex MU plugin setups if you can see the order they
were executed in.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17127#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list