[wp-trac] [WordPress Trac] #22841: New media uploader ignores option image_default_link_type
WordPress Trac
noreply at wordpress.org
Mon Dec 10 00:31:15 UTC 2012
#22841: New media uploader ignores option image_default_link_type
-----------------------------+--------------------------
Reporter: Ipstenu | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Media
Version: trunk | Severity: normal
Keywords: |
-----------------------------+--------------------------
Source:
http://wordpress.org/support/topic/image_default_link_type?replies=6#post-3533649
Action: Set the following in functions/plugin
{{{
update_option('image_default_link_type','file');
}}}
Expected Outcome: When uploading a file, it should link to 'file'
Actual Outcome: On existing media uploads, everything's fine. On ''new''
uploader, it's ignored.
The option is getting set in the DB, it just appears it's not being read.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22841>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list