[wp-trac] [WordPress Trac] #44591: PHP notice if optional argument isn't passed to map_meta_cap()
WordPress Trac
noreply at wordpress.org
Mon Sep 14 11:00:41 UTC 2020
#44591: PHP notice if optional argument isn't passed to map_meta_cap()
--------------------------+-----------------------------
Reporter: henry.wright | Owner: SergeyBiryukov
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.6
Component: Users | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Changes (by jeherve):
* keywords: needs-patch => has-patch
Comment:
I ran into this in
[https://core.trac.wordpress.org/ticket/50913#comment:20
comment:20:ticket50913], and a `_doing_it_wrong()` notice would definitely
have sped up my debugging steps, that's a good idea.
Is the patch attached what you had in mind?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44591#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list