Changeset 34038 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 09/11/2015 05:55:27 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/pluggable.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r33891 r34038 1363 1363 1364 1364 $comment = get_comment( $comment_id ); 1365 if ( empty( $comment ) )1365 if ( empty( $comment ) || empty( $comment->comment_post_ID ) ) 1366 1366 return false; 1367 1367 … … 1822 1822 * @param WP_User $user The current user object. 1823 1823 * @param string $token The user's session token. 1824 */ 1824 */ 1825 1825 do_action( 'wp_verify_nonce_failed', $nonce, $action, $user, $token ); 1826 1826
Note: See TracChangeset
for help on using the changeset viewer.