[wp-trac] [WordPress Trac] #54597: Featured Image section missing on Posts and Pages
WordPress Trac
noreply at wordpress.org
Mon Jan 3 23:28:50 UTC 2022
#54597: Featured Image section missing on Posts and Pages
-------------------------------------------------+-------------------------
Reporter: noisysocks | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.9
Component: Editor | Version:
Severity: normal | Resolution: fixed
Keywords: has-screenshots has-patch has-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by joyously):
> That page refers to the old function `_wp_render_title_tag()` which did,
and that link is 404.
Yes, but something is wrong with the Code Reference if there is a link to
a non-existent page.
> Notice there's no difference in the markup before and after adding HTML5
support
https://core.trac.wordpress.org/browser/tags/5.8.1/src/wp-
includes/media.php#L2303 is where the support is checked for the gallery
shortcode. Without support, a gallery uses `dl`, `dt`, and `dd` with
inline `style` tag. With it, a gallery uses `figure`, `div`, and
`figcaption` and no inline `style` tag.
The caption shortcode
https://core.trac.wordpress.org/browser/tags/5.8.1/src/wp-
includes/media.php#L2202
uses `figure` and `figcaption` for html5, and `div` with `p` and an extra
10px of width without html5. So your screenshots show two cases of **no**
html5 support.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54597#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list