Commit e4024b8
committed
Posts, Post Types: Style password form button in block themes.
When a block theme is active, wrap the post password form's submit button in a `wp-block-button` span and add the `wp-block-button__link` class along with the theme's button element class name, so it is styled consistently with other buttons output by the theme. The `wp-block-button` stylesheet is explicitly enqueued when registered, as it may not otherwise be present on pages without a Button block.
Props apermo, mukesh27, sukhendu2002, poena, wildworks.
Fixes #64569.
git-svn-id: https://develop.svn.wordpress.org/trunk@62754 602fd350-edb4-49c9-b593-d223f7449a821 parent 16af489 commit e4024b8
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1809 | 1809 | | |
1810 | 1810 | | |
1811 | 1811 | | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
| 1825 | + | |
1812 | 1826 | | |
1813 | 1827 | | |
1814 | | - | |
| 1828 | + | |
1815 | 1829 | | |
1816 | 1830 | | |
1817 | 1831 | | |
| |||
0 commit comments