RCS file: /cvsroot/cafelog/wordpress/wp-admin/admin-header.php,v
retrieving revision 1.24
diff -u -r1.24 admin-header.php
|
|
|
|
| 14 | 14 | if (!isset($debug)) $debug=0; |
| 15 | 15 | timer_start(); |
| 16 | 16 | |
| 17 | | $dogs = $wpdb->get_results("SELECT * FROM $wpdb->categories WHERE 1=1"); |
| | 17 | $dogs = $wpdb->get_results("SELECT * FROM $wpdb->categories"); |
| 18 | 18 | foreach ($dogs as $catt) { |
| 19 | 19 | $cache_categories[$catt->cat_ID] = $catt; |
| 20 | 20 | } |
| … |
… |
|
| 140 | 140 | <?php |
| 141 | 141 | require('./menu.php'); |
| 142 | 142 | endif; |
| 143 | | ?> |
| 144 | | No newline at end of file |
| | 143 | ?> |
RCS file: /cvsroot/cafelog/wordpress/wp-admin/import-greymatter.php,v
retrieving revision 1.15
diff -u -r1.15 import-greymatter.php
|
|
|
|
| 193 | 193 | if (!$result) |
| 194 | 194 | die ("Error in posting..."); |
| 195 | 195 | |
| 196 | | $sql2 = "SELECT * FROM $wpdb->posts WHERE 1=1 ORDER BY ID DESC LIMIT 1"; |
| | 196 | $sql2 = "SELECT * FROM $wpdb->posts ORDER BY ID DESC LIMIT 1"; |
| 197 | 197 | $result2 = mysql_query($sql2); |
| 198 | 198 | $myrow2 = mysql_fetch_array($result2); |
| 199 | 199 | $post_ID=$myrow2[0]; |
| … |
… |
|
| 338 | 338 | |
| 339 | 339 | } |
| 340 | 340 | |
| 341 | | ?> |
| 342 | | No newline at end of file |
| | 341 | ?> |
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions.php,v
retrieving revision 1.119
diff -u -r1.119 functions.php
|
|
|
|
| 1772 | 1772 | |
| 1773 | 1773 | function update_category_cache() { |
| 1774 | 1774 | global $cache_categories, $wpdb; |
| 1775 | | $dogs = $wpdb->get_results("SELECT * FROM $wpdb->categories WHERE 1=1"); |
| | 1775 | $dogs = $wpdb->get_results("SELECT * FROM $wpdb->categories"); |
| 1776 | 1776 | foreach ($dogs as $catt) { |
| 1777 | 1777 | $cache_categories[$catt->cat_ID] = $catt; |
| 1778 | 1778 | } |
| … |
… |
|
| 1795 | 1795 | do_action('wp_head', ''); |
| 1796 | 1796 | } |
| 1797 | 1797 | |
| 1798 | | ?> |
| 1799 | | No newline at end of file |
| | 1798 | ?> |