[wp-meta] [Making WordPress.org] #5443: PHP Coding standards documentation does not show PHP code
Making WordPress.org
noreply at wordpress.org
Fri Sep 25 23:29:32 UTC 2020
#5443: PHP Coding standards documentation does not show PHP code
---------------------------+--------------------------------
Reporter: stuardostr | Owner: (none)
Type: defect | Status: closed
Priority: high | Milestone:
Component: Developer Hub | Resolution: reported-upstream
Keywords: |
---------------------------+--------------------------------
Changes (by coffee2code):
* status: new => closed
* resolution: => reported-upstream
Comment:
Thanks for the report!
All content for the Coding Standards Handbook is imported from an
[https://github.com/WordPress/wpcs-docs/blob/master/wordpress-coding-
standards/php.md associated GitHub repository].
I've [https://github.com/WordPress/wpcs-docs/issues/44 reported the issue
there] and have [https://github.com/WordPress/wpcs-docs/pull/45 included a
pull request] for their consideration to address this.
This is related to #5346, where
[https://meta.trac.wordpress.org/ticket/5346#comment:2 I recommended] (and
also previously recommended upsteam in the handbook's GitHub repo
([https://github.com/WordPress/wpcs-docs/issues/38#issuecomment-677894100
#GH38]) that the handbook maintainers should use Markdown code fence
notation to denote code blocks instead of shortcodes. The Block Editor
does this and is able to show `<?php` (see
[https://developer.wordpress.org/block-editor/tutorials/plugin-sidebar-0
/plugin-sidebar-1-up-and-running/ example]).
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/5443#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list