Skip to content

Commit

Permalink
Removing autocomplete for fields; see:wpsharks/comment-mail#274
Browse files Browse the repository at this point in the history
  • Loading branch information
renzms committed Jun 7, 2016
1 parent f22704c commit 2e97f99
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/includes/classes/MenuPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -4467,7 +4467,7 @@ protected function proUpdaterX()
return isset($_this->plugin->options[$key]) ? $_this->plugin->options[$key] : null;
};
echo '<div class="'.esc_attr(SLUG_TD.'-menu-page '.SLUG_TD.'-menu-page-pro-updater '.SLUG_TD.'-menu-page-area').'">'."\n";
echo ' <form method="post" enctype="multipart/form-data" action="'.esc_attr($this->plugin->utils_url->pageNonceOnly()).'" novalidate="novalidate">'."\n";
echo ' <form method="post" enctype="multipart/form-data" autocomplete="off" action="'.esc_attr($this->plugin->utils_url->pageNonceOnly()).'" novalidate="novalidate">'."\n";

echo ' '.$this->heading(__('Pro Updater', SLUG_TD), 'logo.png').
' '.$this->notes(); // Heading/notifications.
Expand All @@ -4487,6 +4487,7 @@ protected function proUpdaterX()
'label' => __('Customer Username', SLUG_TD),
'placeholder' => __('e.g., johndoe22', SLUG_TD),
'current_value' => $current_value_for('pro_update_username'),
'autocomplete' => 'new-password',
]
).
' </tbody>'.
Expand All @@ -4500,6 +4501,7 @@ protected function proUpdaterX()
'name' => 'password',
'label' => __('Customer Password or Product License Key', SLUG_TD),
'current_value' => $current_value_for('pro_update_password'),
'autocomplete' => 'new-password',
]
).
' </tbody>'.
Expand Down

0 comments on commit 2e97f99

Please sign in to comment.