[wp-trac] [WordPress Trac] #37089: Plugins cannot remove site title from login page

WordPress Trac noreply at wordpress.org
Tue Jun 14 13:06:35 UTC 2016


#37089: Plugins cannot remove site title from login page
------------------------------------+------------------------------
 Reporter:  morrisjm                |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Login and Registration  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  close                   |     Focuses:  administration
------------------------------------+------------------------------
Changes (by ocean90):

 * keywords:   => close
 * version:  trunk =>


Comment:

 You can remove the link with CSS/JS via the `#backtoblog` ID or you can
 filter the name with the
 [https://developer.wordpress.org/reference/hooks/bloginfo/ bloginfo]
 filter:

 {{{#!php
 <?php
 add_filter( 'bloginfo', function( $output, $show ) {
         if ( 'title' === $show ) {
                 return 'top secret';
         }

         return $output;
 }, 10, 2);
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37089#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list