WordPress.org

Making WordPress.org

Changeset 8929


Ignore:
Timestamp:
06/06/2019 03:53:27 PM (7 weeks ago)
Author:
coffee2code
Message:

Jobs: Properly escape output of URL.

Props mukesh27.
Fixes #3826.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp-template.php

    r1603 r8929  
    4747                if ( 0 !== strpos( $val, 'http' ) )
    4848                    $val = 'http://' . $val;
    49                 $val = sprintf( __( 'Via <a href="%s">web form</a>', 'jobswp' ), esc_attr( esc_url_raw( $val ) ) );
     49                $val = sprintf( __( 'Via <a href="%s">web form</a>', 'jobswp' ), esc_url( $val ) );
    5050            } else {
    5151                $val = esc_html( $val );
Note: See TracChangeset for help on using the changeset viewer.