[wp-meta] [Making WordPress.org] #4801: Template partials should not be publicly accessible

Making WordPress.org noreply at wordpress.org
Tue Oct 29 14:35:25 UTC 2019


#4801: Template partials should not be publicly accessible
----------------------------+---------------------
 Reporter:  jonoaldersonwp  |       Owner:  (none)
     Type:  defect          |      Status:  new
 Priority:  low             |   Milestone:
Component:  General         |  Resolution:
 Keywords:  seo analytics   |
----------------------------+---------------------
Changes (by jonoaldersonwp):

 * priority:  lowest => low


Old description:

> Requests to https://wordpress.org/header.php and
> https://wordpress.org/footer.php (and any other/similar component URLs)
> should return 404 behaviour.
>
> Preferably, these partials should live somewhere more sensible.

New description:

 Requests to https://wordpress.org/ URLs ending in `header.php` or
 `footer.php` return template partials.

 E.g., https://wordpress.org/plugins/classic-editor/header.php.

 These types of requests should return normal behaviour for these URLs
 (usually a 404 response).

--

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4801#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list