title: If user is not admin, deregister jQuery?
body: <p>I really hope this is not a duplicate question. I'm beginning my journey into Wordpress theme development. I've been using the Codex as documentation to write each component I create. However, I have came across a snippet which for some reason I cannot get my head across it.</p>
  
  <pre><code>if ( !is_admin() ) {
      wp_deregister_script( 'jquery' );
      wp_register_script( 'jquery', ( 'ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js' ), false, null, true );
      wp_enqueue_script( 'jquery' );
  }
  </code></pre>
  
  <p>Reading the snippet in pure English it says, if user is not admin, deregister jQuery, register it again, and queue it for output when the page is sent at the right time. Why would I want to do this when I can simply add jQuery to a set of '&lt;script&gt;&lt;/script&gt;' tags and be done with it?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Should've mention where I discovered this snippet. I found it in the functions.php file on Blank Theme by <a href="http://digwp.com/2010/02/blank-wordpress-theme/" rel="nofollow">http://digwp.com/2010/02/blank-wordpress-theme/</a></p>