Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/WpStarter/Wordpress/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Application extends \WpStarter\Foundation\Application
*
* @var string
*/
const VERSION = '1.9.7';
const VERSION = '1.9.8';

protected $bootstrappedList = [];

Expand Down
2 changes: 1 addition & 1 deletion src/WpStarter/Wordpress/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function ws_plugin_url($path = '', $scheme = null)
str_replace('\\','/',__WS_FILE__));
$basePath = trim(dirname($basePath), '\/');
}
return site_url($basePath . '/' . ltrim($path, '/'), $scheme);
return network_site_url($basePath . '/' . ltrim($path, '/'), $scheme);
}
}
if (!function_exists('ws_admin_menu')) {
Expand Down
2 changes: 1 addition & 1 deletion src/WpStarter/Wordpress/noop.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function is_admin() {
/**
* @ignore
*/
function site_url() {}
function network_site_url() {}

/**
* @ignore
Expand Down