Ticket #1040: rss_enclosure_password.patch
File rss_enclosure_password.patch, 545 bytes (added by , 19 years ago) |
---|
-
wp-includes/feed-functions.php
138 138 } 139 139 140 140 function rss_enclosure() { 141 global $id; 141 global $id, $post; 142 if (!empty($post->post_password) && ($_COOKIE['wp-postpass_'.COOKIEHASH] != $post->post_password)) return; 143 142 144 $custom_fields = get_post_custom(); 143 145 if( is_array( $custom_fields ) ) { 144 146 while( list( $key, $val ) = each( $custom_fields ) ) {