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:
parent
fc6e89da45
commit
1237f25dc6
|
@ -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' );
|
||||||
|
|
Loading…
Reference in New Issue