[wp-trac] [WordPress Trac] #56467: Update @wordpress packages and backport changes from Gutenberg plugin into Core
WordPress Trac
noreply at wordpress.org
Mon Sep 19 14:18:32 UTC 2022
#56467: Update @wordpress packages and backport changes from Gutenberg plugin into
Core
--------------------------------------+------------------------------
Reporter: Bernhard Reiter | Owner: Bernhard Reiter
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 6.1
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Comment (by hellofromTonya):
In [changeset:"54204" 54204]:
{{{
#!CommitTicketReference repository="" revision="54204"
Editor: Fix function name case in `wp_default_packages_inline_scripts()`.
Fixes function name typo by changing from uppercase
`get_current_user_ID()` to lowercase `get_current_user_id()`.
>Note: Function names are case-insensitive for the ASCII characters A to
Z, though it is usually good form to call functions as they appear in
their declaration.
[https://www.php.net/manual/en/functions.user-defined.php As per the PHP
manual], PHP functions are case-insensitive, meaning the code runs.
However, this fix is necessary for consistency, maintainability, and
future-proofing.
Follow-up to [54182].
Unprop hellofromTonya.
See #56467.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56467#comment:156>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list