WordPress.org

Plugin Directory

Changeset 621563


Ignore:
Timestamp:
11/06/12 05:19:54 (18 months ago)
Author:
mdawaffe
Message:

Publicize: Link to documentation and managment from Learn More Text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/modules/module-info.php

    r621562 r621563  
    220220    <p><?php esc_html_e( 'Publicize allows you to connect your blog to popular social networking sites and automatically share new posts with your friends.  You can make a connection for just yourself or for all users on your blog.', 'jetpack' ) ?></p> 
    221221    <p><?php esc_html_e( 'Publicize allows you to share your posts on Facebook, Twitter, Tumblr, Yahoo!, and Linkedin.', 'jetpack' ); ?></p> 
    222 <?php 
    223 } 
     222 
     223<?php   if ( 'jetpack_module_more_info_connected_publicize' == current_filter() ) : ?> 
     224 
     225    <p><?php printf( __( 'Manage your <a href="%s">Publicize settings</a>.', 'jetpack' ), menu_page_url( 'sharing', false ) ); ?> 
     226 
     227<?php   endif; ?> 
     228 
     229    <p>&rarr; <a href="http://jetpack.me/support/publicize/"><?php esc_html_e( 'More information on using Publicize.', 'jetpack' ); ?></a></p> 
     230<?php 
     231} 
     232 
    224233add_action( 'jetpack_module_more_info_publicize', 'publicize_more_info' ); 
    225  
     234add_action( 'jetpack_module_more_info_connected_publicize', 'publicize_more_info' ); 
    226235 
    227236function publicize_load_more_link( $description ) { 
    228     echo '<a class="button-secondary more-info-link" href="http://en.support.wordpress.com/publicize/">' . esc_html__( 'Learn More', 'jetpack' ) . '</a>'; 
     237    echo '<a class="button-secondary more-info-link" href="http://jetpack.me/support/publicize/">' . esc_html__( 'Learn More', 'jetpack' ) . '</a>'; 
    229238} 
    230239add_filter( 'jetpack_learn_more_button_publicize', 'publicize_load_more_link' ); 
Note: See TracChangeset for help on using the changeset viewer.