[wp-trac] [WordPress Trac] #64018: Improve PHPDoc for template_redirect hook

WordPress Trac noreply at wordpress.org
Mon Sep 22 08:48:39 UTC 2025


#64018: Improve PHPDoc for template_redirect hook
-------------------------+-----------------------------
 Reporter:  apermo       |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  1.5
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 The inline documentation of `template_redirect` is minimalistic at best,
 while the codex documentation clearly states what to use it for and what
 not.

 Seeing other developers using it wrong, I suggest to improve the
 documentation here.

 PR is coming

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64018>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list