Changeset 1904
- Timestamp:
- 09/21/2015 10:29:37 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp.php
r1655 r1904 196 196 if ( empty( $name ) ) 197 197 $name = get_post_meta( $post_id, 'post_name', true ); 198 echo esc_ attr( $name );198 echo esc_html( $name ); 199 199 break; 200 200 case 'poster_email': 201 echo esc_attr( get_post_meta( $post_id, 'email', true ) ); 201 $email = get_post_meta( $post_id, 'email', true ); 202 203 echo esc_html( $email ); 204 205 // Also show the public howtoapply email address. 206 if ( 'email' === get_post_meta( $post_id, 'howtoapply_method', true ) ) { 207 $contact_email = get_post_meta( $post_id, 'howtoapply', true ); 208 if ( strtolower( $contact_email ) !== strtolower( $email ) ) { 209 echo '<br />'; 210 echo esc_html( $contact_email ); 211 } 212 } 202 213 break; 203 214 }
Note: See TracChangeset
for help on using the changeset viewer.