[wp-trac] Re: [WordPress Trac] #7742: wp-cron functions not
accepting array(&$this, 'callback') as a callback
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 15 21:08:54 GMT 2008
#7742: wp-cron functions not accepting array(&$this,'callback') as a callback
---------------------+------------------------------------------------------
Reporter: arena | Owner: jacobsantos
Type: defect | Status: closed
Priority: high | Milestone: 2.7
Component: General | Version:
Severity: normal | Resolution: wontfix
Keywords: |
---------------------+------------------------------------------------------
Changes (by westi):
* status: assigned => closed
* resolution: => wontfix
Comment:
This feels like something that is unlikely to work.
You are creating a referenced object in one run of WordPress and expecting
it to exist in another one.
Just register a function as you hook and call into your class from there.
--
Ticket URL: <http://trac.wordpress.org/ticket/7742#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list