src/wp-admin/includes/ajax-actions.php 1 location
|
@@ 128-131 (lines=4) @@
|
| 125 |
|
$comma = _x( ',', 'tag delimiter' ); |
| 126 |
|
if ( ',' !== $comma ) |
| 127 |
|
$s = str_replace( $comma, ',', $s ); |
| 128 |
|
if ( false !== strpos( $s, ',' ) ) { |
| 129 |
|
$s = explode( ',', $s ); |
| 130 |
|
$s = $s[count( $s ) - 1]; |
| 131 |
|
} |
| 132 |
|
$s = trim( $s ); |
| 133 |
|
|
| 134 |
|
/** |
src/wp-admin/includes/class-wp-ms-sites-list-table.php 1 location
|
@@ 86-89 (lines=4) @@
|
| 83 |
|
|
| 84 |
|
$s = isset( $_REQUEST['s'] ) ? wp_unslash( trim( $_REQUEST[ 's' ] ) ) : ''; |
| 85 |
|
$wild = ''; |
| 86 |
|
if ( false !== strpos($s, '*') ) { |
| 87 |
|
$wild = '*'; |
| 88 |
|
$s = trim($s, '*'); |
| 89 |
|
} |
| 90 |
|
|
| 91 |
|
/* |
| 92 |
|
* If the network is large and a search is not being performed, show only |