[wp-trac] Re: [WordPress Trac] #5297: Unexpected behavior with
plugins and global variables
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 31 22:05:46 GMT 2007
#5297: Unexpected behavior with plugins and global variables
----------------------------+-----------------------------------------------
Reporter: PaulButler | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.5
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Comment (by santosj):
Also, unlikely, but it might also be that two different classes are being
referenced and changed.
Use: {{{array(&$testplugin, 'save')}}} and see if it works. PHP5 obects
are passed by reference, which means you shouldn't need to do that, but
try it anyway.
--
Ticket URL: <http://trac.wordpress.org/ticket/5297#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list