Ticket #23477: 23477.diff
| File 23477.diff, 1.7 KB (added by , 9 years ago) |
|---|
-
src/wp-admin/includes/template.php
1893 1893 * 1894 1894 * @param string $text The text of the button (defaults to 'Save Changes') 1895 1895 * @param string $type Optional. The type and CSS class(es) of the button. Core values 1896 * include 'primary', 's econdary', 'delete'. Default 'primary'1896 * include 'primary', 'small', and 'large'. Default 'primary'. 1897 1897 * @param string $name The HTML name of the submit button. Defaults to "submit". If no 1898 1898 * id attribute is given in $other_attributes below, $name will be 1899 1899 * used as the button's id. … … 1916 1916 * @since 3.1.0 1917 1917 * 1918 1918 * @param string $text Optional. The text of the button. Default 'Save Changes'. 1919 * @param string $type Optional. The type of button. Accepts 'primary', 'secondary',1920 * or 'delete'. Default 'primary large'.1919 * @param string $type Optional. The type and CSS class(es) of the button. Core values 1920 * include 'primary', 'small', and 'large'. Default 'primary large'. 1921 1921 * @param string $name Optional. The HTML name of the submit button. Defaults to "submit". 1922 1922 * If no id attribute is given in $other_attributes below, `$name` will 1923 1923 * be used as the button's id. Default 'submit'.