[wp-trac] [WordPress Trac] #23188: Hardcoded relative url 'async-upload.php' in plupload/handlers.js
WordPress Trac
noreply at wordpress.org
Sat Jan 12 11:47:48 UTC 2013
#23188: Hardcoded relative url 'async-upload.php' in plupload/handlers.js
-----------------------------+--------------------------
Reporter: drozdz | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: General
Version: 3.5 | Severity: normal
Keywords: |
-----------------------------+--------------------------
On line 127 in plupload/handlers.js you can find relative path to 'async-
upload.php'.
It rather should use wpUploaderInit.url (or something like that), so you
could use WP Plupload in front-end for example or with your custom
uploading scripts.
Now you can write your custom uploader script and provide it via
wpUploaderInit, but on that line in handlers.js it is ignored (and if you
run it in front-end, bad request to ./async-upload.php is made).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23188>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list