Skip to content

Commit

Permalink
Updated Wording
Browse files Browse the repository at this point in the history
-  Use wordpress.com/plugin instead of the capitalized version
- Replaced printf with esc_html_e
  • Loading branch information
enejb committed Dec 12, 2014
1 parent 218bfe9 commit 28d3c6e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions class.jetpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -2424,8 +2424,8 @@ function admin_jetpack_manage_notice() {
<div id="message" class="updated jetpack-message jp-banner is-opt-in" style="display:block !important;">
<a class="jp-banner__dismiss" href="<?php echo esc_url( $opt_out_url ); ?>" title="<?php esc_attr_e( 'Dismiss this notice for now.', 'jetpack' ); ?>"></a>
<div class="jp-banner__content">
<h4><?php printf( __( 'New in Jetpack: Centralized Site Management' ) ); ?></h4>
<p><?php printf( __( 'Manage multiple sites and keep plugins up-to-date from one dashboard at WordPress.com/Plugins. Enabling allows all existing, connected Administrators to modify your site from WordPress.com. <a href="%s" target="_blank">Learn More</a>.', 'jetpack' ), 'http://jetpack.me/support/site-management' ); ?></p>
<h4><?php esc_html_e( 'New in Jetpack: Centralized Site Management', 'jetpack' ); ?></h4>
<p><?php printf( __( 'Manage multiple sites and keep plugins up-to-date from one dashboard at wordpress.com/plugins. Enabling allows all existing, connected Administrators to modify your site from WordPress.com. <a href="%s" target="_blank">Learn More</a>.', 'jetpack' ), 'http://jetpack.me/support/site-management' ); ?></p>
</div>
<div class="jp-banner__action-container is-opt-in">
<a href="<?php echo esc_url( $opt_in_url ); ?>" class="jp-banner__button" id="wpcom-connect"><?php _e( 'Activate now', 'jetpack' ); ?></a>
Expand Down Expand Up @@ -2454,7 +2454,7 @@ function opt_in_jetpack_manage_notice() {
?>
<div class="wrap">
<div id="message" class="jetpack-message is-opt-in">
<?php echo sprintf( __( '<p><a href="%1$s" title="Opt in to WordPress.com Site Management" >Activate Site Management</a> to manage plugins and multiple sites from our centralized dashboard at WordPress.com/Plugins. <a href="%2$s" target="_blank">Learn more</a>.</p><a href="%1$s" class="jp-button">Activate Now</a>', 'jetpack' ), $this->opt_in_jetpack_manage_url(), 'http://jetpack.me/support/site-management' ); ?>
<?php echo sprintf( __( '<p><a href="%1$s" title="Opt in to WordPress.com Site Management" >Activate Site Management</a> to manage plugins and multiple sites from our centralized dashboard at wordpress.com/plugins. <a href="%2$s" target="_blank">Learn more</a>.</p><a href="%1$s" class="jp-button">Activate Now</a>', 'jetpack' ), $this->opt_in_jetpack_manage_url(), 'http://jetpack.me/support/site-management' ); ?>
</div>
</div>
<?php
Expand Down Expand Up @@ -2858,7 +2858,7 @@ function admin_page_load() {
$this->message .= Jetpack::jetpack_comment_notice();
break;
case 'jetpack-manage':
$this->message = '<strong>' . sprintf( __( 'You are all set! Your site can now be managed from <a href="%s" target="_blank">WordPress.com/Plugins</a>.', 'jetpack' ), 'https://wordpress.com/plugins' ) . '</strong>';
$this->message = '<strong>' . sprintf( __( 'You are all set! Your site can now be managed from <a href="%s" target="_blank">wordpress.com/plugins</a>.', 'jetpack' ), 'https://wordpress.com/plugins' ) . '</strong>';
if ( $activated_jsonapi ) {
$this->message .= '<br /><strong>' . __( 'JSON API has been activated for you!', 'jetpack' ) . '</strong>';
}
Expand Down

0 comments on commit 28d3c6e

Please sign in to comment.