WP Mobile Menu - Version 2.7.1

Version Description

  • Fix! - Retina logo bug

  • New! - 2 Menu locations for the left/right menu (useful for translation plugins)

Download this release

Release Info

Developer takanakui
Plugin Icon 128x128 WP Mobile Menu
Version 2.7.1
Comparing to
See all releases

Code changes from version 2.7 to 2.7.1

changelog.txt CHANGED
@@ -119,4 +119,6 @@ Version 2.7
119
  - Fix! - Translation strings
120
  - Fix! - W3C HTML Validations
121
 
 
 
122
  -----------------------------------------------------------
119
  - Fix! - Translation strings
120
  - Fix! - W3C HTML Validations
121
 
122
+ Version 2.7.1
123
+ - Fix! - Retina Logo Bug
124
  -----------------------------------------------------------
includes/class-wp-mobile-menu-core.php CHANGED
@@ -415,13 +415,13 @@ class WP_Mobile_Menu_Core {
415
 
416
  $header_branding = $titan->getOption( 'header_branding' );
417
 
 
 
 
 
 
418
  if ( ( 'logo' === $header_branding || 'logo-text' === $header_branding || 'text-logo' === $header_branding ) && null !== $logo_img ) {
419
  $logo_output .= '<img class="mob-standard-logo" src="' . $logo_img . '" alt=" ' . __( 'Logo Header Menu', 'mob-menu-lang' ) . '">';
420
-
421
- if ( '' !== $titan->getOption( 'logo_img_retina' ) ) {
422
- $logo_output .= '<img class="mob-retina-logo" src="' . $logo_img_retina . '" alt=" ' . __( 'Logo Header Menu', 'mob-menu-lang' ) . '">';
423
- }
424
-
425
  }
426
 
427
  if ( $titan->getOption( 'disabled_logo_url' ) ) {
415
 
416
  $header_branding = $titan->getOption( 'header_branding' );
417
 
418
+ // If there is a retina logo use only that logo.
419
+ if ( '' !== $titan->getOption( 'logo_img_retina' ) ) {
420
+ $logo_img = $logo_img_retina;
421
+ }
422
+
423
  if ( ( 'logo' === $header_branding || 'logo-text' === $header_branding || 'text-logo' === $header_branding ) && null !== $logo_img ) {
424
  $logo_output .= '<img class="mob-standard-logo" src="' . $logo_img . '" alt=" ' . __( 'Logo Header Menu', 'mob-menu-lang' ) . '">';
 
 
 
 
 
425
  }
426
 
427
  if ( $titan->getOption( 'disabled_logo_url' ) ) {
includes/dynamic-style.php CHANGED
@@ -857,21 +857,6 @@ $total_header_height = $header_height;
857
  <?php echo $logo_height; ?>
858
  }
859
 
860
- .mob-retina-logo {
861
- <?php echo $logo_height; ?>
862
- }
863
- }
864
-
865
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
866
- .mob-retina-logo {
867
- display: inline-block!important;
868
- }
869
- .mob-standard-logo {
870
- display: none!important;
871
- }
872
- }
873
- .mob-retina-logo {
874
- display: none;
875
  }
876
  .mob-standard-logo {
877
  display: inline-block;
857
  <?php echo $logo_height; ?>
858
  }
859
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
860
  }
861
  .mob-standard-logo {
862
  display: inline-block;
mobmenu.php CHANGED
@@ -5,7 +5,7 @@
5
  * Plugin URI: https://www.wpmobilemenu.com/
6
  * Description: An easy to use WordPress responsive mobile menu. Keep your mobile visitors engaged.
7
  * Author: Takanakui
8
- * Version: 2.7
9
  * Author URI: https://www.wpmobilemenu.com/
10
  * Tested up to: 4.9
11
  * Text Domain: mobile-menu
5
  * Plugin URI: https://www.wpmobilemenu.com/
6
  * Description: An easy to use WordPress responsive mobile menu. Keep your mobile visitors engaged.
7
  * Author: Takanakui
8
+ * Version: 2.7.1
9
  * Author URI: https://www.wpmobilemenu.com/
10
  * Tested up to: 4.9
11
  * Text Domain: mobile-menu
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: takanakui, freemius
3
  link: http://profiles.wordpress.org/takanakui
4
  Tags: mobile, navigation, responsive, menu, responsive menu, mobile menu, tablet menu, hamburger menu, hamburger, wordpress responsive menu, wordpress mobile menu, canvas menu
5
  Requires at least: 4.0
6
- Tested up to: 4.9
7
  Stable tag: 2.7
8
  Requires PHP: 5.2.4
9
  License: GPLv3
@@ -92,7 +92,10 @@ Not available at the moment
92
  Not available at the moment
93
 
94
  == Changelog ==
 
 
95
 
 
96
  = 2.7 =
97
  * New! - 2 Menu locations for the left/right menu (useful for translation plugins)
98
  * New! - Option to change close icon
3
  link: http://profiles.wordpress.org/takanakui
4
  Tags: mobile, navigation, responsive, menu, responsive menu, mobile menu, tablet menu, hamburger menu, hamburger, wordpress responsive menu, wordpress mobile menu, canvas menu
5
  Requires at least: 4.0
6
+ Tested up to: 5.0
7
  Stable tag: 2.7
8
  Requires PHP: 5.2.4
9
  License: GPLv3
92
  Not available at the moment
93
 
94
  == Changelog ==
95
+ = 2.7.1 =
96
+ * Fix! - Retina logo bug
97
 
98
+ * New! - 2 Menu locations for the left/right menu (useful for translation plugins)
99
  = 2.7 =
100
  * New! - 2 Menu locations for the left/right menu (useful for translation plugins)
101
  * New! - Option to change close icon