Changeset 36064
- Timestamp:
- 12/23/2015 01:41:24 AM (9 years ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
-
branches/4.4/src/wp-includes/class-wp.php
r36035 r36064 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.