mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Some notice fixes from Nazgul. fixes #3155
git-svn-id: https://develop.svn.wordpress.org/trunk@6711 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -145,7 +145,7 @@ function html_type_rss() {
|
||||
|
||||
function rss_enclosure() {
|
||||
global $post;
|
||||
if ( !empty($post->post_password) && ($_COOKIE['wp-postpass_'.COOKIEHASH] != $post->post_password) )
|
||||
if ( !empty($post->post_password) && (!isset($_COOKIE['wp-postpass_'.COOKIEHASH]) || $_COOKIE['wp-postpass_'.COOKIEHASH] != $post->post_password) )
|
||||
return;
|
||||
|
||||
foreach (get_post_custom() as $key => $val) {
|
||||
|
||||
Reference in New Issue
Block a user