Changeset 35994 for trunk/src/wp-includes/class-wp.php
- Timestamp:
- 12/17/2015 06:12:50 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp.php
r35848 r35994 610 610 $success = true; 611 611 if ( is_singular() ) { 612 $p = clone $wp_query->post; 612 $p = false; 613 614 if ( $wp_query->post instanceof WP_Post ) { 615 $p = clone $wp_query->post; 616 } 617 613 618 // Only set X-Pingback for single posts that allow pings. 614 619 if ( $p && pings_open( $p ) ) {
Note: See TracChangeset
for help on using the changeset viewer.