Ticket #34891: 34891.patch
File 34891.patch, 597 bytes (added by , 8 years ago) |
---|
-
src/wp-admin/includes/template.php
1945 1945 // Remove empty items, remove duplicate items, and finally build a string. 1946 1946 $class = implode( ' ', array_unique( array_filter( $classes ) ) ); 1947 1947 1948 if ( 'delete' === $type )1949 $class = 'button delete';1950 1951 1948 $text = $text ? $text : __( 'Save Changes' ); 1952 1949 1953 1950 // Default the id attribute to $name unless an id was specifically provided in $other_attributes