Skip to content

Commit

Permalink
1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lastguest committed Apr 9, 2015
1 parent 11ec2d4 commit cd7cd36
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions aeria.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
* Author: Caffeina Srl
* Author URI: http://caffeina.co
* Plugin URI: https://github.com/CaffeinaLab/aeria
* Version: 1.4.2
* Version: 1.5.0
*/

// Exit if accessed directly
if( false === defined('ABSPATH') ) exit;

// The Framework version
define('AERIA','1.4.2');
define('AERIA','1.5.0');

// Store whether or not we're in the admin
if( false === defined('IS_ADMIN') ) define( 'IS_ADMIN', is_admin() );
Expand Down Expand Up @@ -62,6 +62,11 @@
}, 10, 4 );
}

add_filter('upload_mimes',function($existing_mimes=[]){
$existing_mimes['svg'] = 'image/svg+xml';
return $existing_mimes;
});

// Tools: Icon
function icon($name){
return strpos($name,'http')===0?$name:AERIA_RESOURCE_URL.'icons/'.$name.'.png';
Expand All @@ -82,3 +87,5 @@ function admin_edit_url_for_id($id){
// Run Aeria-dependent plugins
do_action( 'aeria_init' );



0 comments on commit cd7cd36

Please sign in to comment.