Changeset 52223
- Timestamp:
- 11/19/2021 08:22:43 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r52205 r52223 1242 1242 1243 1243 $post_id = $_post ? $_post->ID : 0; 1244 $open = ( 'open' === $_post->comment_status);1244 $open = ( $_post && ( 'open' === $_post->comment_status ) ); 1245 1245 1246 1246 /** … … 1272 1272 1273 1273 $post_id = $_post ? $_post->ID : 0; 1274 $open = ( 'open' === $_post->ping_status);1274 $open = ( $_post && ( 'open' === $_post->ping_status ) ); 1275 1275 1276 1276 /**
Note: See TracChangeset
for help on using the changeset viewer.