mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Widgets: Add widget dedicated for HTML Code, taking over this role of the Text widget.
Props westonruter, timmydcrawford. See #40951, #35243. Fixes #40907. git-svn-id: https://develop.svn.wordpress.org/trunk@40893 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1474,6 +1474,8 @@ function wp_widgets_init() {
|
||||
|
||||
register_widget( 'WP_Nav_Menu_Widget' );
|
||||
|
||||
register_widget( 'WP_Widget_HTML_Code' );
|
||||
|
||||
/**
|
||||
* Fires after all default WordPress widgets have been registered.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user