[wp-trac] [WordPress Trac] #28607: Make wpautop()'s $allblocks variable filterable
WordPress Trac
noreply at wordpress.org
Fri Jun 3 06:25:43 UTC 2016
#28607: Make wpautop()'s $allblocks variable filterable
-------------------------------------+-------------------------------------
Reporter: walkinonwat3r | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version:
Severity: normal | Resolution:
Keywords: has-patch wpautop | Focuses: administration,
needs-refresh | template
-------------------------------------+-------------------------------------
Comment (by dingo_bastard):
Any info when will this be sorted out? The current 'hacks' ( [[https
://css-tricks.com/snippets/wordpress/insert-images-with-
figurefigcaption/|this]] or
[[http://wordpress.stackexchange.com/questions/174582/always-use-figure-
for-post-images|this]] ) kinda work (not ideally tho). And not on existing
content.
I don't even think that the auto p wrapping isn't as big a problem, as the
lack of `<figure>` tag around the image that has no caption. At least add
the wrapper around the image. This gives the developers some kind of
control over the image placement at the very least.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28607#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list