WordPress / Documentation-Issue-Tracker

Issue Tracker for the WordPress Documentation team.
https://make.wordpress.org/docs/
Other
77 stars 39 forks source link

Plugin handbook: Incorrect formatted code snippets on "Managing Post Metadata" page #591

Closed nielslange closed 1 year ago

nielslange commented 1 year ago

Issue Description

Some code snippet on https://developer.wordpress.org/plugins/metadata/managing-post-metadata/ are incorrect formatted.

Example of an incorrect formatted code snippet

Screenshot 2022-11-05 at 14 01 40

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.

github-actions[bot] commented 1 year ago

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