[wp-trac] [WordPress Trac] #51219: Theme editor page showing undefined variable notice
WordPress Trac
noreply at wordpress.org
Thu Sep 17 19:31:26 UTC 2020
#51219: Theme editor page showing undefined variable notice
--------------------------------+-----------------------------
Reporter: vinayak.anivase | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5.2
Component: Administration | Version: 5.5.1
Severity: normal | Resolution: fixed
Keywords: commit fixed-major | Focuses: administration
--------------------------------+-----------------------------
Comment (by youcefb):
Hello,
I'm having the same problem here when firing the filter hook for
registration_errors. I see that the problem is fixed but I was wondering
if I should also fix it myself locally or wait for an update (my
registration form validation is not triggering because of this). Can you
please enlighten me as what to do next?
Thanks!
Best regards,
Replying to [comment:4 SergeyBiryukov]:
> In [changeset:"48955" 48955]:
> {{{
> #!CommitTicketReference repository="" revision="48955"
> Administration: Give the `$error` variable in `wp-admin/admin-
header.php` a more descriptive name.
>
> This avoids a conflict with the same global variable used elsewhere,
e.g. in Theme Editor.
>
> Follow-up to [48850].
>
> Props vinayak.anivase.
> Merges [48938] to the 5.5 branch.
> Fixes #51219.
> }}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51219#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list