Making WordPress.org

Changeset 7793


Ignore:
Timestamp:
10/27/2018 02:33:27 PM (3 years ago)
Author:
Otto42
Message:

Plugins: Download link won't work on embeds because it's a different domain. Use just the plugin link for now. Fixes #meta3889

File:
1 edited

Legend:

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

    r7499 r7793  
    181181            <div class="wp-embed-meta">
    182182                <?php if ( 'publish' === get_post_status() ) : ?>
    183                     <a class="plugin-download button download-button button-large" href="<?php echo esc_url( Template::download_link() ); ?>"><?php esc_html_e( 'Get this plugin', 'wporg-plugins' ); ?></a>
     183                    <a class="plugin-download button download-button button-large" href="<?php echo esc_url( the_permalink() ); ?>"><?php esc_html_e( 'Get this plugin', 'wporg-plugins' ); ?></a>
    184184                <?php endif; ?>
    185185            </div>
Note: See TracChangeset for help on using the changeset viewer.