Make WordPress Core

Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#52310 closed enhancement (fixed)

safe_style_css filter does not include border-top-left-radius, border-top-right-radius, etc

Reported by: ninetyninew's profile ninetyninew Owned by:
Milestone: 5.9 Priority: normal
Severity: normal Version:
Component: Formatting Keywords:
Focuses: Cc:

Description

safe_style_css filter includes border-radius by default but does not include the individual rules for:

border-top-left-radius
border-top-right-radius
border-bottom-left-radius
border-bottom-right-radius

https://core.trac.wordpress.org/browser/tags/5.6/src/wp-includes/kses.php#L2177

Change History (4)

#1 @sabernhardt
4 years ago

  • Component changed from General to Formatting
  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release

also: white-space has a ticket (#51707), if they should be combined in one changeset

Last edited 4 years ago by sabernhardt (previous) (diff)

#2 @lopo
3 years ago

  • Keywords close added; needs-patch removed
  • Resolution set to worksforme
  • Status changed from new to closed

It was fixed in 5.9.

#3 @desrosj
3 years ago

  • Keywords close removed
  • Milestone Future Release deleted

Looks like these were added to safecss_filter_attr() in [52049] and [52069].

#4 @SergeyBiryukov
3 years ago

  • Milestone set to 5.9
  • Resolution changed from worksforme to fixed
Note: See TracTickets for help on using tickets.