- Timestamp:
- 08/03/2019 03:45:06 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-text-diff-renderer-table.php
r45590 r45729 114 114 */ 115 115 public function addedLine( $line ) { 116 return "<td class='diff-addedline'> {$line}</td>";116 return "<td class='diff-addedline'><span aria-hidden='true' class='dashicons dashicons-plus'></span><span class='screen-reader-text'>" . __( 'Added:' ) . " </span>{$line}</td>"; 117 117 118 118 } … … 125 125 */ 126 126 public function deletedLine( $line ) { 127 return "<td class='diff-deletedline'> {$line}</td>";127 return "<td class='diff-deletedline'><span aria-hidden='true' class='dashicons dashicons-minus'></span><span class='screen-reader-text'>" . __( 'Deleted:' ) . " </span>{$line}</td>"; 128 128 } 129 129 … … 135 135 */ 136 136 public function contextLine( $line ) { 137 return "<td class='diff-context'> {$line}</td>";137 return "<td class='diff-context'><span class='screen-reader-text'>" . __( 'Unchanged:' ) . " </span>{$line}</td>"; 138 138 } 139 139
Note: See TracChangeset
for help on using the changeset viewer.