WordPress.org

Making WordPress.org

Ticket #3829: 3829.patch

File 3829.patch, 1.3 KB (added by mukesh27, 3 years ago)

Working patch.

  • wordpress-meta/wordcamp.org/public_html/wp-content/plugins/multi-event-sponsors/views/shortcode-multi-event-sponsors.php

    diff -Naur wordpress-meta/wordcamp.org/public_html/wp-content/plugins/multi-event-sponsors/views/shortcode-multi-event-sponsors.php wordpress-meta/wordcamp.org/public_html/wp-content/plugins/multi-event-sponsors/views/shortcode-multi-event-sponsors.php
     
    1212                        <?php foreach( $sponsor_ids as $sponsor_id ) : ?>
    1313
    1414                                <li>
    15                                         <a href="<?php echo esc_attr( esc_url( get_permalink( $sponsor_id ) ) ); ?>"><?php echo esc_html( $sponsors[ $sponsor_id ]->post_title ); ?></a> is a
    16                                         <a href="<?php echo esc_attr( esc_url( get_permalink( $level_id ) ) ); ?>"><?php echo esc_html( $sponsorship_levels[ $level_id ]->post_title ); ?></a> for your event.
     15                                        <a href="<?php echo esc_url( get_permalink( $sponsor_id ) ); ?>"><?php echo esc_html( $sponsors[ $sponsor_id ]->post_title ); ?></a> is a
     16                                        <a href="<?php echo esc_url( get_permalink( $level_id ) ); ?>"><?php echo esc_html( $sponsorship_levels[ $level_id ]->post_title ); ?></a> for your event.
    1717                                </li>
    1818
    1919                        <?php endforeach; ?>