[wp-trac] [WordPress Trac] #54082: Unable to Delete Themes / Update Plugins - Additional commonL10n Issues

WordPress Trac noreply at wordpress.org
Tue Sep 7 23:26:24 UTC 2021


#54082: Unable to Delete Themes / Update Plugins - Additional commonL10n Issues
---------------------------+------------------------------
 Reporter:  codesmith32    |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Script Loader  |     Version:  5.8
 Severity:  normal         |  Resolution:
 Keywords:  close          |     Focuses:
---------------------------+------------------------------
Description changed by SergeyBiryukov:

Old description:

> I'm having a ton of issues using the admin (updating plugins, deleting
> themes), and they all appear to stem from commonL10n not being defined in
> the JS. Here are the errors I'm seeing in the console when I load any
> admin page:
>

> {{{
> jQuery.Deferred exception: commonL10n is not defined @https://example.com
> /wp-admin/js/common.min.js?ver=5.8:2:14762
>
> jQuery.Deferred exception: window.authcheckL10n is undefined
> @https://example.com/wp-includes/js/wp-auth-check.min.js?ver=5.8:2:433
>
> Uncaught ReferenceError: commonL10n is not defined: @https://example.com
> /wp-admin/js/common.min.js?ver=5.8:2:14762
>
> Uncaught TypeError: window.authcheckL10n is undefined:
> @https://example.com/wp-includes/js/wp-auth-check.min.js?ver=5.8:2:433
> }}}
>
> I did do some research and found that it appears commonL10n was removed?
> https://core.trac.wordpress.org/ticket/51123
> Was it really accidentally left in so many core files?
> I did upgrade my WP install from WP 5.4 to 5.8. Is it possible it didn't
> upgrade these files or something? And if so, perhaps the update procedure
> is broken?

New description:

 I'm having a ton of issues using the admin (updating plugins, deleting
 themes), and they all appear to stem from commonL10n not being defined in
 the JS. Here are the errors I'm seeing in the console when I load any
 admin page:


 {{{
 jQuery.Deferred exception: commonL10n is not defined @https://example.com
 /wp-admin/js/common.min.js?ver=5.8:2:14762

 jQuery.Deferred exception: window.authcheckL10n is undefined
 @https://example.com/wp-includes/js/wp-auth-check.min.js?ver=5.8:2:433

 Uncaught ReferenceError: commonL10n is not defined: @https://example.com
 /wp-admin/js/common.min.js?ver=5.8:2:14762

 Uncaught TypeError: window.authcheckL10n is undefined:
 @https://example.com/wp-includes/js/wp-auth-check.min.js?ver=5.8:2:433
 }}}

 I did do some research and found that it appears commonL10n was removed?
 #51123
 Was it really accidentally left in so many core files?
 I did upgrade my WP install from WP 5.4 to 5.8. Is it possible it didn't
 upgrade these files or something? And if so, perhaps the update procedure
 is broken?

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54082#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list