title: Wordpress logo upload option in theme panel
body: <p>Hello every one i am facing one issue in adding logo option in my theme panel of wordpress i am using this code</p>
  
  <pre><code>function logo_display()
  {
      ?&gt;
          &lt;input type="file" name="logo" /&gt; 
          &lt;?php echo get_option('logo'); ?&gt;
     &lt;?php
  }
  function handle_logo_upload()
  {
      if(!empty($_FILES["demo-file"]["tmp_name"]))
      {
          $urls = wp_handle_upload($_FILES["logo"], array('test_form' =&gt; FALSE));
          $temp = $urls["url"];
         return $temp;   
      }  
      return $option;
  }
  function display_theme_panel_fields()
  {
      add_settings_section("section", "All Settings", null, "theme-options");
      add_settings_field("logo", "Logo", "logo_display", "theme-options", "section");  
      register_setting("section", "logo", "handle_logo_upload");
  }
  add_action("admin_init", "display_theme_panel_fields");
  </code></pre>
  
  <p>The issue is its not saving logo and also not displaying it in admin as well.
  I have tried this 10 times with different ways but this code is not working. Please look in this code and try it.</p>