WordPress.org

Ready to get started?Download WordPress

Forums

Error Fix: wp-admin/categories.php (2 posts)

  1. Joseph Scott
    Member
    Posted 10 years ago #

    The function wp_dropdown_cats requires at least one argument. In wp-admin/categories.php on line 186 is a call to wp_dropdown_cats with no arguments, this generates the following error:
    Missing argument 1 for wp_dropdown_cats() Missing argument 1 for wp_dropdown_cats()
    I've only briefly looked at the code for wp_dropdown_cats but a simple fixes appears to be to change line 186 to look like:
    <?php wp_dropdown_cats(false); ?>

  2. Matt Mullenweg
    Troublemaker
    Posted 10 years ago #

    Fixed.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.