Changeset 8645 for trunk/wp-admin/import/textpattern.php
- Timestamp:
- 08/14/2008 06:30:38 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/textpattern.php
r7645 r8645 1 1 <?php 2 2 /** 3 Add These Functions to make our lives easier 4 **/ 3 * TextPattern Importer 4 * 5 * @package WordPress 6 * @subpackage Importer 7 */ 5 8 6 9 if(!function_exists('get_comment_count')) 7 10 { 11 /** 12 * Get the comment count for posts. 13 * 14 * @package WordPress 15 * @subpackage Textpattern_Import 16 * 17 * @param int $post_ID Post ID 18 * @return int 19 */ 8 20 function get_comment_count($post_ID) 9 21 { … … 15 27 if(!function_exists('link_exists')) 16 28 { 29 /** 30 * Check whether link already exists. 31 * 32 * @package WordPress 33 * @subpackage Textpattern_Import 34 * 35 * @param string $linkname 36 * @return int 37 */ 17 38 function link_exists($linkname) 18 39 { … … 23 44 24 45 /** 25 The Main Importer Class 26 **/ 46 * TextPattern Importer Class 47 * 48 * @since unknown 49 */ 27 50 class Textpattern_Import { 28 51 … … 671 694 672 695 $txp_import = new Textpattern_Import(); 696 673 697 register_importer('textpattern', __('Textpattern'), __('Import categories, users, posts, comments, and links from a Textpattern blog.'), array ($txp_import, 'dispatch')); 698 674 699 ?>
Note: See TracChangeset
for help on using the changeset viewer.