PluginProbe
WP-Stateless – Google Cloud Storage / 3.2.1
WP-Stateless – Google Cloud Storage v3.2.1
4.4.3 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.3.0 2.3.1 2.3.2 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.2.0 3.2.1 3.2.2 All 62 releases
wp-stateless / static / views / setup_wizard_interface.php

setup_wizard_interface.php in WP-Stateless – Google Cloud Storage 3.2.1, at static/views/setup_wizard_interface.php

19 lines 732 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 $consoleUrl = 'https://console.stateless.ci';
3 $auth_token = \wpCloud\StatelessMedia\Utility::generate_wizard_auth_token();
4 $api_root = get_rest_url();
5 $is_network = intval(is_network_admin());
6 $admin_url = admin_url();
7 ?>
8
9 <script>
10 (function($) {
11 $(document).ready(function(){
12 $('#consoleStatelessIframeWrapper')
13 .html('<iframe id="console-stateless-wizard" src="<?php esc_html_e($consoleUrl) ?>?wp_nonce=<?php esc_html_e($auth_token) ?>&api_root=<?php esc_html_e($api_root) ?>&is_network=<?php esc_html_e($is_network) ?>&admin_url=<?php esc_html_e($admin_url) ?>" />')
14 })
15 })(jQuery)
16 </script>
17
18 <div id="consoleStatelessIframeWrapper"></div>
19 <style>#wpfooter{display:none!important}</style>