Make WordPress Core

Opened 11 months ago

Closed 4 months ago

Last modified 4 months ago

#49766 closed defect (bug) (worksforme)

if() not working in gutenberg

Reported by: mrinal013 Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.4
Component: Editor Keywords: close
Focuses: Cc:


if() not working in gutenberg with WordPress 5.4.

Way to create this problem:
Just add new post and write if() in post content and click on update.https://prnt.sc/rr1e5a

Attachments (1)

download.png (72.2 KB) - added by mrinal013 11 months ago.

Download all attachments as: .zip

Change History (5)

11 months ago

#1 @SergeyBiryukov
11 months ago

  • Component changed from General to Editor
  • Keywords dev-feedback removed

Hi there, welcome to WordPress Trac! Thanks for the report.

Just noting that I could not reproduce the issue on a clean install. This sounds like an issue triggered by a plugin or some overzealous security rule on the server.

Some similar issues: #25564, #25736, #32571, #33160, #44861, #45368, #48673, #48698.

#2 @SergeyBiryukov
11 months ago

  • Keywords close added

#3 @noisysocks
4 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

#4 @noisysocks
4 months ago

  • Resolution changed from wontfix to worksforme
Note: See TracTickets for help on using tickets.