WP Tavern › Forums › Create Topic
james Does the editor recognize JavaScript? I created a script.js file for testing, and added a simple made up jquery line of code and it got all mad at me for using double quotes instead of single quotes. In JS it doesn’t matter, but in PHP it matters, so I’m wondering if it thinks I’m writing PHP?
james
Does the editor recognize JavaScript?
I created a script.js file for testing, and added a simple made up jquery line of code and it got all mad at me for using double quotes instead of single quotes.
In JS it doesn’t matter, but in PHP it matters, so I’m wondering if it thinks I’m writing PHP?
Name *
Email *
Website:
Topic Title (Maximum Length: 80):
Forum: — No forum —AI and WordPress Articles Blocks Showcase Discussions Events Introductions Jobs and Working in WordPress Podcast Episodes Site and Block Editor
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Email Address
Submit
Enter the destination URL
Or link to existing content