Make WordPress Core

Ticket #34891: 34891.patch

File 34891.patch, 597 bytes (added by sstoqnov, 8 years ago)
  • src/wp-admin/includes/template.php

     
    19451945        // Remove empty items, remove duplicate items, and finally build a string.
    19461946        $class = implode( ' ', array_unique( array_filter( $classes ) ) );
    19471947
    1948         if ( 'delete' === $type )
    1949                 $class = 'button delete';
    1950 
    19511948        $text = $text ? $text : __( 'Save Changes' );
    19521949
    19531950        // Default the id attribute to $name unless an id was specifically provided in $other_attributes