Skip to content

Commit

Permalink
Update wp-accessibility-stats.php
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Nov 16, 2023
1 parent 032bfb2 commit 3b88f3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wp-accessibility-stats.php
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,8 @@ function wpa_custom_column( $column_name, $post_id ) {
// translators: Action enabled.
$last_action = ( 'enabled' === $event->{$data} ) ? sprintf( __( '%s enabled', 'wp-accessibility' ), $label ) : sprintf( __( '%s disabled', 'wp-accessibility' ), $label );
} else {
$icon = 'format-image';
$action = ( property_exists( $data, 'alttext' ) ) ? '<code>alt</code>' : '<code>longdesc</code>';
$icon = 'format-image';
$action = ( property_exists( $data, 'alttext' ) ) ? '<code>alt</code>' : '<code>longdesc</code>';
// translators: Data expanded; either `alt` or `longdesc`.
$last_action = sprintf( __( '%s expanded on image.', 'wp-accessibility' ), $action );
}
Expand Down

0 comments on commit 3b88f3f

Please sign in to comment.