[wp-trac] [WordPress Trac] #58972: Doc block on function reference for page_template_dropdown is incorrect
WordPress Trac
noreply at wordpress.org
Thu Aug 3 17:08:36 UTC 2023
#58972: Doc block on function reference for page_template_dropdown is incorrect
--------------------------+-----------------------------
Reporter: maxinacube | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Text Changes | Version: trunk
Severity: minor | Keywords:
Focuses: docs |
--------------------------+-----------------------------
Within the doc block for the page_template_dropdown function in `wp-
admin/includes/template.php` it states that the default value for
$post_type is "post" while the parameter on the function sets the default
the value for $post_type to "page".
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58972>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list