Skip to content

Commit

Permalink
chore: v2.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
devuri committed Jan 9, 2024
1 parent a4d47f9 commit 8dbdfba
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 32 deletions.
2 changes: 2 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
// Silence is golden.
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
=== Sim Social Feed ===
Contributors: icelayer
Donate link: https://switchwebdev.com/wordpress-plugins/
Donate link: https://wpbrisko.com/wordpress-plugins/
Tags: Instagram, Instagram photos, Instagram feed, Instagram widget, Instagram gallery
Requires at least: 3.4
Tested up to: 5.7
Stable tag: 2.9.1
Stable tag: 2.9.3
Requires PHP: 5.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down
15 changes: 4 additions & 11 deletions sim-social.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
<?php
/**
* Sim Social Feed
*
* @package SimSocialFeed
* @author Uriel Wilson
* @copyright 2020 Uriel Wilson
* @license GPL-2.0
* @link https://urielwilson.com
*
* @wordpress-plugin
* Plugin Name: Sim Social Feed
* Plugin URI: https://switchwebdev.com/wordpress-plugins/
* Plugin URI: https://wpbrisko.com/wordpress-plugins/
* Description: Easily Display Social Media Photo Feed for Instagram. The feed will schedule twicedaily updates, you can also update manually with a single click.
* Version: 2.9.1
* Version: 2.9.3
* Requires at least: 3.4
* Requires PHP: 5.6
* Author: Uriel Wilson
* Author URI: https://urielwilson.com
* Author: wpbrisko.com
* Author URI: https://wpbrisko.com
* Text Domain: sim-social-feed
* Domain Path: languages
* License: GPLv2
Expand Down
7 changes: 2 additions & 5 deletions src/InstagramData.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@ public static function user_check() {
* @return array
*/
public static function user_profile() {
$user = self::api()->getUserProfile();
$user_data = (array) $user;
return $user_data;
return (array) self::api()->getUserProfile();
}

/**
Expand Down Expand Up @@ -302,8 +300,7 @@ public static function token_expire_date() {
public static function token_created_date() {
if ( self::has_refresh() ) {
$created_date = get_option( 'simsf_access_token' )['created_at'];
$date = date_i18n( get_option( 'date_format' ), $created_date);
return $date;
return date_i18n( get_option( 'date_format' ), $created_date);
}
return 'no date was found ! ';
}
Expand Down
14 changes: 0 additions & 14 deletions uninstall.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
<?php
/**
* Uninstall stuff.
* do some cleanup after user uninstalls the plugin
* ---------------------------------------------------------------------------
* -remove stuff
* ----------------------------------------------------------------------------
*
* @category Plugin
* @copyright Copyright © 2020 Uriel Wilson.
* @package SimSocialFeed
* @author Uriel Wilson
* @link https://switchwebdev.com
* ----------------------------------------------------------------------------
*/

// deny direct access.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
Expand Down

0 comments on commit 8dbdfba

Please sign in to comment.