[wp-trac] [WordPress Trac] #56338: `taxonomy_exists()` does not guard against non-string arguments.
WordPress Trac
noreply at wordpress.org
Thu Sep 1 16:48:40 UTC 2022
#56338: `taxonomy_exists()` does not guard against non-string arguments.
--------------------------------------------------+-----------------------
Reporter: costdev | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.1
Component: Taxonomy | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: php8 has-patch has-unit-tests commit | Focuses:
--------------------------------------------------+-----------------------
Comment (by SergeyBiryukov):
In [changeset:"54052" 54052]:
{{{
#!CommitTicketReference repository="" revision="54052"
Tests: Correct the `@covers` tag syntax in a `taxonomy_exists()` test with
non-string taxonomy.
This addresses a notice when generating the code coverage report:
{{{
"@covers :taxonomy_exists" is invalid
}}}
Follow-up to [53869].
See #56338, #55652.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56338#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list