@@ -874,35 +874,11 @@ function rich_snippet_dashboard() {
874
874
875
875
876
876
</div>
877
- <div class="postbox bsf-analytics-setting closed">
878
- <button type="button" class="handlediv" aria-expanded="false"><span class="screen-reader-text"> ' . esc_html__ ( 'Toggle panel: Frontend Options ' , 'rich-snippets ' ) . '</span><span class="toggle-indicator" aria-hidden="true"></span></button>
879
- <h3 class="get_in_touch"> ' . esc_html__ ( 'Help Us Improve Your Experience. ' , 'rich-snippets ' ) . '</h3>
880
- <div class="inside">
881
- <form id="bsf_css_editor" method="post" action="">
882
- <input type="hidden" id="snippet_analytics_nonce_field" name="snippet_analytics_nonce_field" value=" ' . esc_attr ( wp_create_nonce ( 'snippet_analytics_form_action ' ) ) . '">
883
- <table class="bsf_metabox" > <input type="hidden" name="site_url" value=" ' . esc_url ( site_url () ) . '" /> </p>
884
- <tr>
885
- <td>
886
- <input style="margin-left:10px;" type="checkbox" name="aiosrs_analytics_optin" id="aiosrs_analytics_optin" value="yes" ' . checked ( 'yes ' , get_option ( 'aiosrs_analytics_optin ' , 'no ' ), false ) . ' />
887
- <label for="analytics_option"> ' . esc_html__ ( 'Collect non-sensitive information from your website, such as the PHP version and features used, to help us fix bugs faster, make smarter decisions, and build features that actually matter to you. ' , 'rich-snippets ' ) . '</label>
888
- <a href="https://store.brainstormforce.com/usage-tracking/?utm_source=wp_dashboard&utm_medium=general_settings&utm_campaign=usage_tracking" target="_blank">Learn More</a>
889
- </td>
890
- </tr>
891
- <tr>
892
- <td>
893
- <input style="margin-top:10px;" type="submit" class="button-primary" name="setting_analytics_submit" value=" ' . esc_html__ ( 'Save ' , 'rich-snippets ' ) . '"/>
894
- </td>
895
- </tr>
896
- </table>
897
- </form>
898
- </div>
899
- </div> ' ;
900
-
901
- $ allowed_html = array (
902
- 'div ' => array (
903
- 'class ' => array (),
904
- 'id ' => array (),
905
- ),
877
+ $allowed_html = array(
878
+ 'div' => array(
879
+ ' class' => array(),
880
+ 'id ' => array (),
881
+ ),
906
882
'button ' => array (
907
883
'type ' => array (),
908
884
'class ' => array (),
@@ -952,12 +928,37 @@ function rich_snippet_dashboard() {
952
928
'ul ' => array ( 'class ' => array () ),
953
929
);
954
930
955
- echo wp_kses ( get_support (), $ allowed_html ) . '
931
+ echo wp_kses ( get_support (), $ allowed_html ) . '
956
932
</div> ' ;
957
- echo '
958
- <script src=" ' . esc_url ( plugin_dir_url ( __FILE__ ) ) //phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript
959
- . 'js/jquery.easytabs.min.js"></script>
960
- <script src=" ' . esc_url ( plugin_dir_url ( __FILE__ ) ) //phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript
933
+
934
+ echo '<div class="postbox bsf-analytics-setting closed">
935
+ <button type="button" class="handlediv" aria-expanded="false"><span class="screen-reader-text"> ' . esc_html__ ( 'Toggle panel: Frontend Options ' , 'rich-snippets ' ) . '</span><span class="toggle-indicator" aria-hidden="true"></span></button>
936
+ <h3 class="get_in_touch"> ' . esc_html__ ( 'Help Us Improve Your Experience. ' , 'rich-snippets ' ) . '</h3>
937
+ <div class="inside">
938
+ <form id="bsf_css_editor" method="post" action="">
939
+ <input type="hidden" id="snippet_analytics_nonce_field" name="snippet_analytics_nonce_field" value=" ' . esc_attr ( wp_create_nonce ( 'snippet_analytics_form_action ' ) ) . '">
940
+ <table class="bsf_metabox" > <input type="hidden" name="site_url" value=" ' . esc_url ( site_url () ) . '" /> </p>
941
+ <tr>
942
+ <td>
943
+ <input style="margin-left:10px;" type="checkbox" name="aiosrs_analytics_optin" id="aiosrs_analytics_optin" value="yes" ' . checked ( 'yes ' , get_option ( 'aiosrs_analytics_optin ' , 'no ' ), false ) . ' />
944
+ <label for="analytics_option"> ' . esc_html__ ( 'Collect non-sensitive information from your website, such as the PHP version and features used, to help us fix bugs faster, make smarter decisions, and build features that actually matter to you. ' , 'rich-snippets ' ) . '</label>
945
+ <a href="https://store.brainstormforce.com/usage-tracking/?utm_source=wp_dashboard&utm_medium=general_settings&utm_campaign=usage_tracking" target="_blank">Learn More</a>
946
+ </td>
947
+ </tr>
948
+ <tr>
949
+ <td>
950
+ <input style="margin-top:10px;" type="submit" class="button-primary" name="setting_analytics_submit" value=" ' . esc_html__ ( 'Save ' , 'rich-snippets ' ) . '"/>
951
+ </td>
952
+ </tr>
953
+ </table>
954
+ </form>
955
+ </div>
956
+ </div> ' ;
957
+
958
+ echo '
959
+ <script src=" ' . esc_url ( plugin_dir_url ( __FILE__ ) ) //phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript
960
+ . 'js/jquery.easytabs.min.js"></script>
961
+ <script src=" ' . esc_url ( plugin_dir_url ( __FILE__ ) ) //phpcs:ignore WordPress.WP.EnqueuedResources.NonEnqueuedScript
961
962
. 'js/jquery.hashchange.min.js"></script>
962
963
<script language="javascript">
963
964
jQuery("#tab-container").easytabs();
0 commit comments