WordPress.org

Plugin Directory

Changeset 253970


Ignore:
Timestamp:
06/18/10 00:20:02 (4 years ago)
Author:
nacin
Message:

Importer fixes. see WP ticket 13567

Location:
wpcat2tag-importer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wpcat2tag-importer/trunk/readme.txt

    r244780 r253970  
    1 === Plugin Name === 
     1=== Categories to Tags Converter === 
    22Contributors: wordpressdotorg 
    33Donate link:  
     
    55Requires at least: 3.0 
    66Tested up to: 3.0 
    7 Stable tag: 0.4 
     7Stable tag: trunk 
    88 
    99Convert existing categories to tags or tags to categories, selectively. 
     
    19191. Go to the Tools -> Import screen, Click on Categories and Tags Converter 
    2020 
    21 == Frequently Asked Questions == 
     21== Changelog == 
    2222 
    23 == Screenshots == 
    24  
    25 == Changelog == 
     23= 0.5 = 
     24* Fix issue where WordPress could not load the importer. 
    2625 
    2726= 0.1 = 
  • wpcat2tag-importer/trunk/wpcat2tag-importer.php

    r247842 r253970  
    66Author: wordpressdotorg 
    77Author URI: http://wordpress.org/ 
    8 Version: 0.4 
    9 Stable tag: 0.4 
     8Version: 0.5 
    109License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    1110*/ 
     
    4443            echo '</div>'; 
    4544        } else { ?> 
    46             <div class="tablenav"><p style="margin:4px"><a style="display:inline;" class="button-secondary" href="admin.php?import=wp-cat2tag"><?php _e( "Categories to Tags" , 'wpcat2tag-importer'); ?></a> 
    47             <a style="display:inline;" class="button-secondary" href="admin.php?import=wp-cat2tag&amp;step=3"><?php _e( "Tags to Categories" , 'wpcat2tag-importer'); ?></a></p></div> 
     45            <div class="tablenav"><p style="margin:4px"><a style="display:inline;" class="button-secondary" href="admin.php?import=wpcat2tag"><?php _e( "Categories to Tags" , 'wpcat2tag-importer'); ?></a> 
     46            <a style="display:inline;" class="button-secondary" href="admin.php?import=wpcat2tag&amp;step=3"><?php _e( "Tags to Categories" , 'wpcat2tag-importer'); ?></a></p></div> 
    4847<?php   } 
    4948    } 
     
    118117</script> 
    119118 
    120 <form name="catlist" id="catlist" action="admin.php?import=wp-cat2tag&amp;step=2" method="post"> 
     119<form name="catlist" id="catlist" action="admin.php?import=wpcat2tag&amp;step=2" method="post"> 
    121120<p><input type="button" class="button-secondary" value="<?php esc_attr_e('Check All', 'wpcat2tag-importer'); ?>" onclick="this.value=check_all_rows()" /> 
    122121<?php wp_nonce_field('import-cat2tag'); ?></p> 
     
    194193</script> 
    195194 
    196 <form name="taglist" id="taglist" action="admin.php?import=wp-cat2tag&amp;step=4" method="post"> 
     195<form name="taglist" id="taglist" action="admin.php?import=wpcat2tag&amp;step=4" method="post"> 
    197196<p><input type="button" class="button-secondary" value="<?php esc_attr_e('Check All', 'wpcat2tag-importer'); ?>" onclick="this.value=check_all_tagrows()" /> 
    198197<?php wp_nonce_field('import-cat2tag'); ?></p> 
     
    246245        if ( (!isset($_POST['cats_to_convert']) || !is_array($_POST['cats_to_convert'])) && empty($this->categories_to_convert)) { ?> 
    247246            <div class="narrow"> 
    248             <p><?php printf(__('Uh, oh. Something didn&#8217;t work. Please <a href="%s">try again</a>.', 'wpcat2tag-importer'), 'admin.php?import=wp-cat2tag'); ?></p> 
     247            <p><?php printf(__('Uh, oh. Something didn&#8217;t work. Please <a href="%s">try again</a>.', 'wpcat2tag-importer'), 'admin.php?import=wpcat2tag'); ?></p> 
    249248            </div> 
    250249<?php       return; 
     
    358357        if ( $hybrid_cats ) 
    359358            echo '<p>' . sprintf( __('* This category is also a tag. The converter has added that tag to all posts currently in the category. If you want to remove it, please confirm that all tags were added successfully, then delete it from the <a href="%s">Manage Categories</a> page.', 'wpcat2tag-importer'), 'categories.php') . '</p>'; 
    360         echo '<p>' . sprintf( __('We&#8217;re all done here, but you can always <a href="%s">convert more</a>.', 'wpcat2tag-importer'), 'admin.php?import=wp-cat2tag' ) . '</p>'; 
     359        echo '<p>' . sprintf( __('We&#8217;re all done here, but you can always <a href="%s">convert more</a>.', 'wpcat2tag-importer'), 'admin.php?import=wpcat2tag' ) . '</p>'; 
    361360    } 
    362361 
     
    366365        if ( (!isset($_POST['tags_to_convert']) || !is_array($_POST['tags_to_convert'])) && empty($this->tags_to_convert)) { 
    367366            echo '<div class="narrow">'; 
    368             echo '<p>' . sprintf(__('Uh, oh. Something didn&#8217;t work. Please <a href="%s">try again</a>.', 'wpcat2tag-importer'), 'admin.php?import=wp-cat2tag&amp;step=3') . '</p>'; 
     367            echo '<p>' . sprintf(__('Uh, oh. Something didn&#8217;t work. Please <a href="%s">try again</a>.', 'wpcat2tag-importer'), 'admin.php?import=wpcat2tag&amp;step=3') . '</p>'; 
    369368            echo '</div>'; 
    370369            return; 
     
    447446        if ( $hybrid_tags ) 
    448447            echo '<p>' . sprintf( __('* This tag is also a category. The converter has added all posts from it to the category. If you want to remove it, please confirm that all posts were added successfully, then delete it from the <a href="%s">Manage Tags</a> page.', 'wpcat2tag-importer'), 'edit-tags.php') . '</p>'; 
    449         echo '<p>' . sprintf( __('We&#8217;re all done here, but you can always <a href="%s">convert more</a>.', 'wpcat2tag-importer'), 'admin.php?import=wp-cat2tag&amp;step=3' ) . '</p>'; 
     448        echo '<p>' . sprintf( __('We&#8217;re all done here, but you can always <a href="%s">convert more</a>.', 'wpcat2tag-importer'), 'admin.php?import=wpcat2tag&amp;step=3' ) . '</p>'; 
    450449    } 
    451450 
Note: See TracChangeset for help on using the changeset viewer.