Skip to content

Commit

Permalink
Merge branch 'release/1.8.3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Hemberger committed Feb 13, 2019
2 parents 98b3982 + 8df9fb1 commit 6c39959
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog


## 1.8.3.1 (2/13/19)
* Fixed: Better support for older PHP in logo width customizer field. Please just run PHP 7 though.

## 1.8.3 (2/12/19)
* Fixed: Some background images not displaying correctly.
* Fixed: Incompatibility with Jetpack Photon "Speed up image load times" setting, again.
Expand Down
4 changes: 3 additions & 1 deletion lib/functions/display.php
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,9 @@ function mai_get_sections( $sections ) {
/**
* Filter to allow new settings to get passed to mai_get_section() function.
*
* @since 1.7.0.
* @access private
*
* @since 1.7.0
*/
$valid = apply_filters( 'mai_valid_section_args', $valid );

Expand Down
5 changes: 4 additions & 1 deletion lib/settings/customizer/site-identity.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ function mai_register_customizer_site_identity_settings( $wp_customize ) {
'step' => 1, // Required.
),
'active_callback' => function() use ( $wp_customize ) {
return ! empty( $wp_customize->get_setting( 'custom_logo' )->value() );
// Need to set this as a variable cause older PHP was freaking out.
$logo = $wp_customize->get_setting( 'custom_logo' )->value();
$has_logo = ! empty( $logo );
return $has_logo;
},
)
) );
Expand Down
4 changes: 2 additions & 2 deletions mai-theme-engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Plugin URI: https://maitheme.com/
* Description: The Mai Theme Engine plugin
*
* Version: 1.8.3
* Version: 1.8.3.1
*
* GitHub URI: maithemewp/mai-theme-engine
*
Expand Down Expand Up @@ -89,7 +89,7 @@ public function __wakeup() {
private function setup_constants() {

// Plugin version.
define( 'MAI_THEME_ENGINE_VERSION', '1.8.3' );
define( 'MAI_THEME_ENGINE_VERSION', '1.8.3.1' );

// DB version.
define( 'MAI_THEME_ENGINE_DB_VERSION', '1400' );
Expand Down

0 comments on commit 6c39959

Please sign in to comment.