Add a TODO to review this code later.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2010-10-28 22:00:53 +00:00
parent fc6e89da45
commit 1237f25dc6
1 changed files with 2 additions and 0 deletions

View File

@ -1170,6 +1170,8 @@ function debug_fclose( $fp ) {
*/ */
function do_enclose( $content, $post_ID ) { function do_enclose( $content, $post_ID ) {
global $wpdb; global $wpdb;
//TODO: Tidy this ghetto code up and make the debug code optional
include_once( ABSPATH . WPINC . '/class-IXR.php' ); include_once( ABSPATH . WPINC . '/class-IXR.php' );
$log = debug_fopen( ABSPATH . 'enclosures.log', 'a' ); $log = debug_fopen( ABSPATH . 'enclosures.log', 'a' );