ABSPATH already has a trailing slash. Props Nazgul. fixes #4607
git-svn-id: http://svn.automattic.com/wordpress/trunk@5820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -485,7 +485,7 @@ function do_enclose( $content, $post_ID ) {
|
||||
global $wp_version, $wpdb;
|
||||
include_once (ABSPATH . WPINC . '/class-IXR.php');
|
||||
|
||||
$log = debug_fopen(ABSPATH . '/enclosures.log', 'a');
|
||||
$log = debug_fopen(ABSPATH . 'enclosures.log', 'a');
|
||||
$post_links = array();
|
||||
debug_fwrite($log, 'BEGIN '.date('YmdHis', time())."\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user