Changeset 4990 for trunk/wp-includes/functions.php
- Timestamp:
- 03/07/2007 05:29:15 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r4961 r4990 781 781 } 782 782 783 if ( strstr($uri, '?')) {783 if (strpos($uri, '?') !== false) { 784 784 $parts = explode('?', $uri, 2); 785 785 if ( 1 == count($parts) ) { … … 790 790 $query = $parts[1]; 791 791 } 792 } else if ( !empty($protocol) || strstr($uri, '/')) {792 } elseif (!empty($protocol) || strpos($uri, '/') !== false) { 793 793 $base = $uri . '?'; 794 794 $query = ''; … … 1338 1338 $title = __('WordPress › Error'); 1339 1339 1340 if ( strstr($_SERVER['PHP_SELF'], 'wp-admin'))1340 if (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) 1341 1341 $admin_dir = ''; 1342 1342 else
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)