[wp-trac] [WordPress Trac] #11518: Fatal error: Call to undefined method WP_Error::__destruct()
WordPress Trac
wp-trac at lists.automattic.com
Sun Dec 20 00:43:35 UTC 2009
#11518: Fatal error: Call to undefined method WP_Error::__destruct()
----------------------------+-----------------------------------------------
Reporter: westi | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9.1
Component: Administration | Version: 2.9
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
Comment(by hakre):
Now I checked the code. There is no need at all to manually execute
${{{rss->__desctruct();}}} And calling {{{unset($rss)}}} at the end of the
function while {{{$rss}}} is a local variable is just useless as well.
I'll attach a patch that is properly reflecting this.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11518#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list