WordPress.org

Making WordPress.org

Ticket #3825: 3825.patch

File 3825.patch, 954 bytes (added by mukesh27, 9 months ago)

Working patch.

  • wordpress-meta/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-template.php

    diff -Naur wordpress-meta/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-template.php wordpress-meta/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-template.php
     
    624624        <?php if ( isset( $custom_fields[ 'URL' ][0] ) && '' != str_replace( 'http://', '', $custom_fields[ 'URL' ][0] ) ) : ?>
    625625                <p>
    626626                        Website:
    627                         <a href="<?php echo esc_attr( esc_url( $custom_fields[ 'URL' ][0] ) ); ?>"><?php echo esc_html( esc_url( $custom_fields[ 'URL' ][0] ) ); ?></a>
     627                        <a href="<?php echo esc_url( $custom_fields[ 'URL' ][0] ); ?>"><?php echo esc_url( $custom_fields[ 'URL' ][0] ); ?></a>
    628628                </p>
    629629        <?php endif; ?>
    630630