Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7bff4a3

Browse files
committed
Allow plugin to reside in mu-plugins
Previously, this plugin only worked in the /plugins directory. This change makes the .js file location more agnostic to its residence under /plugins or /mu-plugins.
1 parentb835a7f commit7bff4a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎class/wpsdb.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2206,7 +2206,7 @@ function load_assets() {
22062206
$this->download_file();
22072207
}
22082208

2209-
$plugins_url =trailingslashit(plugins_url() ) .trailingslashit($this->plugin_folder_name );
2209+
$plugins_url =trailingslashit(plugins_url('',$this->plugin_file_path ) );
22102210

22112211
$version =defined('SCRIPT_DEBUG') &&SCRIPT_DEBUG ?time() :$this->plugin_version;
22122212

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp