Make WordPress Core

Ticket #27747: template.diff

File template.diff, 753 bytes (added by OriginalEXE, 10 years ago)

Changed default $type parameter value for get_submit_button

  • wp-admin/includes/template.php

     
    18041804 *                     Defaults to no other attributes. Other attributes can also be provided as a
    18051805 *                     string such as 'tabindex="1"', though the array format is typically cleaner.
    18061806 */
    1807 function get_submit_button( $text = null, $type = 'primary large', $name = 'submit', $wrap = true, $other_attributes = null ) {
     1807function get_submit_button( $text = null, $type = 'primary', $name = 'submit', $wrap = true, $other_attributes = null ) {
    18081808        if ( ! is_array( $type ) )
    18091809                $type = explode( ' ', $type );
    18101810