[wp-trac] [WordPress Trac] #42001: Active Widget Not Fully Visible

WordPress Trac noreply at wordpress.org
Tue Apr 23 20:44:44 UTC 2019


#42001: Active Widget Not Fully Visible
-------------------------------------------------+-------------------------
 Reporter:  fervillz                             |       Owner:
                                                 |  ashokrd2013
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.3
Component:  Widgets                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch has-        |     Focuses:  javascript
  screenshots needs-refresh                      |
-------------------------------------------------+-------------------------

Comment (by westonruter):

 Replying to [comment:17 pento]:
 > - Why are HTML, Text, and RSS widgets wide?

 I assume the Text widget is wide in order to give more room to edit. The
 Custom HTML widget is wide because the Text widget was wide, as I recall.
 I don't know about the RSS widget's reason.

 The Text widget has been wide since it was introduced in 2.2 (#4169), as
 far as I can tell:

 * https://github.com/WordPress/wordpress-
 develop/blob/7488c46fd14e8328029796e009743a0592382a8b/wp-
 includes/widgets.php#L455-L456
 * https://github.com/WordPress/wordpress-
 develop/commit/bbdd020aa16e8cb139d74333896bf9b62a6b2c8b

 The [https://wordpress.org/plugins/widgets/ Widgets feature plugin] that
 was merged apparently had wide Text widget, so that is why it persisted.
 The first feature plugin commit had a `widget_text_register()` which
 included the wide widget:

 {{{#!php
 <?php
 register_widget_control($name, $i <= $number ? 'widget_text_control' : /*
 unregister */ '', 460, 350, $i);
 }}}

 https://plugins.trac.wordpress.org/browser/widgets/trunk/widgets.php?rev=5614#L792

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


More information about the wp-trac mailing list