Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#40324 new defect (bug)

make_clickable doesn't work if url stands after an even number off spaces

Reported by: wordpressrene's profile wordpressrene Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7
Component: Formatting Keywords:
Focuses: Cc:


The function make_clickable doesn't work, if an even number of spaces is written before an url


Test post    -> 1 space  = works
Test post   -> 2 spaces = doesn't work
Test post  -> 3 spaces = works
Test post -> 4 spaces = doesn't work

I tested it in WP 4.7 and 4.7.3

Change History (1)

#1 @lukecavanagh
7 years ago


So similar function to to remove trailing white spaces then in make_clickable?

Note: See TracTickets for help on using tickets.