Feedback - Incorrect Code Formatting in "Introduction to securely developing plugins". #3098
Labels
Awaiting Triage
Issues awaiting triage. See Training Team handbook for how to triage issues.
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-block
wrapper.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-block
with 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.
The text was updated successfully, but these errors were encountered: