[wp-trac] [WordPress Trac] #41461: Sort out missing attachment.php template somehow

WordPress Trac noreply at wordpress.org
Thu Jul 27 17:35:53 UTC 2017


#41461: Sort out missing attachment.php template somehow
--------------------------+-----------------------------
 Reporter:  mor10         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When a visitor goes to an attachment page (typically linked from a
 gallery) and the theme does not have an attachment template, they get a
 random and most often broken user experience. This is largely due to theme
 developers not creating an attachment.php template (and starter themes
 like Underscores not providing one), but it is perceived by visitors and
 site owners as an error.

 There must be some way of gracefully capturing requests for attachment
 pages when the theme has no support for them so the info is displayed in a
 non-broken format.

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


More information about the wp-trac mailing list