mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-02 17:40:01 +00:00
Docs: Switch more docs over to typed array notation, plus some fixes.
See #48303, #41756 git-svn-id: https://develop.svn.wordpress.org/trunk@46596 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -208,7 +208,7 @@ function get_site_by_path( $domain, $path, $segments = null ) {
|
||||
* @param string $path The requested path, in full.
|
||||
* @param int|null $segments The suggested number of paths to consult.
|
||||
* Default null, meaning the entire path was to be consulted.
|
||||
* @param array $paths The paths to search for, based on $path and $segments.
|
||||
* @param string[] $paths The paths to search for, based on $path and $segments.
|
||||
*/
|
||||
$pre = apply_filters( 'pre_get_site_by_path', null, $domain, $path, $segments, $paths );
|
||||
if ( null !== $pre ) {
|
||||
|
||||
Reference in New Issue
Block a user