Make WordPress Core

Ticket #27070: 27070.diff

File 27070.diff, 871 bytes (added by DrewAPicture, 12 years ago)

docs

  • src/wp-admin/includes/template.php

     
    16181618 * @since 3.1.0
    16191619 *
    16201620 * @param string $text The text of the button (defaults to 'Save Changes')
    1621  * @param string $type The type of button. One of: primary, secondary, delete
     1621 * @param string $type Optional. The type and CSS class(es) of the button. Core values
     1622 *                     include 'primary', 'secondary', 'delete'. Default 'primary'
    16221623 * @param string $name The HTML name of the submit button. Defaults to "submit". If no id attribute
    16231624 *               is given in $other_attributes below, $name will be used as the button's id.
    16241625 * @param bool $wrap True if the output button should be wrapped in a paragraph tag,