Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pmpro-advanced-levels-shortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ function pmproal_level_button( $level, $checkout_button, $renew_button, $account

// Output the button.
?>
<a class="<?php echo esc_attr( implode( ' ', array_unique( $button_classes ) ) ); ?>" href="<?php echo esc_url( $button_link ); ?>"><?php echo esc_html( $button_text ); ?></a>
<a aria-label="<?php echo esc_attr( sprintf( __('Select the %s membership level', 'pmpro-advanced-levels-shortcode' ), $level->name ) ); ?>" class="<?php echo esc_attr( implode( ' ', array_unique( $button_classes ) ) ); ?>" href="<?php echo esc_url( $button_link ); ?>"><?php echo esc_html( $button_text ); ?></a>
<?php
}

Expand Down
2 changes: 1 addition & 1 deletion templates/levels-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<?php if ( ! empty( $expiration ) ) { ?>
<th><?php esc_html_e('Expiration', 'pmpro-advanced-levels-shortcode');?></th>
<?php } ?>
<th>&nbsp;</th>
<th><span class="screen-reader-text"><?php esc_html_e( 'Action', 'pmpro-advanced-levels-shortcode' ); ?></span></th>
<?php do_action('pmproal_extra_cols_after_header'); ?>
</tr>
</thead>
Expand Down