[wp-trac] [WordPress Trac] #11597: __destruct() is not designed to clean up circular references
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 24 13:39:12 UTC 2009
#11597: __destruct() is not designed to clean up circular references
--------------------------+-------------------------------------------------
Reporter: hakre | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: General | Version: 2.9
Severity: normal | Keywords: needs-patch
--------------------------+-------------------------------------------------
SimplePie misuses the magic function name {{{__destruct}}} to clean up
it's own circular references.
Analysis and Discussion (as well as see also): See #11518
Solution: The code can be refactored by renaming the function to
{{{destroy}}}.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11597>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list