PluginProbe
TablePress – Tables in WordPress made easy / 3.4
TablePress – Tables in WordPress made easy v3.4
3.4 3.3.4 3.3.3 3.3.2 3.3.1 trunk 1.12 1.14 1.9.2 2.0.4 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.3.1 2.3.2 2.4 2.4.1 2.4.2 2.4.3 All 45 releases
← All changes | views/view-options_custom_css.php +4 -1 3.3.3 → 3.4 View file →
@@ -7,8 +7,10 @@
7 7 * @author Tobias Bäthge
8 8 * @since 1.0.0
9 9 */
10 10
11 +declare(strict_types=1);
12 +
11 13 // Prohibit direct script loading.
12 14 defined( 'ABSPATH' ) || die( 'No direct script access allowed!' );
13 15
14 16 /**
@@ -42,9 +44,9 @@
42 44 $GLOBALS['title'] = sprintf( __( '%1$s ‹ %2$s', 'tablepress' ), $this->data['view_actions'][ $this->action ]['page_title'], 'TablePress' ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
43 45
44 46 add_filter( 'admin_footer_text', array( $this, 'add_admin_footer_text' ) );
45 47
46 - $this->add_header_message( '<strong>' . __( 'Attention: Further action is required to save the changes to your &#8220;Custom CSS&#8221;!', 'tablepress' ) . '</strong>', 'is-success' );
48 + $this->add_header_message( '<strong>' . __( 'Attention: Further action is required to save the changes to your &#8220;Custom CSS&#8221;!', 'tablepress' ) . '</strong>', 'is-warning notice-warning' );
47 49
48 50 TablePress::enqueue_style( 'common', array( 'wp-components' ) );
49 51
50 52 $this->add_text_box( 'explanation-text', array( $this, 'textbox_explanation_text' ), 'normal' );
@@ -65,8 +67,9 @@
65 67 $this->print_nav_tab_menu();
66 68 ?>
67 69 <div id="tablepress-body">
68 70 <hr class="wp-header-end">
71 + <script>document.querySelectorAll('.notice:has(~#tablepress-page)').forEach(e=>document.querySelector('.wp-header-end').after(e));</script>
69 72 <?php
70 73 // Print all header messages.
71 74 foreach ( $this->header_messages as $message ) {
72 75 echo $message;