- Timestamp:
- 06/13/2024 01:25:41 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin-install.php
r58396 r58402 943 943 $all_plugin_dependencies_active = $active_plugin_dependencies_count === $plugin_dependencies_count; 944 944 945 sprintf(946 '<a class="install-now button" data-slug="%s" href="%s" aria-label="%s" data-name="%s" role="button">%s</a>',947 esc_attr( $data->slug ),948 esc_url( $status['url'] ),949 /* translators: %s: Plugin name and version. */950 esc_attr( sprintf( _x( 'Install %s now', 'plugin' ), $name ) ),951 esc_attr( $name ),952 _x( 'Install Now', 'plugin' )953 );954 955 945 if ( current_user_can( 'install_plugins' ) || current_user_can( 'update_plugins' ) ) { 956 946 switch ( $status['status'] ) {
Note: See TracChangeset
for help on using the changeset viewer.