[wp-trac] [WordPress Trac] #65111: Twenty Sixteen: Center text in image captions
WordPress Trac
noreply at wordpress.org
Wed May 13 09:23:56 UTC 2026
#65111: Twenty Sixteen: Center text in image captions
-------------------------------------------------+-------------------------
Reporter: gaelbonithon | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Bundled Theme | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch close 2nd-opinion needs- | Focuses: css
refresh |
-------------------------------------------------+-------------------------
Comment (by gaelbonithon):
Replying to [comment:7 poena]:
> Using a block style is a good suggestion.
>
>
> @gaelbonithon I would suggest moving the registration outside of the
theme setup and use the init hook.
> register_block_style was introduced in WP 5.3, and Twenty Sixteen
supports WP version 4.4, so it needs to be wrapped in an {{{if (
function_exists( 'register_block_style' ) ) {}}} condition, please see
Twenty Thirteen for an example.
>
Thanks for review, patch updated. I added `@since Twenty Sixteen 3.9`
based on `readme.txt`; I hope that's correct.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65111#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list