WordPress.org

Make WordPress Core

Opened 4 months ago

Closed 4 months ago

Last modified 4 months ago

#50840 closed defect (bug) (fixed)

wp-playlist HTML validation ERROR

Reported by: hvar Owned by: SergeyBiryukov
Milestone: 5.6 Priority: normal
Severity: major Version: 5.1
Component: Media Keywords:
Focuses: Cc:

Description

the html validator is reporting an error for the wp-playlist part of the core

the error part is something like this:

 <audio controls="controls" preload="none" width="
                                   618               
         "                        
           > 

with line breaks in betweens. Please, could you fix this? Thank you

Change History (4)

#1 in reply to: ↑ description @hvar
4 months ago

Replying to hvar:

the html validator is reporting an error for the wp-playlist part of the core

the error part is something like this:

 <audio controls="controls" preload="none" width="
                                   618               
         "                        
           > 

with line breaks in betweens. Please, could you fix this? Thank you

I created a post, and added my playlist to it using the wordpress built-in playlist feature. After that, html validator is showing this error on my page.

#2 @SergeyBiryukov
4 months ago

  • Component changed from General to Media
  • Keywords wp-playlist html error removed
  • Milestone changed from Awaiting Review to 5.6
  • Version changed from 5.4.2 to 5.1

Hi there, welcome to WordPress Trac! Thanks for the report.

Introduced in [42343]. Changing the version to 5.1 as the earliest affected version.

#3 follow-up: @SergeyBiryukov
4 months ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 48716:

Media: Remove extra space from the width attribute in wp_playlist_shortcode() output.

Props hvar.
Fixes #50840.

#4 in reply to: ↑ 3 @hvar
4 months ago

Thank you!

Last edited 4 months ago by hvar (previous) (diff)
Note: See TracTickets for help on using tickets.