WordPress.org

Make WordPress Core

Ticket #41386: 41386.patch

File 41386.patch, 1019 bytes (added by gk.loveweb, 2 years ago)

Removed 'new' word.

  • src/wp-includes/widgets/class-wp-widget-text.php

    diff --git a/src/wp-includes/widgets/class-wp-widget-text.php b/src/wp-includes/widgets/class-wp-widget-text.php
    index 2297d2b..2140811 100644
    a b class WP_Widget_Text extends WP_Widget { 
    340340                                <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $instance['title'] ); ?>"/>
    341341                        </p>
    342342                        <div class="notice inline notice-info notice-alt">
    343                                 <p><?php _e( 'This widget may contain code that may work better in the new &#8220;Custom HTML&#8221; widget. How about trying that widget instead?' ); ?></p>
     343                                <p><?php _e( 'This widget may contain code that may work better in the &#8220;Custom HTML&#8221; widget. How about trying that widget instead?' ); ?></p>
    344344                        </div>
    345345                        <p>
    346346                                <label for="<?php echo $this->get_field_id( 'text' ); ?>"><?php _e( 'Content:' ); ?></label>