Changeset 8754
- Timestamp:
- 08/27/2008 08:47:01 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r8720 r8754 26 26 $s = $_GET['q']; // is this slashed already? 27 27 28 if ( strstr( $s, ',' ) ) {28 if ( false !== strpos( $s, ',' ) ) { 29 29 $s = explode( ',', $s ); 30 30 $s = $s[count( $s ) - 1]; -
trunk/wp-includes/query.php
r8740 r8754 1753 1753 $more = 1; 1754 1754 $content = $post->post_content; 1755 if ( preg_match('/<!--nextpage-->/', $content) ) {1755 if ( strpos( $content, '<!--nextpage-->' ) ) { 1756 1756 if ( $page > 1 ) 1757 1757 $more = 1; -
trunk/wp-login.php
r8736 r8754 104 104 $errors->add('empty_username', __('<strong>ERROR</strong>: Enter a username or e-mail address.')); 105 105 106 if ( str str($_POST['user_login'], '@') ) {106 if ( strpos($_POST['user_login'], '@') ) { 107 107 $user_data = get_user_by_email(trim($_POST['user_login'])); 108 108 if ( empty($user_data) ) -
trunk/wp-mail.php
r8488 r8754 61 61 $content_transfer_encoding = $content_transfer_encoding[0]; 62 62 } 63 if (($content_type == 'multipart/alternative') && ( preg_match('/boundary="/', $line)) && ($boundary == '')) {63 if (($content_type == 'multipart/alternative') && (false !== strpos($line, 'boundary="')) && ($boundary == '')) { 64 64 $boundary = trim($line); 65 65 $boundary = explode('"', $boundary);
Note: See TracChangeset
for help on using the changeset viewer.