Ticket #42297: 42297.diff
| File 42297.diff, 6.2 KB (added by , 9 years ago) |
|---|
-
src/wp-admin/nav-menus.php
611 611 if ( 1 == $num_locations ) { 612 612 echo '<p>' . __( 'Your theme supports one menu. Select which menu you would like to use.' ) . '</p>'; 613 613 } else { 614 echo '<p>' . sprintf( _n( 'Your theme supports %s menu. Select which menu appears in each location.', 'Your theme supports %s menus. Select which menu appears in each location.', $num_locations ), number_format_i18n( $num_locations ) ) . '</p>';614 echo '<p>' . sprintf( _n( 'Your theme supports %s menu. Select which menu appears in each location.', 'Your theme supports %s menus. Select which menu appears in each location.', $num_locations ), number_format_i18n( $num_locations ) ) . '</p>'; 615 615 } 616 616 ?> 617 617 <div id="menu-locations-wrap"> -
src/wp-includes/class-pop3.php
318 318 if(!$this->is_ok($reply)) 319 319 { 320 320 $reply = $this->strip_clf($reply); 321 $this->ERROR = "POP3 pop_list: " . _("Error ") . "[$reply]";321 $this->ERROR = "POP3 pop_list: " . _("Error ") . "[$reply]"; 322 322 return false; 323 323 } 324 324 $MsgArray = array(); -
src/wp-includes/class-wp-text-diff-renderer-table.php
210 210 $line = apply_filters( 'process_text_diff_html', $processed_line, $line, 'unchanged' ); 211 211 } 212 212 if ( $this->_show_split_view ) { 213 $r .= '<tr>' . $this->contextLine( $line ) . $this->emptyLine() . $this->contextLine( $line ) . "</tr>\n";213 $r .= '<tr>' . $this->contextLine( $line ) . $this->emptyLine() . $this->contextLine( $line ) . "</tr>\n"; 214 214 } else { 215 215 $r .= '<tr>' . $this->contextLine( $line ) . "</tr>\n"; 216 216 } -
src/wp-includes/comment-template.php
2199 2199 'author' => '<p class="comment-form-author">' . '<label for="author">' . __( 'Name' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label> ' . 2200 2200 '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30" maxlength="245"' . $aria_req . $html_req . ' /></p>', 2201 2201 'email' => '<p class="comment-form-email"><label for="email">' . __( 'Email' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label> ' . 2202 '<input id="email" name="email" ' . ( $html5 ? 'type="email"' : 'type="text"' ) . ' value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30" maxlength="100" aria-describedby="email-notes"' . $aria_req . $html_req . ' /></p>',2202 '<input id="email" name="email" ' . ( $html5 ? 'type="email"' : 'type="text"' ) . ' value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30" maxlength="100" aria-describedby="email-notes"' . $aria_req . $html_req . ' /></p>', 2203 2203 'url' => '<p class="comment-form-url"><label for="url">' . __( 'Website' ) . '</label> ' . 2204 2204 '<input id="url" name="url" ' . ( $html5 ? 'type="url"' : 'type="text"' ) . ' value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" maxlength="200" /></p>', 2205 2205 ); -
src/wp-includes/http.php
488 488 $origin = get_http_origin(); 489 489 490 490 if ( is_allowed_http_origin( $origin ) ) { 491 @header( 'Access-Control-Allow-Origin: ' . $origin );491 @header( 'Access-Control-Allow-Origin: ' . $origin ); 492 492 @header( 'Access-Control-Allow-Credentials: true' ); 493 493 if ( 'OPTIONS' === $_SERVER['REQUEST_METHOD'] ) 494 494 exit; -
src/wp-includes/post.php
4662 4662 $hierarchical = false; 4663 4663 $incpages = wp_parse_id_list( $r['include'] ); 4664 4664 if ( ! empty( $incpages ) ) { 4665 $inclusions = ' AND ID IN (' . implode( ',', $incpages ) . ')';4665 $inclusions = ' AND ID IN (' . implode( ',', $incpages ) . ')'; 4666 4666 } 4667 4667 } 4668 4668 … … 4670 4670 if ( ! empty( $exclude ) ) { 4671 4671 $expages = wp_parse_id_list( $exclude ); 4672 4672 if ( ! empty( $expages ) ) { 4673 $exclusions = ' AND ID NOT IN (' . implode( ',', $expages ) . ')';4673 $exclusions = ' AND ID NOT IN (' . implode( ',', $expages ) . ')'; 4674 4674 } 4675 4675 } 4676 4676 -
src/wp-includes/wp-db.php
1051 1051 $message .= '<li>' . sprintf( 1052 1052 /* translators: 1: database user, 2: database name */ 1053 1053 __( 'Does the user %1$s have permission to use the %2$s database?' ), 1054 '<code>' . htmlspecialchars( $this->dbuser, ENT_QUOTES ) . '</code>',1054 '<code>' . htmlspecialchars( $this->dbuser, ENT_QUOTES ) . '</code>', 1055 1055 '<code>' . htmlspecialchars( $db, ENT_QUOTES ) . '</code>' 1056 1056 ) . "</li>\n"; 1057 1057 -
src/wp-login.php
424 424 if ( isset( $_SERVER['PATH_INFO'] ) && ($_SERVER['PATH_INFO'] != $_SERVER['PHP_SELF']) ) 425 425 $_SERVER['PHP_SELF'] = str_replace( $_SERVER['PATH_INFO'], '', $_SERVER['PHP_SELF'] ); 426 426 427 $url = dirname( set_url_scheme( 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] ) );427 $url = dirname( set_url_scheme( 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] ) ); 428 428 if ( $url != get_option( 'siteurl' ) ) 429 429 update_option( 'siteurl', $url ); 430 430 }