Changeset 58161
- Timestamp:
- 05/16/2024 03:29:57 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin-install.php
r58146 r58161 944 944 945 945 sprintf( 946 '<a class="install-now button" data-slug="%s" href="%s" aria-label="%s" data-name="%s" >%s</a>',946 '<a class="install-now button" data-slug="%s" href="%s" aria-label="%s" data-name="%s" role="button">%s</a>', 947 947 esc_attr( $data->slug ), 948 948 esc_url( $status['url'] ), … … 959 959 if ( $compatible_php && $compatible_wp && $all_plugin_dependencies_installed && ! empty( $data->download_link ) ) { 960 960 $button = sprintf( 961 '<a class="install-now button" data-slug="%s" href="%s" aria-label="%s" data-name="%s" >%s</a>',961 '<a class="install-now button" data-slug="%s" href="%s" aria-label="%s" data-name="%s" role="button">%s</a>', 962 962 esc_attr( $data->slug ), 963 963 esc_url( $status['url'] ), … … 980 980 if ( $compatible_php && $compatible_wp ) { 981 981 $button = sprintf( 982 '<a class="update-now button aria-button-if-js" data-plugin="%s" data-slug="%s" href="%s" aria-label="%s" data-name="%s" >%s</a>',982 '<a class="update-now button aria-button-if-js" data-plugin="%s" data-slug="%s" href="%s" aria-label="%s" data-name="%s" role="button">%s</a>', 983 983 esc_attr( $status['file'] ), 984 984 esc_attr( $data->slug ), … … 1027 1027 1028 1028 $button = sprintf( 1029 '<a href="%1$s" data-name="%2$s" data-slug="%3$s" data-plugin="%4$s" class="button button-primary activate-now" aria-label="%5$s" >%6$s</a>',1029 '<a href="%1$s" data-name="%2$s" data-slug="%3$s" data-plugin="%4$s" class="button button-primary activate-now" aria-label="%5$s" role="button">%6$s</a>', 1030 1030 esc_url( $activate_url ), 1031 1031 esc_attr( $name ),
Note: See TracChangeset
for help on using the changeset viewer.