Forums

If I delete a category does it leave the posts in that category uncategorized? (3 posts)

  1. brittanywigand
    Member
    Posted 2 years ago #

    Or does it delete them?

  2. Masino Sinaga
    Member
    Posted 2 years ago #

    Hi brittanywigand,

    Yes, it does!
    At least, I saw about this rule from this \wp-admin\categories.php file ~line 242:

    <p><?php printf(__('<strong>Note:</strong><br />Deleting a category does not delete the posts in that category. Instead, posts that were only assigned to the deleted category are set to the category <strong>%s</strong>.'), apply_filters('the_category', get_cat_name(get_option('default_category')))) ?></p>

    I also have tried about this, by removing certain category that contains of post within it. The category has been successfully removed, and that post located inside that deleted category had been automatically moved out to the "uncategorized" or your default category name.

    [signature moderated Please read the Forum Rules]

  3. brittanywigand
    Member
    Posted 2 years ago #

    Thanks! I really needed to know. <3

Topic Closed

This topic has been closed to new replies.

About this Topic