Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#50840 closed defect (bug) (fixed)

wp-playlist HTML validation ERROR

Reported by: hvar's profile hvar Owned by: sergeybiryukov's profile 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
5 years 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
5 years 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
5 years 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
5 years ago

Thank you!

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