#5834 closed defect (bug) (fixed)
Errneous variable name in comments-template.php
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.5 | Priority: | normal |
| Severity: | critical | Version: | |
| Component: | General | Keywords: | |
| Focuses: | Cc: |
Description
in [6716],
585 function pings_open( $post_id=NULL ) {
586
587 $_post = get_post($post_id);
588
589 $open = ( 'open' == $post->ping_status );
590 return apply_filters( 'pings_open', $open, $post_id );
$post in line 585 should be $_post.
This variable lookup-failure causes trackback failure
Change History (4)
Note: See
TracTickets for help on using
tickets.
This function is located in wp-includes/comment-template.php