[wp-trac] [WordPress Trac] #58218: Unused local variable $parent_post_type in class-wp-rest-revisions-controller.php
WordPress Trac
noreply at wordpress.org
Fri Apr 28 09:49:10 UTC 2023
#58218: Unused local variable $parent_post_type in class-wp-rest-revisions-
controller.php
---------------------------------------------+---------------------
Reporter: Soean | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.3
Component: REST API | Version: 5.5
Severity: normal | Resolution:
Keywords: has-patch commit good-first-bug | Focuses:
---------------------------------------------+---------------------
Description changed by SergeyBiryukov:
Old description:
> We should remove a unused local variable `$parent_post_type`. The value
> of the variable is not used anywhere.
>
> Introduced in Change https://core.trac.wordpress.org/changeset/47850
> [[https://github.com/WordPress/wordpress-
> develop/commit/f37a28858d662135bffff7a2f77d52408595da91#diff-
> 17ea2a95dc40f1f9804ed19a22d88a110f88920ca49e503860d00e5f34aef0b2L412|GitHub]]
New description:
We should remove a unused local variable `$parent_post_type`. The value of
the variable is not used anywhere.
Introduced in Change [47850] [[https://github.com/WordPress/wordpress-
develop/commit/f37a28858d662135bffff7a2f77d52408595da91#diff-
17ea2a95dc40f1f9804ed19a22d88a110f88920ca49e503860d00e5f34aef0b2L412|GitHub]]
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58218#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list