[wp-trac] [WordPress Trac] #57690: The get_delete_post_link function uses the deprecated parameter
WordPress Trac
noreply at wordpress.org
Sat Feb 11 13:10:38 UTC 2023
#57690: The get_delete_post_link function uses the deprecated parameter
------------------------------------+-------------------------------
Reporter: krunal265 | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.2
Component: Options, Meta APIs | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit php81 | Focuses: coding-standards
------------------------------------+-------------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"55306" 55306]:
{{{
#!CommitTicketReference repository="" revision="55306"
Coding Standards: Pass correct value to `get_delete_post_link()` in
`attachment_submit_meta_box()`.
The `$deprecated` parameter of `get_delete_post_link()` is documented to
accept a string, not `null`.
Follow-up to [14099], [21948].
Props krunal265, jrf.
Fixes #57690.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57690#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list