When you edit a caption, the edits are not reflected in the editor’s gallery embed. This induces distrust and anxiety. With every caption change, I either Update or Preview the post to verify the changes. Both require scrolling and losing my place. Because I don’t trust changes that don’t show in the editor, I’ll preview again before publish so I can scrutinize the captions. This is a worry pattern.
#gallery-18 {
margin: auto;
}
#gallery-18 .gallery-item {
float: left;
margin-top: 10px;
text-align: center;
width: 33%;
}
#gallery-18 img {
border: 2px solid #cfcfcf;
}
#gallery-18 .gallery-caption {
margin-left: 0;
}
/* see gallery_shortcode() in wp-includes/media.php */
- A gallery with no captions. Click the edit icon.
- Add a couple captions. Click Update Gallery.
- The captions do not display. Click Update to save the post.
- The captions now show. Click the gallery.
- Click the edit icon.
- Add text to the first caption. Click Update gallery.
- The change is not reflected in the editor. Click Update.
- Caption updated.







