Make WordPress Core

Opened 3 years ago

Last modified 12 months ago

#43858 new defect (bug)

Website-Icon with filename "favicon.ico.png" causes problems

Reported by: info@… Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Customize Keywords: reporter-feedback
Focuses: Cc:



I added an Website Icon with the name "favicon.ico.png" via Customizer. After that I got PHP errors and wasn't able to log in to my site any longer (field user name is empty). I swtched wp debug on and got this error:
preg_replace(): Compilation failed: missing terminating ] for character class at offset 30 in formatting.php on line 4669

After I removed all database entries with favicon.ico.png in it, all was fine again...

Change History (2)

#1 @SergeyBiryukov
3 years ago

  • Component changed from General to Customize

#2 @dlh
12 months ago

  • Keywords reporter-feedback added
  • Version 4.9.5 deleted

Hi @infonetzlichtcom, and welcome to Trac.

I'm unable to replicate this behavior on a fresh installation. Are you still able to replicate it with a default theme and with no plugins activated?

Note: See TracTickets for help on using tickets.