Plugin Directory

Changeset 3278057


Ignore:
Timestamp:
04/21/2025 10:37:11 AM (11 months ago)
Author:
powr
Message:

Update plugin (2.1.0) version

Location:
powr-social-feed
Files:
8 added
3 edited

Legend:

Unmodified
Added
Removed
  • powr-social-feed/trunk/README.md

    r3251285 r3278057  
    1 === Social Media Feed Plugin for Wordpress ===
     1=== Social Media Feed for Wordpress ===
    22Tags: social feed, instagram feed, instagram, tiktok feed, facebook feed
    33Contributors: powr
    44Requires at least: 6.7
    5 Tested up to: 6.7
     5Tested up to: 6.8
    66Requires PHP: 7.4
    7 Stable tag: 2.0.2
     7Stable tag: 2.1.0
    88License: GPL-3.0-or-later
    99URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    166166Upgrading gives you access to advanced features, removes the POWr logo, and gives you automatic priority support.
    167167
     168== External Services ==
     169
     170This plugin connects to the POWR.io API to provide plugin functionality. The connection is necessary to authenticate and display the plugin content within your WordPress site.
     171
     172- **Service**: POWR.io API
     173- **Purpose**: To authenticate and render the plugin widget on your WordPress site.
     174- **Data Sent**: The plugin sends the current user's email address, web site url, ip, and the username to the POWR.io API for authentication purposes.
     175- **When**: This data is sent when the admin settings page is accessed or when the shortcode is used to display the plugin.
     176- **Service Provider**: POWR.io
     177  - [Terms of Service](https://www.powr.io/terms)
     178  - [Privacy Policy](https://www.powr.io/privacy)
     179
    168180== Screenshots ==
    1691811. Screenshot
  • powr-social-feed/trunk/changelog.txt

    r3202475 r3278057  
    992024-12-04 - version 2.0.2
    1010* Change base url
     11
     122025-04-21 - version 2.1.0
     13* Added simple authentication
  • powr-social-feed/trunk/powr-social-feed.php

    r3202475 r3278057  
    1717 * Plugin URI:        https://www.powr.io/social-feed-website-app
    1818 * Description:       Collect more leads, get more conversions and save time.
    19  * Version:           2.0.2
     19 * Version:           2.1.0
    2020 * Author:            POWr
    2121 * Author URI:        https://www.powr.io
     
    3030}
    3131
    32 define('POWRIOSF_PLUGIN_NAME_VERSION', '2.0.2');
     32define('POWRIOSF_PLUGIN_NAME_VERSION', '2.1.0');
    3333
    3434if (!function_exists('powriosf_social_feed_menu')) {
     
    8989            if ($current_user && !empty($current_user->user_email)) {
    9090                $email = $current_user->user_email;
     91            $username = $current_user->user_login;
     92            $email_param = '?email=' . esc_attr($email);
     93                $platform = '&platform=wordpress';
     94                $site_url_param = '&site_url=' . esc_attr(site_url());
     95                $username_param = '&username=' . esc_attr($username);
     96            $server_ip = isset($_SERVER['SERVER_ADDR']) ? sanitize_text_field(wp_unslash($_SERVER['SERVER_ADDR'])) : '';
     97            $ip_param = '&site_ip=' . esc_attr($server_ip);
     98                $ending = '&done=1';
     99                $iframe_url = 'https://' . powriosf_powr_base_url() . '/api/wordpress/auth/apps/social-feed' . $email_param . $platform . $site_url_param . $username_param . $ip_param . $ending;
    91100
    92                 $base_url = powriosf_powr_base_url();
    93                 $protocol = 'https://';
    94                 $api_endpoint = '/api/woo_commerce/auth/apps/social-feed';
    95                 $email_param = '?email=' . esc_attr($email);
    96                 $platform = '&platform=wordpress';
    97                 $ending = '&done=1';
    98                 $full_url = $protocol . $base_url . $api_endpoint . $email_param . $platform . $ending;
    99 
    100                 if (!empty($full_url)) {
    101                     powriosf_render_iframe($full_url);
     101                if (!empty($iframe_url)) {
     102                    powriosf_render_iframe($iframe_url);
    102103                }
    103104            }
Note: See TracChangeset for help on using the changeset viewer.