PluginProbe
Meow Gallery / 4.2.2
Meow Gallery v4.2.2
5.5.5 5.5.4 5.5.3 5.5.2 5.5.1 5.5.0 5.4.9 5.4.8 5.4.7 4.1.5 4.1.6 4.1.7 4.1.8 4.1.9 4.2.0 4.2.1 4.2.2 4.2.3 4.2.4 4.2.5 4.2.6 4.2.7 4.2.8 4.2.9 4.3.0 All 157 releases
← All changes | common/admin.php +3 -5 4.2.4 → 4.2.2 View file →
@@ -4,10 +4,10 @@
4 4
5 5 class MeowCommon_Admin {
6 6
7 7 public static $loaded = false;
8 - public static $version = "3.7";
9 - public static $admin_version = "3.7";
8 + public static $version = "3.6";
9 + public static $admin_version = "3.6";
10 10
11 11 public $prefix; // prefix used for actions, filters (mfrh)
12 12 public $mainfile; // plugin main file (media-file-renamer.php)
13 13 public $domain; // domain used for translation (media-file-renamer)
@@ -24,10 +24,9 @@
24 24 new MeowCommon_Issues( $prefix, $mainfile, $domain );
25 25
26 26 // Create the Meow Apps Menu
27 27 add_action( 'admin_menu', array( $this, 'admin_menu_start' ) );
28 - $page = isset( $_GET["page"] ) ? sanitize_text_field( $_GET["page"] ) : null;
29 - if ( $page === 'meowapps-main-menu' ) {
28 + if ( isset( $_GET['page'] ) && $_GET['page'] === 'meowapps-main-menu' ) {
30 29 add_filter( 'admin_footer_text', array( $this, 'admin_footer_text' ), 100000, 1 );
31 30 }
32 31 }
33 32 MeowCommon_Admin::$loaded = true;
@@ -162,9 +161,8 @@
162 161 $html = "<div id='meow-common-dashboard'></div>";
163 162 $html .= "<div style='height: 0; width: 0; overflow: hidden;' id='meow-common-phpinfo'>";
164 163 $html .= $this->get_phpinfo();
165 164 $html .= "</div>";
166 - $html = preg_replace("/<img[^>]+\>/i", "", $html);
167 165 echo wp_kses_post( $html );
168 166 }
169 167
170 168 function admin_footer_text( $current ) {