Changeset 8800 for trunk/wp-includes/feed.php
- Timestamp:
- 09/03/2008 07:54:14 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/feed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/feed.php
r8600 r8800 395 395 */ 396 396 function rss_enclosure() { 397 global $post; 398 if ( !empty($post->post_password) && (!isset($_COOKIE['wp-postpass_'.COOKIEHASH]) || $_COOKIE['wp-postpass_'.COOKIEHASH] != $post->post_password) ) 397 if ( post_password_required() ) 399 398 return; 400 399 … … 427 426 */ 428 427 function atom_enclosure() { 429 global $post; 430 if ( !empty($post->post_password) && ($_COOKIE['wp-postpass_'.COOKIEHASH] != $post->post_password) ) 428 if ( post_password_required() ) 431 429 return; 432 430
Note: See TracChangeset
for help on using the changeset viewer.