Changeset 46178 for trunk/src/wp-includes/comment.php
- Timestamp:
- 09/19/2019 02:05:25 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r46177 r46178 2666 2666 } 2667 2667 2668 // Do Trackbacks 2669 $trackbacks = $wpdb->get_col( "SELECT ID FROM $wpdb->posts WHERE to_ping <> '' AND post_status = 'publish'" ); 2670 if ( is_array( $trackbacks ) ) { 2671 foreach ( $trackbacks as $trackback ) { 2672 do_trackbacks( $trackback ); 2673 } 2674 } 2675 2676 //Do Update Services/Generic Pings 2668 // Do trackbacks. 2669 $trackbacks = get_posts( 2670 array( 2671 'post_type' => get_post_types(), 2672 'suppress_filters' => false, 2673 'nopaging' => true, 2674 'meta_key' => '_trackbackme', 2675 'fields' => 'ids', 2676 ) 2677 ); 2678 2679 foreach ( $trackbacks as $trackback ) { 2680 delete_post_meta( $trackback, '_trackbackme' ); 2681 do_trackbacks( $trackback ); 2682 } 2683 2684 // Do Update Services/Generic Pings. 2677 2685 generic_ping(); 2678 2686 }
Note: See TracChangeset
for help on using the changeset viewer.