WordPress.org

Plugin Directory

Changeset 254791


Ignore:
Timestamp:
06/19/10 17:20:28 (4 years ago)
Author:
nacin
Message:

Use term_exists instead of is_term. props duck_, see WP ticket 13871.

Location:
dotclear-importer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • dotclear-importer/trunk/dotclear-importer.php

    r249725 r254791  
    77Author URI: http://wordpress.org/ 
    88Version: 0.2 
    9 Stable tag: 0.2 
    10 License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
     9License: GPL v2 
    1110*/ 
    1211 
     
    452451 
    453452                if ($title != "") { 
    454                     if ($cinfo = is_term(csc ($title), 'link_category')) { 
     453                    if ($cinfo = term_exists(csc ($title), 'link_category')) { 
    455454                        $category = $cinfo['term_id']; 
    456455                    } else { 
  • dotclear-importer/trunk/readme.txt

    r243542 r254791  
    55Requires at least: 3.0 
    66Tested up to: 3.0 
    7 Stable tag: 0.2 
    87 
    98Import categories, users, posts, comments, and links from a DotClear blog. 
     
    19181. Go to the Tools -> Import screen, Click on DotClear 
    2019 
    21 == Frequently Asked Questions == 
    22  
    23 == Screenshots == 
    24  
    2520== Changelog == 
    2621 
Note: See TracChangeset for help on using the changeset viewer.