title: Remove "Protected" text in title h1 of protected wordpress pages
body: <p>Had a search around and can't seem to find any options to do this, found quite a few posts on how to personalise the login page but nothing about removing the Protected text that is automatically added before the page title, anyone able to shed some light?</p>
  
  <p>EDIT:</p>
  
  <p>Found the answer here in the end <a href="http://wordpress.org/support/topic/how-to-remove-private-from-private-pages" rel="nofollow">http://wordpress.org/support/topic/how-to-remove-private-from-private-pages</a>, code as follows</p>
  
  <pre><code>function the_title_trim($title)
    {
      $pattern[0] = '/Protected:/';
      $pattern[1] = '/Private:/';
      $replacement[0] = ''; // Enter some text to put in place of Protected:
      $replacement[1] = ''; // Enter some text to put in place of Private:
  
      return preg_replace($pattern, $replacement, $title);
    }
    add_filter('the_title', 'the_title_trim');
  </code></pre>