[wp-trac] [WordPress Trac] #23049: Template hierarchy for 404

WordPress Trac noreply at wordpress.org
Tue Jun 6 20:05:57 UTC 2017


#23049: Template hierarchy for 404
------------------------------------+------------------------------
 Reporter:  mark-k                  |       Owner:  johnbillion
     Type:  enhancement             |      Status:  reviewing
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Themes                  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  template
------------------------------------+------------------------------
Changes (by johnbillion):

 * owner:   => johnbillion
 * status:  new => reviewing


Comment:

 I could get behind this. I can immediately see uses for
 `404-single-{$post_type}.php`.

 The order here is important. It should match the order used in the
 template loader: https://core.trac.wordpress.org/browser/tags/4.7.4/src
 /wp-includes/template-loader.php?marks=46-65#L43

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


More information about the wp-trac mailing list