Captions containing only whitespace trick `image_add_caption()` into thinking a caption is required, but the empty caption text confuses wpeditimage into stripping the 'align' class specified by the user. Fixes #21848. Built from https://develop.svn.wordpress.org/trunk@32079 git-svn-id: http://core.svn.wordpress.org/trunk@32058 1a063a9b-81f0-0310-95a4-ce76da25c4cd