[wp-trac] [WordPress Trac] #57913: Attachment pages need to have an "on" toggle

WordPress Trac noreply at wordpress.org
Mon Oct 16 19:27:06 UTC 2023


#57913: Attachment pages need to have an "on" toggle
-------------------------------------------------+-------------------------
 Reporter:  joostdevalk                          |       Owner:
                                                 |  SergeyBiryukov
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.4
Component:  Media                                |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  needs-dev-note commit add-to-field-  |     Focuses:
  guide                                          |
-------------------------------------------------+-------------------------

Comment (by wpsunshine):

 A little late to this one, but I think a filter to allow/disallow
 attachment page on a per attachment basis is even more ideal instead of a
 global setting. You could have 10k attachments you don't want a unique
 page for, but may want to make use of it for a subset.

 An example is my Sunshine Photo Cart plugin which relies on each image
 having it's own attachment page to for selling but I can see portfolio
 images on the same site not needing them.

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


More information about the wp-trac mailing list