Changeset 8600 for trunk/wp-includes/pluggable.php
- Timestamp:
- 08/09/2008 05:36:14 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/pluggable.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r8581 r8600 668 668 } else { 669 669 wp_redirect('https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); 670 exit(); 670 exit(); 671 671 } 672 672 } … … 757 757 $location = apply_filters('wp_redirect', $location, $status); 758 758 $status = apply_filters('wp_redirect_status', $status, $location); 759 759 760 760 if ( !$location ) // allows the wp_redirect filter to cancel a redirect 761 761 return false; … … 830 830 // In php 5 parse_url may fail if the URL query part contains http://, bug #38143 831 831 $test = ( $cut = strpos($location, '?') ) ? substr( $location, 0, $cut ) : $location; 832 832 833 833 $lp = parse_url($test); 834 834 $wpp = parse_url(get_option('home')); … … 975 975 $notify_message .= sprintf( __('Spam it: %s'), admin_url("comment.php?action=cdc&dt=spam&c=$comment_id") ) . "\r\n"; 976 976 977 $notify_message .= sprintf( __ngettext('Currently %s comment is waiting for approval. Please visit the moderation panel:', 977 $notify_message .= sprintf( __ngettext('Currently %s comment is waiting for approval. Please visit the moderation panel:', 978 978 'Currently %s comments are waiting for approval. Please visit the moderation panel:', $comments_waiting), number_format_i18n($comments_waiting) ) . "\r\n"; 979 979 $notify_message .= admin_url("edit-comments.php?comment_status=moderated") . "\r\n"; … … 1541 1541 $left_string = preg_replace( array( '/\n+/', '/[ \t]+/' ), array( "\n", ' ' ), $left_string ); 1542 1542 $right_string = preg_replace( array( '/\n+/', '/[ \t]+/' ), array( "\n", ' ' ), $right_string ); 1543 1543 1544 1544 $left_lines = split("\n", $left_string); 1545 1545 $right_lines = split("\n", $right_string);
Note: See TracChangeset
for help on using the changeset viewer.