URL to admin-ajax.php should be relative. see #19910. see #18952.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-03-15 12:52:23 +00:00
parent 5aba8d043c
commit 4bd9f4f9f2
1 changed files with 1 additions and 1 deletions

View File

@ -1457,7 +1457,7 @@ function wp_plupload_default_settings() {
'file_data_name' => 'async-upload', // key passed to $_FILE.
'multiple_queues' => true,
'max_file_size' => $max_upload_size . 'b',
'url' => admin_url( 'admin-ajax.php' ),
'url' => admin_url( 'admin-ajax.php', 'relative' ),
'flash_swf_url' => includes_url( 'js/plupload/plupload.flash.swf' ),
'silverlight_xap_url' => includes_url( 'js/plupload/plupload.silverlight.xap' ),
'filters' => array( array( 'title' => __( 'Allowed Files' ), 'extensions' => '*') ),