[wp-trac] Re: [WordPress Trac] #9441: Code Quality: Use of a global
Variable instead of a function with a static local variable
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 2 23:37:27 GMT 2009
#9441: Code Quality: Use of a global Variable instead of a function with a static
local variable
-------------------------+--------------------------------------------------
Reporter: hakre | Owner: anonymous
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: wontfix
Keywords: needs-patch |
-------------------------+--------------------------------------------------
Changes (by hakre):
* keywords: => needs-patch
Comment:
Replying to [comment:4 ryan]:
> Those functions provide for overriding the FORCE_SSL constants.
Removing them would cause back compat issues.
ryan, you didn't get my point. those functions are in there soley for the
case to mimic the behaviour of a global variable. not that I very much
global variables, but these functions can be called as "an implementation
of a global variable".
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9441#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list