Skip to content
2 changes: 1 addition & 1 deletion src/wp-includes/class-wp-customize-nav-menus.php
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ public function enqueue_scripts() {
'movedLeft' => __( 'Menu item moved out of submenu' ),
'movedRight' => __( 'Menu item is now a sub-item' ),
/* translators: ▸ is the unicode right-pointing triangle. %s: Section title in the Customizer. */
'customizingMenus' => sprintf( __( 'Customizing ▸ %s' ), esc_html( $this->manager->get_panel( 'nav_menus' )->title ) ),
'customizingMenus' => ( $this->manager->get_panel( 'nav_menus' ) ) ? sprintf( __( 'Customizing ▸ %s' ), esc_html( $this->manager->get_panel( 'nav_menus' )->title ) ) : __( 'Customizing' ),
/* translators: %s: Title of an invalid menu item. */
'invalidTitleTpl' => __( '%s (Invalid)' ),
/* translators: %s: Title of a menu item in draft status. */
Expand Down
6 changes: 3 additions & 3 deletions src/wp-includes/comment-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -2371,7 +2371,7 @@ function comment_form( $args = array(), $post_id = null ) {
( $req ? $required_indicator : '' )
),
sprintf(
'<input id="author" name="author" type="text" value="%s" size="30" maxlength="245"%s />',
'<input id="author" name="author" type="text" value="%s" size="30" maxlength="245"%s autocomplete="name" />',
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small edit: This has an extra space before maxlength

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

esc_attr( $commenter['comment_author'] ),
( $req ? $required_attribute : '' )
)
Expand All @@ -2384,7 +2384,7 @@ function comment_form( $args = array(), $post_id = null ) {
( $req ? $required_indicator : '' )
),
sprintf(
'<input id="email" name="email" %s value="%s" size="30" maxlength="100" aria-describedby="email-notes"%s />',
'<input id="email" name="email" %s value="%s" size="30" maxlength="100" aria-describedby="email-notes"%s autocomplete="email" />',
( $html5 ? 'type="email"' : 'type="text"' ),
esc_attr( $commenter['comment_author_email'] ),
( $req ? $required_attribute : '' )
Expand All @@ -2397,7 +2397,7 @@ function comment_form( $args = array(), $post_id = null ) {
__( 'Website' )
),
sprintf(
'<input id="url" name="url" %s value="%s" size="30" maxlength="200" />',
'<input id="url" name="url" %s value="%s" size="30" maxlength="200" autocomplete="url" />',
( $html5 ? 'type="url"' : 'type="text"' ),
esc_attr( $commenter['comment_author_url'] )
)
Expand Down