Password protected form: Add wp-element-button
class to the submit input
#61353
Labels
[Block] Post Content
Affects the Post Content Block
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
When you set a page/post to be password protected, the "This content is password protected" form shown on the page includes a
<input type="submit">
button without thewp-element-button
class. That means that the button doesn't match the button styles set by the theme in theme.json, or by the user in the site editor.What is your proposed solution?
Add the
wp-element-button
class to the<input type="submit">
element in the password protected form.The text was updated successfully, but these errors were encountered: