[wp-trac] [WordPress Trac] #25646: figcaption should not be treated as a block by wpautop()
WordPress Trac
noreply at wordpress.org
Sat Jan 18 18:34:50 UTC 2014
#25646: figcaption should not be treated as a block by wpautop()
--------------------------+--------------------
Reporter: laacz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9
Component: Formatting | Version: 3.6.1
Severity: normal | Resolution:
Keywords: wpautop |
--------------------------+--------------------
Comment (by nacin):
Hi oso96_2000, [attachment:figcaption-not-block.25646.diff] looks great.
Totally okay for you to step in!
A change has to occur in JavaScript as well — a version of wpautop exists
there, too. You'll find it in wp-admin/js/editor.js:
https://core.trac.wordpress.org/browser/tags/3.8/src/wp-
admin/js/editor.js#L163.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25646#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list