1 | <?php |
||
6 | class MultisiteDirectoryResolver extends AbstractResolver implements ResolverContract |
||
7 | { |
||
8 | /** |
||
9 | * Folder path to wordpress, with trailing slash. |
||
10 | * |
||
11 | * @var string |
||
12 | */ |
||
13 | protected $wpDirectoryPath = ''; |
||
14 | |||
15 | /** |
||
16 | * Wordpress folder name. |
||
17 | * |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $wpFolderName = ''; |
||
21 | |||
22 | /** |
||
23 | * MultisiteDirectoryResolver. |
||
24 | * |
||
25 | * @param string $wpdir |
||
26 | */ |
||
27 | public function __construct($wpdir) |
||
33 | |||
34 | /** |
||
35 | * Set the right path for wp-login and wp-admin. |
||
36 | * |
||
37 | * @param string $url |
||
38 | * @param string $path |
||
39 | * @param string|null $scheme |
||
40 | * |
||
41 | * @return string |
||
42 | */ |
||
43 | public function fixSiteUrlFilter($url, $path, $scheme) |
||
54 | |||
55 | /** |
||
56 | * Set the right path for script and style loader. |
||
57 | * |
||
58 | * @param string $src |
||
59 | * @param string $handle |
||
60 | * |
||
61 | * @return string |
||
62 | */ |
||
63 | public function fixStyleScriptPathFilter($src, $handle) |
||
82 | |||
83 | /** |
||
84 | * Add subfolder path to wp-includes path. |
||
85 | * |
||
86 | * @param string $url |
||
87 | * @param string $path |
||
88 | * |
||
89 | * @return string |
||
90 | */ |
||
91 | public function fixWpIncludeFolder($url, $path) |
||
102 | |||
103 | public function init() |
||
110 | } |
||
111 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.