WordPress.org

Plugin Directory

Changeset 559987


Ignore:
Timestamp:
06/18/12 15:04:28 (22 months ago)
Author:
joostdekeijzer
Message:

bugfix when domain mapping is used in a "sub-domain" install.

Location:
network-shared-media
Files:
3 edited
11 copied

Legend:

Unmodified
Added
Removed
  • network-shared-media/tags/0.9.2/network_shared_media.php

    r556027 r559987  
    9292        } 
    9393 
     94        // set the first part of the form action url now, to the current active site, to prevent X-Frame-Options problems 
     95        $form_action_url = plugins_url( 'media-upload.php', __FILE__ ); 
     96 
    9497        $nsm_blog_id = null; 
    9598        if( !array_key_exists( 'blog_id', $_GET ) ) $_GET['blog_id'] = null; 
     
    114117        unset($_GET['post_id']); 
    115118 
    116         $form_action_url = plugins_url( 'media-upload.php', __FILE__ ) . "?type=$type&tab=library&post_id=$post_id&blog_id=$blog_id"; 
     119        $form_action_url .= "?type=$type&tab=library&post_id=$post_id&blog_id=$blog_id"; 
    117120        $form_action_url = apply_filters('media_upload_form_url', $form_action_url, $type); 
    118121 
  • network-shared-media/tags/0.9.2/readme.txt

    r556027 r559987  
    55Requires at least: 3.3 
    66Tested up to:  3.4 
    7 Stable tag: 0.9.1 
     7Stable tag: 0.9.2 
    88License: GPLv2 or later 
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    4545 
    4646This plugin only shows sites which attributes are set as follows: 
     47 
    4748* Public: true 
    4849* Archived: false 
     
    5960 
    6061== Changelog == 
     62 
     63= 0.9.2 = 
     64* bugfix for cross-domain errors in "multiple domain" installations 
    6165 
    6266= 0.9.1 = 
  • network-shared-media/tags/0.9.2/todo-wishes.txt

    r556027 r559987  
    11== In random order == 
    22 
     3- insert media does not work for "main" blog (blog_id=1) quickpress 
    34- add option to replace "media" tab altogether 
    45- make above option cross-network?!? 
    56- add "featured image" link (or don't remove it and make it work) 
    6 - fix X-Frame-Options error when used in conjunction with WordPress MU Domain Mapping 
    7 - improve performance on slow hosts 
  • network-shared-media/trunk/network_shared_media.php

    r556027 r559987  
    9292        } 
    9393 
     94        // set the first part of the form action url now, to the current active site, to prevent X-Frame-Options problems 
     95        $form_action_url = plugins_url( 'media-upload.php', __FILE__ ); 
     96 
    9497        $nsm_blog_id = null; 
    9598        if( !array_key_exists( 'blog_id', $_GET ) ) $_GET['blog_id'] = null; 
     
    114117        unset($_GET['post_id']); 
    115118 
    116         $form_action_url = plugins_url( 'media-upload.php', __FILE__ ) . "?type=$type&tab=library&post_id=$post_id&blog_id=$blog_id"; 
     119        $form_action_url .= "?type=$type&tab=library&post_id=$post_id&blog_id=$blog_id"; 
    117120        $form_action_url = apply_filters('media_upload_form_url', $form_action_url, $type); 
    118121 
  • network-shared-media/trunk/readme.txt

    r556027 r559987  
    55Requires at least: 3.3 
    66Tested up to:  3.4 
    7 Stable tag: 0.9.1 
     7Stable tag: 0.9.2 
    88License: GPLv2 or later 
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    4545 
    4646This plugin only shows sites which attributes are set as follows: 
     47 
    4748* Public: true 
    4849* Archived: false 
     
    5960 
    6061== Changelog == 
     62 
     63= 0.9.2 = 
     64* bugfix for cross-domain errors in "multiple domain" installations 
    6165 
    6266= 0.9.1 = 
  • network-shared-media/trunk/todo-wishes.txt

    r556027 r559987  
    11== In random order == 
    22 
     3- insert media does not work for "main" blog (blog_id=1) quickpress 
    34- add option to replace "media" tab altogether 
    45- make above option cross-network?!? 
    56- add "featured image" link (or don't remove it and make it work) 
    6 - fix X-Frame-Options error when used in conjunction with WordPress MU Domain Mapping 
    7 - improve performance on slow hosts 
Note: See TracChangeset for help on using the changeset viewer.