[wp-trac] [WordPress Trac] #65398: "Special Characters must be escaped" warning in Theme File Editor for functions.php

WordPress Trac noreply at wordpress.org
Wed Jun 3 10:44:03 UTC 2026


#65398: "Special Characters must be escaped" warning in Theme File Editor for
functions.php
--------------------------+------------------------------
 Reporter:  terraGirl     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  7.0
 Severity:  minor         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by ankitkumarshah):

 Hi @terraGirl,
 Thanks for reporting this issue.

 I wasn't able to reproduce it on my end using the Twenty Eleven theme.
 Could you please share the exact theme you're using? That would help
 determine whether this is specific to a particular theme or a more general
 issue.

 If possible, please also let us know whether the warnings appear only in
 `functions.php` or in other PHP files as well.

 [[Image(https://i.postimg.cc/DzCy9qnf/Screenshot-2026-06-03-at-4-13-30-PM.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65398#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list