WordPress.org

Plugin Directory

Changeset 621531


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

Publicize: When linking a new user account on the sharing page, redirect back to the sharing page after the connection has been forged.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/modules/publicize/publicize-jetpack.php

    r621524 r621531  
    6060                        </div> 
    6161                        <div class="jetpack-install-container"> 
    62                             <p class="submit"><a href="<?php echo $jetpack->build_connect_url(); ?>" class="button-connector" id="wpcom-connect"><?php esc_html_e( 'Link account with WordPress.com', 'jetpack' ); ?></a></p> 
     62                            <p class="submit"><a href="<?php echo $jetpack->build_connect_url( false, menu_page_url( 'sharing', false ) ); ?>" class="button-connector" id="wpcom-connect"><?php esc_html_e( 'Link account with WordPress.com', 'jetpack' ); ?></a></p> 
    6363                        </div> 
    6464                    </div> 
Note: See TracChangeset for help on using the changeset viewer.