WordPress.org

Plugin Directory

Changeset 621536


Ignore:
Timestamp:
11/06/12 03:35:34 (18 months ago)
Author:
mdawaffe
Message:

Post By Email: Include management link in the Learn More text.

File:
1 edited

Legend:

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

    r621397 r621536  
    675675    <p><?php esc_html_e( 'Post by Email is a way of publishing posts on your blog by email. Any email client can be used to send the email, allowing you to publish quickly and easily from devices such as cell phones.', 'jetpack' ); ?></p> 
    676676 
    677     <p>&rarr; <a href="http://en.support.wordpress.com/post-by-email/#sending-emails"><?php esc_html_e( 'More information on sending emails, attachments, and customizing your posts.', 'jetpack' ); ?></a></p> 
     677<?php if ( 'jetpack_module_more_info_connected_post-by-email' == current_filter() ) : ?> 
     678 
     679    <p><?php printf( __( 'Manage your Post By Email address from your <a href="%s">profile settings</a>.', 'jetpack' ), esc_url( get_edit_profile_url( get_current_user_id() ) . '#post-by-email' ) ); ?> 
     680 
     681<?php endif; ?> 
     682 
     683    <p>&rarr; <a href="http://jetpack.me/support/post-by-email"><?php esc_html_e( 'More information on sending emails, attachments, and customizing your posts.', 'jetpack' ); ?></a></p> 
    678684 
    679685<?php 
     
    685691 
    686692add_action( 'jetpack_module_more_info_post-by-email', 'jetpack_post_by_email_more_info' ); 
     693add_action( 'jetpack_module_more_info_connected_post-by-email', 'jetpack_post_by_email_more_info' ); 
    687694add_action( 'jetpack_learn_more_button_post-by-email', 'jetpack_post_by_email_more_link' ); 
    688695// Post by Email: STOP 
Note: See TracChangeset for help on using the changeset viewer.