Changeset 37040 for trunk/src/wp-includes/widgets/class-wp-widget-text.php
- Timestamp:
- 03/21/2016 09:58:02 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-text.php
r36622 r37040 24 24 */ 25 25 public function __construct() { 26 $widget_ops = array('classname' => 'widget_text', 'description' => __('Arbitrary text or HTML.')); 27 $control_ops = array('width' => 400, 'height' => 350); 28 parent::__construct('text', __('Text'), $widget_ops, $control_ops); 26 $widget_ops = array( 27 'classname' => 'widget_text', 28 'description' => __( 'Arbitrary text or HTML.' ), 29 'customize_selective_refresh' => true, 30 ); 31 $control_ops = array( 'width' => 400, 'height' => 350 ); 32 parent::__construct( 'text', __( 'Text' ), $widget_ops, $control_ops ); 29 33 } 30 34
Note: See TracChangeset
for help on using the changeset viewer.