[wp-trac] [WordPress Trac] #11549: Enable loading of the WordPress environment from external php script
WordPress Trac
wp-trac at lists.automattic.com
Tue Dec 22 13:07:06 UTC 2009
#11549: Enable loading of the WordPress environment from external php script
-----------------------------+----------------------------------------------
Reporter: mp2300 | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: minor | Keywords: needs-patch close
-----------------------------+----------------------------------------------
Comment(by mp2300):
At least variables from the core could be declared global.
It is a big deal when a object is created in non-global scope and assigned
by reference to a global variable. The reference is global, but the object
only exists in the local scope. By using the non-deprecated syntax, the
object is created in the global scope.
There are better ways to enable loading of wordpress from external
scripts, but they require a more extensive refactoring of the code.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11549#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list