[wp-trac] [WordPress Trac] #58049: Add default value to the @param tag for the constructor in /wp-admin/includes/class-custom-image-header.php
WordPress Trac
noreply at wordpress.org
Sat Apr 1 19:14:52 UTC 2023
#58049: Add default value to the @param tag for the constructor in /wp-
admin/includes/class-custom-image-header.php
------------------------------+-----------------------------
Reporter: faisalahammad | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: coding-standards |
------------------------------+-----------------------------
WordPress coding standard recommends adding default values to the @param
tag for functions that have default values for parameters. In the /wp-
admin/includes/class-custom-image-header.php file, the constructor
function has a parameter named $admin_image_div_callback, but there is no
default value mentioned in the @param tag.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58049>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list