[wp-trac] [WordPress Trac] #40802: Allow filtering of the hard coded pipe character in wp-login.php

WordPress Trac noreply at wordpress.org
Fri Jun 30 00:28:01 UTC 2017


#40802: Allow filtering of the hard coded pipe character in wp-login.php
------------------------------------+------------------------------
 Reporter:  henry.wright            |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Login and Registration  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch               |     Focuses:
------------------------------------+------------------------------
Changes (by henry.wright):

 * keywords:   => has-patch


Comment:

 The | pipe character actually appears 4 times inside wp-login.php.
 40802.diff makes the character filterable by adding a {{{login_divider}}}
 filter.

 This can be tested visually with something like:

 {{{
 add_filter( 'login_divider', function( $divider ) {
     $divider = ' # ';
     return $divider;
 } );
 }}}

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


More information about the wp-trac mailing list