Remove 'none' option

Elite
  • 391 points
    WPMU DEV Expert
    Seriously helpful member
    asimetrick

    Member  —  17th August 2011 (9 months ago)         

    Hi.

    The second parameter of the 'get_template_dropdown' function is not taken into account by the function so the 'none' option cannot be removed.

    At line 121 of 'blog_template.php', the code should be:

    if ($include_none)
    	echo "<option value=\"none\">None</option>";

    Thanks.