From 52829ad92fe00ef16fff78de2b9118e038e509ba Mon Sep 17 00:00:00 2001 From: koopersmith <koopersmith@1a063a9b-81f0-0310-95a4-ce76da25c4cd> Date: Wed, 19 Oct 2011 17:05:12 +0000 Subject: [PATCH] In welcome panel, move periods outside of links. see #11651. git-svn-id: http://svn.automattic.com/wordpress/trunk@19009 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/dashboard.php | 49 +++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index 5cd63e0d39..a8b79c3313 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -1287,38 +1287,44 @@ function wp_welcome_panel() { <div class="welcome-panel-column"> <ul> <li> - <a href="<?php echo esc_url( admin_url('profile.php') ); ?>"> - <?php _e('Fill in your profile.'); ?> - </a> + <?php echo sprintf( + __( '<a href="%s">Fill in your profile</a>.' ), + esc_url( admin_url('profile.php') ) + ); ?> </li> <li> - <a href="<?php echo esc_url( admin_url('options-discussion.php') ); ?>"> - <?php _e('Choose comment settings.'); ?> - </a> + <?php echo sprintf( + __( '<a href="%s">Choose comment settings</a>.' ), + esc_url( admin_url('options-discussion.php') ) + ); ?> </li> <li> - <a href="<?php echo esc_url( admin_url('options-general.php') ); ?>"> - <?php _e('Set your time zone.'); ?> - </a> + <?php echo sprintf( + __( '<a href="%s">Set your time zone</a>.' ), + esc_url( admin_url('options-general.php') ) + ); ?> </li> </ul> </div> <div class="welcome-panel-column"> <ul> <li> - <a href="<?php echo esc_url( admin_url('options-general.php') ); ?>"> - <?php _e('Edit your site tagline.'); ?> - </a> + <?php echo sprintf( + __( '<a href="%s">Edit your site tagline</a>.' ), + esc_url( admin_url('options-general.php') ) + ); ?> </li> <li> - <a href="<?php echo esc_url( admin_url('themes.php') ); ?>"> - <?php _e('Choose a theme.'); ?> - </a> + <?php echo sprintf( + __( '<a href="%s">Choose a theme</a>.' ), + esc_url( admin_url('themes.php') ) + ); ?> </li> <li> - <a href="<?php echo esc_url( admin_url('widgets.php') ); ?>"> - <?php _e('Add some widgets.'); ?> - </a> + <?php echo sprintf( + __( '<a href="%s">Add some widgets</a>.' ), + esc_url( admin_url('widgets.php') ) + ); ?> </li> </ul> </div> @@ -1332,9 +1338,10 @@ function wp_welcome_panel() { ); ?> </li> <li> - <a href="<?php echo esc_url( admin_url('post-new.php') ); ?>"> - <?php _e('Create your first post.'); ?> - </a> + <?php echo sprintf( + __( '<a href="%s">Create your first post</a>.' ), + esc_url( admin_url('post-new.php') ) + ); ?> </li> <li> <?php echo sprintf(