WordPress.org

Make WordPress Core

Ticket #9974: t9974-text-widget-text-tweak.diff

File t9974-text-widget-text-tweak.diff, 1015 bytes (added by demetris, 6 years ago)

Replaces “Aumatically add paragraphs.” with “Auto-paragraphing” in Text widget option

  • wp-includes/default-widgets.php

     
    406406 
    407407                <textarea class="widefat" rows="16" cols="20" id="<?php echo $this->get_field_id('text'); ?>" name="<?php echo $this->get_field_name('text'); ?>"><?php echo $text; ?></textarea> 
    408408 
    409                 <p><input id="<?php echo $this->get_field_id('filter'); ?>" name="<?php echo $this->get_field_name('filter'); ?>" type="checkbox" <?php checked($instance['filter']); ?> />&nbsp;<label for="<?php echo $this->get_field_id('filter'); ?>"><?php _e('Automatically add paragraphs.'); ?></label></p> 
     409                <p><input id="<?php echo $this->get_field_id('filter'); ?>" name="<?php echo $this->get_field_name('filter'); ?>" type="checkbox" <?php checked($instance['filter']); ?> />&nbsp;<label for="<?php echo $this->get_field_id('filter'); ?>"><?php _e('Auto-paragraphing'); ?></label></p> 
    410410<?php 
    411411        } 
    412412}