Gallery Count Does Not Update when Images are Moved to Trash
|Reported by:||bubel||Owned by:||ryan|
After a gallery is created within a post/page, if one of the images within said gallery is moved to the trash, the gallery count is not updated correctly; the image, within the trash, is still attached to the post/page. Gallery count only updates when the image is deleted permanently from the trash.
Tested with r12153.