-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Update debug-javascript.md documentation #423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| - **If the issue only occurs in one browser** → it may be browser‑specific (e.g., an extension conflict). | ||
| - **If the issue occurs in all browsers** → it is likely a JavaScript or plugin/theme error. | ||
|
|
||
| 👉 Note: Browser extensions (ad blockers, privacy tools) can sometimes interfere with JavaScript. Try disabling extensions or using a private/incognito window to rule this out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there convention for highlighting a sentence with an emoji like this in the WP documentation? I don't recall seeing one. If not, I recommend we don't start doing it here and just make the note intro bold.
| 👉 Note: Browser extensions (ad blockers, privacy tools) can sometimes interfere with JavaScript. Try disabling extensions or using a private/incognito window to rule this out. | |
| **Note:** Browser extensions (ad blockers, privacy tools) can sometimes interfere with JavaScript. Try disabling extensions or using a private/incognito window to rule this out. |
|
|
||
| - **Chrome / Edge / Opera**: Press **F12** (or `Ctrl+Shift+I` / `Cmd+Option+I`) → select the **Console** tab. | ||
| - **Firefox**: Press **F12** (or `Ctrl+Shift+K` / `Cmd+Option+K`) → **Console** tab. | ||
| - **Safari**: First enable the Develop menu: `Safari → Settings → Advanced → Show Develop menu`. Then open **Develop → Show JavaScript Console**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some versions of macOS call the option "Show features for web developers" (same location).
Also once enabled, Cmd+Option+I will open the console like other browsers.
| @@ -0,0 +1,80 @@ | |||
| # Using Your Browser to Diagnose JavaScript Errors | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was there a reason the original filename was changed for this new one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think just for the sake of review - it needs to be named back to the original name
|
@garrettb-imh are you able to follow up on this PR? |
The “Using Your Browser to Diagnose JavaScript Errors” article is still helpful but outdated in browser instructions and links. I’ve modernized it to:
• Update DevTools access instructions (Chrome/Edge/Opera via F12, Safari/Firefox current steps).
• Add a note about browser extensions sometimes causing conflicts.
• Update support forum links to WordPress.org’s current support pages.
• Improve readability and SEO with clearer steps and headings.