updated plugin Simple Local Avatars
version 2.4.0
This commit is contained in:
@ -3,18 +3,30 @@
|
||||
* Plugin Name: Simple Local Avatars
|
||||
* Plugin URI: https://10up.com/plugins/simple-local-avatars-wordpress/
|
||||
* Description: Adds an avatar upload field to user profiles. Generates requested sizes on demand, just like Gravatar! Simple and lightweight.
|
||||
* Version: 2.2.0
|
||||
* Version: 2.4.0
|
||||
* Requires at least: 4.6
|
||||
* Requires PHP: 5.3
|
||||
* Requires PHP: 5.6
|
||||
* Author: Jake Goldman, 10up
|
||||
* Author URI: https://10up.com
|
||||
* License: GPLv2 or later
|
||||
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
||||
* Text Domain: simple-local-avatars
|
||||
*
|
||||
* @package SimpleLocalAvatars
|
||||
*/
|
||||
|
||||
define( 'SLA_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
||||
|
||||
require_once dirname( __FILE__ ) . '/includes/class-simple-local-avatars.php';
|
||||
|
||||
// Global constants.
|
||||
define( 'SLA_VERSION', '2.2.0' );
|
||||
define( 'SLA_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
||||
|
||||
if ( ! defined( 'SLA_IS_NETWORK' ) ) {
|
||||
define( 'SLA_IS_NETWORK', Simple_Local_Avatars::is_network( plugin_basename( __FILE__ ) ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Init the plugin.
|
||||
*/
|
||||
@ -57,4 +69,5 @@ function simple_local_avatars_uninstall() {
|
||||
endforeach;
|
||||
|
||||
delete_option( 'simple_local_avatars' );
|
||||
delete_option( 'simple_local_avatars_migrations' );
|
||||
}
|
||||
|
Reference in New Issue
Block a user