WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #46541


Ignore:
Timestamp:
03/17/2019 02:50:47 AM (18 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #46541

    • Property Component changed from General to Widgets
  • Ticket #46541 – Description

    initial v1  
    1919}}}
    2020
    21 This does not work with multisite language switcher plugin since it is registered as "llocMslsMslsWidget" in $options and "lloc\Msls\MslsWidget" in $GLOBALS.
     21This does not work with multisite language switcher plugin since it is registered as "llocMslsMslsWidget" in `$options` and "lloc\Msls\MslsWidget" in `$GLOBALS`.
    2222
    23 I think it is a WordPress bug because there is no reason to register a class name without the '\'. Alternatively you may want to replace the '\' with '_' but then you'd have to do the same in $GLOBALS['wp_widget_factory']
     23I think it is a WordPress bug because there is no reason to register a class name without the '\'. Alternatively you may want to replace the '\' with '_' but then you'd have to do the same in `$GLOBALS['wp_widget_factory']`