Ticket #17756: 17756.patch
| File 17756.patch, 538 bytes (added by SergeyBiryukov, 22 months ago) |
|---|
-
wp-includes/class-feed.php
85 85 $this->status_code = wp_remote_retrieve_response_code( $res ); 86 86 } 87 87 } else { 88 if ( ! $this->body = file_get_contents($url) ) {88 if ( ! file_exists($url) || ( ! $this->body = file_get_contents($url) ) ) { 89 89 $this->error = 'file_get_contents could not read the file'; 90 90 $this->success = false; 91 91 }