[wp-trac] [WordPress Trac] #16891: Deleting all attachments from post under 'Gallery' tab shows 'From Computer' tab sans uploader
WordPress Trac
wp-trac at lists.automattic.com
Sat Mar 19 11:28:45 UTC 2011
#16891: Deleting all attachments from post under 'Gallery' tab shows 'From
Computer' tab sans uploader
----------------------------------------------+----------------------------
Reporter: kawauso | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
Component: Media | Review
Severity: normal | Version: 3.1
Keywords: has-patch dev-feedback 3.2-early | Resolution:
----------------------------------------------+----------------------------
Comment (by hakre):
Thanks for providing the patch. I could apply the patch to my trunk
testbed and can confirm that it fixes the issue.
In the review of the patch, I corrected a minor issue. Static variables
are NULL by default (as any unset variable in PHP), there is no need to
explicitly set them to NULL:
`static $attachments = null;`
That's the only change in the new patch.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16891#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list