Making WordPress.org


Ignore:
Timestamp:
10/13/2017 10:08:39 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Plugin Directory: Use wp_login_url() instead of hardcoded URL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/content-none.php

    r6015 r6024  
    4242        <?php else : ?>
    4343       
    44             <p><?php printf( __( '<a href="%s">Login to WordPress.org</a> to mark plugins as favorites.', 'wporg-plugins' ), esc_url( 'https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fplugins%2Fbrowse%2Ffavorites%2F' ) ); ?></p>
     44            <p><?php printf( __( '<a href="%s">Login to WordPress.org</a> to mark plugins as favorites.', 'wporg-plugins' ), esc_url( wp_login_url( 'https://wordpress.org/plugins/browse/favorites/' ) ) ); ?></p>
    4545
    4646        <?php
Note: See TracChangeset for help on using the changeset viewer.