[wp-trac] [WordPress Trac] #54261: KSES: Allow PDFs to be embeded as objects

WordPress Trac noreply at wordpress.org
Fri Dec 3 02:50:10 UTC 2021


#54261: KSES: Allow PDFs to be embeded as objects
-------------------------------------------------+-------------------------
 Reporter:  pento                                |       Owner:  pento
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.9
Component:  Formatting                           |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  2nd-opinion needs-testing needs-     |     Focuses:
  dev-note                                       |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):

 * keywords:  has-patch 2nd-opinion needs-testing has-unit-tests needs-dev-
     note => 2nd-opinion needs-testing needs-dev-note


Comment:

 Fix to account for upload paths with port numbers committed above.

 I've left the ticket open to address a question @swissspidy asked about
 supporting fragments. Chrome allows links to certain pages using
 fragments, eg document.pdf#page=10, so it's worth testing whether this
 works for embeds too.

 If it's a standard or a faux-standard a majority of browsers support then
 I'm happy to account for it if it's possible to do so safely. If it's a
 Chrome only feature that's not part of a standard then I think the ticket
 can be closed.

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


More information about the wp-trac mailing list