[wp-trac] [WordPress Trac] #27770: Can't save a widget that uses a namespace
WordPress Trac
noreply at wordpress.org
Sat Apr 12 01:15:40 UTC 2014
#27770: Can't save a widget that uses a namespace
--------------------------+-----------------------------
Reporter: pcfreak30 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 3.8.2
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
I am using the following plugin to provide autoload abilities:
http://wordpress.org/plugins/wp-autoloader/
I have created a widget that uses the namespace '\WordPress\Widgets'. I
was able to use register_widget with it.
However upon adding and saving the widget, I refresh and it is not stored.
Removing the namespacing and doing a manual require allows it to function
as intended.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27770>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list