[wp-trac] [WordPress Trac] #56596: Docs: Default parameter not mentioned on strip_core_block_namespace
WordPress Trac
noreply at wordpress.org
Fri Sep 23 00:39:51 UTC 2022
#56596: Docs: Default parameter not mentioned on strip_core_block_namespace
-----------------------------------------+------------------------------
Reporter: rakibwordpress | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Text Changes | Version: 6.0.1
Severity: normal | Resolution:
Keywords: has-patch changes-requested | Focuses:
-----------------------------------------+------------------------------
Changes (by ironprogrammer):
* keywords: has-patch => has-patch changes-requested
* component: Security => Text Changes
Comment:
Welcome to Trac @rakibwordpress, and thank you for your ticket submission,
and follow up PR! 🙌🏻🙌🏻
For the PR, I would recommend checking out the WordPress
[https://developer.wordpress.org/coding-standards/inline-documentation-
standards/php/#1-functions-class-methods PHP Documentation Standards] for
details on how the `@param` tag should be formatted. For example, I think
you should be able to simplify this to `Default null.` (Please note
punctuation, too -- these tags [https://developer.wordpress.org/coding-
standards/inline-documentation-standards/php/#formatting-guidelines
convert to official documentation], so the rules are very strict.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56596#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list