PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 10.3
Jetpack – WP Security, Backup, Speed, & Growth v10.3
16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 All 501 releases
jetpack / views / admin / deactivation-dialog.php
deactivation-dialog.php
59 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * The deactivation modal content.
4 *
5 * @package automattic/jetpack
6 *
7 * phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
8 * because $data is magically loaded by Jetpack::load_view()
9 */
10
11 ?>
12 <div id="jetpack_deactivation_dialog">
13
14 <div class="jetpack_deactivation_dialog_content">
15 <p>
16 <?php
17 echo esc_html(
18 sprintf(
19 /* translators: %d is the number of additional plugins using the jetpack connection. */
20 _n(
21 'The Jetpack Connection is also used by %d other plugin, and it will lose connection.',
22 'The Jetpack Connection is also used by %d other plugins, and they will lose connection.',
23 count( $data ),
24 'jetpack'
25 ),
26 count( $data )
27 )
28 );
29 ?>
30 </p>
31
32 <ul>
33 <?php foreach ( $data as $plugin_slug => $plugin_args ) : ?>
34
35 <li>
36 <span class="dashicons dashicons-warning"></span>
37 <span>
38 <?php echo esc_html( isset( $plugin_args['name'] ) ? $plugin_args['name'] : $plugin_slug ); ?>
39 <span>
40 </li>
41
42 <?php endforeach; ?>
43 </ul>
44
45
46 </div>
47
48
49 <div class="jetpack_deactivation_dialog_content__buttons-row-container">
50 <div class="jetpack_deactivation_dialog_content__buttons-row">
51 <p><?php esc_html_e( 'Are you sure you want to deactivate?', 'jetpack' ); ?></p>
52 <div class="jetpack_deactivation_dialog_content__buttons">
53 <button type="button" id="jetpack_deactivation_dialog_content__button-cancel"><?php esc_html_e( 'Cancel', 'jetpack' ); ?></button>
54 <button type="button" id="jetpack_deactivation_dialog_content__button-deactivate"><?php esc_html_e( 'Disconnect and Deactivate', 'jetpack' ); ?></button>
55 </div>
56 </div>
57 </div>
58 </div>
59