[wp-trac] [WordPress Trac] #54123: Problem with the pptx file if I activate the "open in new tab" option.
    WordPress Trac 
    noreply at wordpress.org
       
    Tue Sep 14 20:24:03 UTC 2021
    
    
  
#54123: Problem with the pptx file if I activate the "open in new tab" option.
--------------------------+-------------------------
 Reporter:  michalrama    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:  worksforme
 Keywords:                |     Focuses:
--------------------------+-------------------------
Changes (by audrasjb):
 * status:  new => closed
 * severity:  trivial => normal
 * version:  5.8.1 =>
 * milestone:  Awaiting Review =>
 * keywords:  needs-patch =>
 * resolution:   => worksforme
Comment:
 Hello, welcome to WordPress Core Trac and thank you for opening this
 ticket!
 Sadly, this is not something WordPress can handle. A link is a link, and
 WordPress cannot command the final behavior of the user agent (= the
 browser). The final decision on whether to open the link or not is
 ultimately up to the browser.
 > Either the "open in new tab" option should be disabled or the file
 should be downloaded regardless of whether I enable the option or not.ยจ
 This wouldn't be a good thing, as the behavior **you** have depends on the
 extensions/add-ons you activated on your browser, and also on the software
 you installed on your computer.
 So to sum up: there is nothing we (WordPress developers) can repair here.
 We just have to generate links using the HTML standards, just like we do
 now :)
 Thanks again for the ticket
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54123#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list