The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Request for unassigned category warning (WP 1.0) (2 posts)

  1. lars
    Posted 12 years ago #

    Publishing a post without any category assigned to it (e.g. after unselecting the General category and forgettting to select another) results in a rather cryptic error messsage referring to a foreach() statement in template-functions.php. It took me a while to figure out the reason, and it was only because I could understand what the the_category function does.
    A simple way to make the whole thing user-friendlier would be to a add a short feedback message, perhaps along the lines of "e;You must assign at least one category to every post"e;.

  2. Matt Mullenweg
    Posted 12 years ago #

    This was a problem on editing, not posting. Fixed.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.