WordPress.org

Make WordPress Core

Opened 4 months ago

Last modified 12 days ago

#47594 accepted enhancement

Add nbsp symbol codes to convert throught sanitize_title

Reported by: hokku Owned by: SergeyBiryukov
Milestone: Future Release Priority: normal
Severity: minor Version: trunk
Component: Formatting Keywords: has-patch reporter-feedback 2nd-opinion
Focuses: Cc:
PR Number:

Description

Default filters needs to be supplemented nbsp codes such as

[ '%e2%80%af', '%e2%80%87', '%e2%81%a0' ]

and

[ ' ', ' ', ' ', ' ', '⁠', '⁠' ]

Attachments (1)

47594.diff (1.7 KB) - added by adhitya03 3 months ago.
Patch

Download all attachments as: .zip

Change History (9)

#1 @hokku
4 months ago

  • Type changed from defect (bug) to enhancement

#2 @hokku
4 months ago

  • Summary changed from Add nbsp symbol codes to convert to sanitize_title to Add nbsp symbol codes to convert throught sanitize_title

#3 @SergeyBiryukov
4 months ago

  • Milestone changed from Awaiting Review to 5.3
  • Owner set to SergeyBiryukov
  • Status changed from new to accepted

#4 @adhitya03
3 months ago

Hi,I wanna make a patch for this but I need clarify something so I don't get it wrong.
In this case, do mean "Default filters needs to be supplemented nbsp" is to sanitize all kind of Unicode characters of SPACE to be its HTML Entity "&nbsp" ?

Last edited 3 months ago by adhitya03 (previous) (diff)

@adhitya03
3 months ago

Patch

#5 @adhitya03
3 months ago

  • Keywords has-patch added

#6 @azaozz
4 weeks ago

  • Keywords reporter-feedback 2nd-opinion added

I need to clarify something so I don't get it wrong.

I'm missing some context here too :)

@SergeyBiryukov are you looking at this for 5.3? I'm not sure I understand what's being fixed and why.

#7 @davidbaumwald
3 weeks ago

  • Milestone changed from 5.3 to Future Release

With version 5.3 Beta 1 releasing today, I'm moving this to Future Release.

Note: See TracTickets for help on using tickets.