[wp-cvs] wordpress/wp-includes functions-post.php,1.17,1.18
Ryan Boren
rboren at users.sourceforge.net
Wed Dec 8 02:35:55 UTC 2004
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19061/wp-includes
Modified Files:
functions-post.php
Log Message:
s/logio/logIO/. Remove logio calls from the one function in functions-post.php that uses it. functions-post.php is not used by xmlrpc.php exclusively.
Index: functions-post.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions-post.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** functions-post.php 27 Nov 2004 04:47:54 -0000 1.17
--- functions-post.php 8 Dec 2004 02:35:53 -0000 1.18
***************
*** 168,178 ****
$newbies = printr($post_categories,1);
- logio("O","Old: $oldies\nNew: $newbies\n");
-
// Delete any?
$delete_cats = array_diff($old_categories,$post_categories);
- logio("O","Delete: " . printr($delete_cats,1));
-
if ($delete_cats) {
foreach ($delete_cats as $del) {
--- 168,174 ----
***************
*** 182,187 ****
AND post_id = $post_ID
");
-
- logio("O","deleting post/cat: $post_ID, $del");
}
}
--- 178,181 ----
***************
*** 190,195 ****
$add_cats = array_diff($post_categories, $old_categories);
- logio("O","Add: " . printr($add_cats,1));
-
if ($add_cats) {
foreach ($add_cats as $new_cat) {
--- 184,187 ----
***************
*** 197,202 ****
INSERT INTO $wpdb->post2cat (post_id, category_id)
VALUES ($post_ID, $new_cat)");
-
- logio("O","adding post/cat: $post_ID, $new_cat");
}
}
--- 189,192 ----
More information about the cvs
mailing list