You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tutorial "Introduction to Securely Developing Plugins" contains a block of PHP code that is not properly formatted using the wporg-code-block. This makes it harder to read and copy for learners.
Issue
The current code block is missing proper WordPress code formatting, such as the wporg-code-block wrapper.
The buttons for "Copy" and "Expand Code" are not present.
To improve readability and usability, wrap the PHP code inside a wporg-code-block with Copy and Expand Code buttons. This will ensure correct syntax highlighting and easy copying for learners.
Type of feedback
// content
Description
The tutorial "Introduction to Securely Developing Plugins" contains a block of PHP code that is not properly formatted using the
wporg-code-block. This makes it harder to read and copy for learners.Issue
wporg-code-blockwrapper.Step-by-step reproduction instructions
Screen recording
Introduction.to.securely.developing.plugins._.Learn.WordPress.webm
Suggested Fix
To improve readability and usability, wrap the PHP code inside a
wporg-code-blockwith Copy and Expand Code buttons. This will ensure correct syntax highlighting and easy copying for learners.I have a screenshot for better understanding.
Thank you.