[wp-trac] [WordPress Trac] #50913: PHP 8.0: various compatibility fixes
WordPress Trac
noreply at wordpress.org
Wed Sep 9 14:29:20 UTC 2020
#50913: PHP 8.0: various compatibility fixes
-------------------------------------------+-------------------------------
Reporter: jrf | Owner: SergeyBiryukov
Type: task (blessed) | Status: reviewing
Priority: normal | Milestone: 5.6
Component: General | Version:
Severity: normal | Resolution:
Keywords: php8 has-patch needs-dev-note | Focuses: coding-standards
-------------------------------------------+-------------------------------
Comment (by jeherve):
Replying to [comment:12 SergeyBiryukov]:
> In [changeset:"48961" 48961]:
> {{{
> #!CommitTicketReference repository="" revision="48961"
> Code Modernization: Remove unnecessary reference sign from
`get_comment()` definition.
After this change, and considering @jrf's comment, should we consider
updating `map_meta_cap` to take this into account, when no arguments are
passed and `get_comment( $args[0] )` now produces a notice?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50913#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list