Skip to content
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

Plugin handbook: Incorrect formatted code snippets on "Header Requirements" page #566

Closed
2 tasks
Tracked by #565
nielslange opened this issue Nov 5, 2022 · 1 comment
Closed
2 tasks
Tracked by #565
Labels
developer documentation (DevHub) Improvements or additions to developer documentation plugins Issues for Plugin Developer Handbook tracking issue Use to track a series of related issues.

Comments

@nielslange
Copy link
Collaborator

Issue Description

Some code snippet on https://developer.wordpress.org/plugins/plugin-basics/header-requirements/ are incorrect formatted.

Example of an incorrect formatted code snippet

Screenshot 2022-11-05 at 11 52 08

URL of the Page with the Issue

Section of Page with the issue

Why is this a problem?

These code snippets might have been created before the existence of the Code Syntax Block.

Suggested Fix

Using the same Code Syntax Block, as used for working code snippets such as https://developer.wordpress.org/themes/block-themes/converting-a-classic-theme-to-a-block-theme/#adding-block-template-parts-in-classic-themes, should solve this problem.

@nielslange nielslange added developer documentation (DevHub) Improvements or additions to developer documentation tracking issue Use to track a series of related issues. plugins Issues for Plugin Developer Handbook labels Nov 5, 2022
@github-actions
Copy link

github-actions bot commented Nov 5, 2022

Heads up @theMikeD - the "plugins" label was applied to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer documentation (DevHub) Improvements or additions to developer documentation plugins Issues for Plugin Developer Handbook tracking issue Use to track a series of related issues.
Projects
None yet
Development

No branches or pull requests

2 participants