[wp-trac] [WordPress Trac] #23357: PSR compatibility
WordPress Trac
noreply at wordpress.org
Sat Feb 2 02:40:35 UTC 2013
#23357: PSR compatibility
-------------------------+-------------------------
Reporter: fale | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: maybelater
Keywords: close |
-------------------------+-------------------------
Comment (by rmccue):
Replying to [comment:3 nacin]:
> rmccue expressed difficulty in the side-effect guideline, but this is
something we actually just naturally strive for anyway. (Moving a bunch of
add_action() calls into default-filters.php isn't a big deal.)
Definitely, but there are places where we seemingly intentionally have
those in the file next to the function (the various login functions come
to mind). In addition, all of `pluggable.php` would break this rule.
> We use spaces liberally, for function calls, control structures, and
such.
Some would say '''too''' liberally. ;)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23357#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list