[wp-trac] [WordPress Trac] #51726: proposal: make specialized header name available inside header.php

WordPress Trac noreply at wordpress.org
Sat Nov 7 16:52:34 UTC 2020


#51726: proposal: make specialized header name available inside header.php
-------------------------------------------+------------------------------
 Reporter:  Jules Colle                    |       Owner:  (none)
     Type:  enhancement                    |      Status:  new
 Priority:  normal                         |   Milestone:  Awaiting Review
Component:  Themes                         |     Version:  5.5.2
 Severity:  normal                         |  Resolution:
 Keywords:  needs-patch reporter-feedback  |     Focuses:
-------------------------------------------+------------------------------

Comment (by Jules Colle):

 Thanks for the quick reply Sergey. Not really. The proposed change is
 aimed at default wordpress pages, like `wp-activate.php` and `wp-
 signup.php`, these files are calling resp. `get_header( 'wp-activate' );`
 and `get_header( 'wp-signup' );`

 Now, there seems to be no way to detect this parameter inside header.php
 (without changing the core file.)

 Actually, I just realized that the 2 pages mentioned are about the only
 pages where this applies... So the severity of this ticket can be lowered
 even more if you want.

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


More information about the wp-trac mailing list