Make WordPress Core

Ticket #3599: categories.php.diff

File categories.php.diff, 1.2 KB (added by jhodgdon, 18 years ago)

Patch for wp-admin/categories.php to fix part 2 above

  • E:/EclipseWork/WordPressDev/wp-admin/categories.php

     
    114114
    115115<?php if ( current_user_can('manage_categories') ) : ?>
    116116<div class="wrap">
    117 <p><?php printf(__('<strong>Note:</strong><br />Deleting a category does not delete the posts and links in that category.  Instead, posts in the deleted category are set to the category <strong>%s</strong> and links are set to <strong>%s</strong>.'), get_catname(get_option('default_category')), get_catname(get_option('default_link_category'))) ?></p>
     117<p><?php printf(__('<strong>Note:</strong><br />Deleting a category does not delete the posts and links in that category.  Instead, posts in the deleted category are set to the category <strong>%s</strong> and links are set to <strong>%s</strong>.'), apply_filters('the_category', get_catname(get_option('default_category'))), apply_filters('the_category', get_catname(get_option('default_link_category')))) ?></p>
    118118</div>
    119119
    120120<?php include('edit-category-form.php'); ?>