Bugfix on Profit Theme Engine

This topic contains 1 reply, has 2 voices, and was last updated by   J. Davis 2 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #442230

    Jörn

    Hi,
    Profit Theme Lite with Profit Theme Engine on WP4.7 produces broken email and skype links in contacts widget.

    This is the fixed code:

    			<?php if ( !empty( $email ) ) : ?>
                <li class="contact-email">
                    <i class="fa fa-envelope-o"></i><div class="contact-content"><a href="<?php echo esc_url( 'mailto:' . $email ); ?>"><?php echo esc_html( $email ); ?></a> </div>
                </li>
    			<?php endif ?>
    			
    			<?php if ( !empty( $skype ) ) : ?>
                <li class="contact-skype">
                    <i class="fa fa-skype"></i><div class="contact-content"><a href="<?php echo esc_url( 'skype:' . $skype, array('skype') ); ?>"><?php echo esc_html( $skype ); ?></a></div>
                </li>
    			<?php endif ?>
    
    #443503

    J. Davis
    Keymaster

    Hi Jörn,

    Thank you for your notification. We’ll fix it with further updates.

    Best regards,
    John

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.