Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Richard Vencu

    (@rvencu)

    I mean like this:

    /**
    	 * Returns the URL to the directory where the plugin file is located
    	 * @since 3.0b5
    	 * @return string The URL to the plugin directory
    	 */
    
    	public function GetPluginUrl() {
    
    		$url = wp_make_link_relative( trailingslashit(plugins_url("", __FILE__)) );
    
    		return $url;
    	}

    Thread Starter Richard Vencu

    (@rvencu)

    Is there a reason not to fix this issue in sitemap-core.php at this function? There are lots of multisite installations that use domain mappings and they all need this fix…

    Arne

    (@arnee)

    Hi,

    I will need to have a look at this again. Making the URL relative there could cause other problems, so the better way would be to somehow get the right domain.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘multisite with parked domains (server aliases)’ is closed to new replies.