If a wall gallery is deleted, the usermeta for that gallery is never deleted with it. Tracked it down to the mpp_delete_wall_gallery_id function which saves the result of mpp_delete_{$component}_wall_gallery_id to a variable and then runs a filter on it. Except I don't think this is done correctly and, anyway, the filter is never being used. Rewrote the code to simply run the function, so the appropriate delete{component} gallery function executes and the originating mpp_delete_gallery function finishes properly.
If a wall gallery is deleted, the usermeta for that gallery is never deleted with it. Tracked it down to the
mpp_delete_wall_gallery_id
function which saves the result ofmpp_delete_{$component}_wall_gallery_id
to a variable and then runs a filter on it. Except I don't think this is done correctly and, anyway, the filter is never being used. Rewrote the code to simply run the function, so the appropriate delete{component} gallery function executes and the originatingmpp_delete_gallery
function finishes properly.