Changes in trunk/wp-links-opml.php [13747:15928]
- File:
-
- 1 edited
-
trunk/wp-links-opml.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-links-opml.php
r13747 r15928 13 13 */ 14 14 15 if ( empty($wp) ) { 16 require_once('./wp-load.php'); 17 wp(); 18 } 15 require_once('./wp-load.php'); 19 16 20 17 header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true); … … 37 34 <?php 38 35 if ( empty($link_cat) ) 39 $cats = get_categories(array('t ype' => 'link', 'hierarchical' => 0));36 $cats = get_categories(array('taxonomy' => 'link_category', 'hierarchical' => 0)); 40 37 else 41 $cats = get_categories(array('t ype' => 'link', 'hierarchical' => 0, 'include' => $link_cat));38 $cats = get_categories(array('taxonomy' => 'link_category', 'hierarchical' => 0, 'include' => $link_cat)); 42 39 43 40 foreach ( (array)$cats as $cat ) :
Note: See TracChangeset
for help on using the changeset viewer.