Make WordPress Core

Ticket #41798: 41798.2.diff

File 41798.2.diff, 1.6 KB (added by danieltj, 9 years ago)

Added a patch to make the string a bit less informal.

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

    diff --git wp-includes/widgets/class-wp-widget-text.php wp-includes/widgets/class-wp-widget-text.php
    index d317e00..3495473 100644
    class WP_Widget_Text extends WP_Widget { 
    398398                                        <div class="wp-pointer-content">
    399399                                                <h3><?php _e( 'New Custom HTML Widget' ); ?></h3>
    400400                                                <?php if ( is_customize_preview() ) : ?>
    401                                                         <p><?php _e( 'Hey, did you hear we have a &#8220;Custom HTML&#8221; widget now? You can find it by pressing the &#8220;<a class="add-widget" href="#">Add a Widget</a>&#8221; button and searching for &#8220;HTML&#8221;. Check it out to add some custom code to your site!' ); ?></p>
     401                                                        <p><?php _e( 'Did you know there is a &#8220;Custom HTML&#8221; widget? You can find it by pressing the &#8220;<a class="add-widget" href="#">Add a Widget</a>&#8221; button and searching for &#8220;HTML&#8221;. Check it out to add some custom code to your site!' ); ?></p>
    402402                                                <?php else : ?>
    403                                                         <p><?php _e( 'Hey, did you hear we have a &#8220;Custom HTML&#8221; widget now? You can find it by scanning the list of available widgets on this screen. Check it out to add some custom code to your site!' ); ?></p>
     403                                                        <p><?php _e( 'Did you know there is a &#8220;Custom HTML&#8221; widget? You can find it by scanning the list of available widgets on this screen. Check it out to add some custom code to your site!' ); ?></p>
    404404                                                <?php endif; ?>
    405405                                                <div class="wp-pointer-buttons">
    406406                                                        <a class="close" href="#"><?php _e( 'Dismiss' ); ?></a>