WordPress.org

Making WordPress.org

Ticket #3831: 3831.patch

File 3831.patch, 2.6 KB (added by bhargavmehta, 17 months ago)

Patch file

  • global.wordpress.org/public_html/wp-content/themes/rosetta/front-page.php

    diff --git global.wordpress.org/public_html/wp-content/themes/rosetta/front-page.php global.wordpress.org/public_html/wp-content/themes/rosetta/front-page.php
    index 435d4d4..de76768 100644
    if ( false === $latest_release && $rosetta->rosetta->get_latest_release() ) : 
    9393                </a>
    9494                <?php echo esc_html( $item->post_title ); ?>
    9595                <br />
    96                 <a class="showcase-url" href="<?php echo esc_url( $url ); ?>" rel="nofollow"><?php _e( 'Visit the site &rarr;', 'rosetta' ); ?></a>
     96                <a class="showcase-url" href="<?php echo esc_url( $url ); ?>" rel="nofollow" target="_blank"><?php _e( 'Visit the site &rarr;', 'rosetta' ); ?></a>
    9797        </li>
    9898<?php
    9999        endforeach;
  • wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-home.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-home.php wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/page-home.php
    index a226d3f..b377bf7 100644
    get_header(); 
    3434
    3535                                                        <?php $wpsc_url = esc_url( get_post_meta( $post->ID, 'domain', true ) ); ?>
    3636                                                        <?php if ( $wpsc_url ) : // make sure the URL is valid (esc_url will return an empty string if not) ?>
    37                                                         <a href="<?php echo $wpsc_url; ?>" class="wpsc-linkout">
     37                                                        <a href="<?php echo $wpsc_url; ?>" class="wpsc-linkout" target="_blank">
    3838                                                                <?php echo str_replace( parse_url( $wpsc_url, PHP_URL_SCHEME ) . '://', '', untrailingslashit( $wpsc_url ) ); ?>
    3939                                                                <span class="linkout-symbol"><?php _ex( '&#10162;', 'linkout symbol', 'wporg-showcase' ); ?></span>
    4040                                                        </a>
  • wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/sidebar-right.php

    diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/sidebar-right.php wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/sidebar-right.php
    index 2715bb1..a54d256 100644
     
    11                <div class="col-3 rightsidebar">
    22                        <div class="rightsidebarwrapper">
    33                        <div class="currentSiteRating">
    4                                 <p class="button"><a href="http://<?php get_site_domain( false ); ?>"><?php _e( 'Visit Site', 'wporg-showcase' ); ?></a></p>
     4                                <p class="button"><a href="http://<?php get_site_domain( false ); ?>" target="_blank"><?php _e( 'Visit Site', 'wporg-showcase' ); ?></a></p>
    55
    66                                <?php wp_flavors(); ?>
    77                                <br />