Add a TODO to review this code later.
git-svn-id: https://develop.svn.wordpress.org/trunk@16062 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d65cdf4ba8
commit
1fecd2b99c
|
@ -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