Skip to content

Commit

Permalink
bugfix for blankout
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian Taggart committed Aug 28, 2014
1 parent 1be9110 commit 56309d5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Provides a library of additional template tags, 3rd-party libraries, and functio

# Changelog:

## 0.7.8

Fix PHP notice on Blankout

## 0.7.7

Security update
Expand Down
8 changes: 6 additions & 2 deletions core/mapi-theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,12 @@ function mapi_get_favicon_url() {
$favicon = mapi_get_option('custom_branding');
if($favicon != NULL && array_key_exists('mapi_favicon', $favicon)) {
$favicon = $favicon['mapi_favicon']['src'];
$string = mapi_thumb(array('src' => esc_url_raw($favicon), 'w' => 96, 'h' => 96, 'zc' => 0, 'ct' => 1));
return $string;
if(!empty($favicon)) {
$string = mapi_thumb(array('src' => esc_url_raw($favicon), 'w' => 96, 'h' => 96, 'zc' => 0, 'ct' => 1));
return $string;
} else {
return FALSE;
}
} else {
return FALSE;
}
Expand Down
6 changes: 3 additions & 3 deletions mindshare-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin URI: http://mindsharelabs.com/downloads/mindshare-theme-api/
Description: Provides a library of additional template tags, 3rd-party libraries, and functions for WordPress themes and additional features for WordPress CMS websites.
Author: Mindshare Studios, Inc
Version: 0.7.7
Version: 0.7.8
Author URI: http://mind.sh/are/
Network: false
*/
Expand All @@ -18,7 +18,7 @@
$MAPI_TLD = ''; // global variable for grabbing the base URL w/o subdomains in mapi_external_links() to reduce processor/memory usage

if(!defined('MAPI_MIN_WP_VERSION')) {
define('MAPI_MIN_WP_VERSION', '3.7');
define('MAPI_MIN_WP_VERSION', '3.8');
}

if(!defined('MAPI_PLUGIN_NAME')) {
Expand Down Expand Up @@ -101,7 +101,7 @@ class Mindshare_API {
*
* @var string
*/
private $class_version = '0.7.7';
private $class_version = '0.7.8';

/**
* Used for automatic updates
Expand Down

0 comments on commit 56309d5

Please sign in to comment.