Changeset 19675 for trunk/wp-includes/post.php
- Timestamp:
- 01/04/2012 07:45:13 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r19593 r19675 2538 2538 2539 2539 if ( isset($to_ping) ) 2540 $to_ping = preg_replace('|\s+|', "\n", $to_ping);2540 $to_ping = sanitize_trackback_urls( $to_ping ); 2541 2541 else 2542 2542 $to_ping = ''; … … 3065 3065 global $wpdb; 3066 3066 $to_ping = $wpdb->get_var( $wpdb->prepare( "SELECT to_ping FROM $wpdb->posts WHERE ID = %d", $post_id )); 3067 $to_ping = trim($to_ping);3067 $to_ping = sanitize_trackback_urls( $to_ping ); 3068 3068 $to_ping = preg_split('/\s/', $to_ping, -1, PREG_SPLIT_NO_EMPTY); 3069 3069 $to_ping = apply_filters('get_to_ping', $to_ping);
Note: See TracChangeset
for help on using the changeset viewer.