Plugin Directory

Changeset 3396956


Ignore:
Timestamp:
11/17/2025 07:32:46 AM (4 months ago)
Author:
wpzinc
Message:

Update to version 1.6.5 from GitHub

Location:
wp-to-hootsuite
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wp-to-hootsuite/tags/1.6.5/lib/includes/class-wp-to-social-pro-log.php

    r3262556 r3396956  
    323323
    324324        // Check if we need to hide the meta box by the logged in User's role.
    325         $hide_meta_box = $this->base->get_class( 'settings' )->get_setting( 'hide_meta_box_by_roles', '[' . wp_get_current_user()->roles[0] . ']' );
    326 
    327         // Bail if we're hiding the meta boxes for the logged in User's role.
    328         if ( $hide_meta_box ) {
    329             return;
     325        if ( wp_get_current_user() && is_array( wp_get_current_user()->roles ) && ! empty( wp_get_current_user()->roles ) ) {
     326            // Bail if we're hiding the meta boxes for the logged in User's role.
     327            if ( $this->base->get_class( 'settings' )->get_setting( 'hide_meta_box_by_roles', '[' . wp_get_current_user()->roles[0] . ']' ) ) {
     328                return;
     329            }
    330330        }
    331331
  • wp-to-hootsuite/tags/1.6.5/readme.txt

    r3379826 r3396956  
    66Tested up to: 6.8.3
    77Requires PHP: 7.4
    8 Stable tag: 1.6.4
     8Stable tag: 1.6.5
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8989== Changelog ==
    9090
     91= 1.6.5 (2025-11-17) =
     92* Fix: Logs: PHP Warning: Undefined array key `0`
     93
    9194= 1.6.4 (2025-10-17) =
    9295* Fix: Status: Text: Taxonomy: Retain non-Latin characters
  • wp-to-hootsuite/tags/1.6.5/wp-to-hootsuite.php

    r3379826 r3396956  
    99 * Plugin Name: WP to Hootsuite
    1010 * Plugin URI: http://www.wpzinc.com/plugins/wordpress-to-hootsuite-pro
    11  * Version: 1.6.4
     11 * Version: 1.6.5
    1212 * Author: WP Zinc
    1313 * Author URI: http://www.wpzinc.com
     
    2828
    2929// Define Plugin version and build date.
    30 define( 'WP_TO_HOOTSUITE_PLUGIN_VERSION', '1.6.4' );
    31 define( 'WP_TO_HOOTSUITE_PLUGIN_BUILD_DATE', '2025-10-17 10:00:00' );
     30define( 'WP_TO_HOOTSUITE_PLUGIN_VERSION', '1.6.5' );
     31define( 'WP_TO_HOOTSUITE_PLUGIN_BUILD_DATE', '2025-11-17 10:00:00' );
    3232
    3333// Define Plugin paths.
  • wp-to-hootsuite/trunk/lib/includes/class-wp-to-social-pro-log.php

    r3262556 r3396956  
    323323
    324324        // Check if we need to hide the meta box by the logged in User's role.
    325         $hide_meta_box = $this->base->get_class( 'settings' )->get_setting( 'hide_meta_box_by_roles', '[' . wp_get_current_user()->roles[0] . ']' );
    326 
    327         // Bail if we're hiding the meta boxes for the logged in User's role.
    328         if ( $hide_meta_box ) {
    329             return;
     325        if ( wp_get_current_user() && is_array( wp_get_current_user()->roles ) && ! empty( wp_get_current_user()->roles ) ) {
     326            // Bail if we're hiding the meta boxes for the logged in User's role.
     327            if ( $this->base->get_class( 'settings' )->get_setting( 'hide_meta_box_by_roles', '[' . wp_get_current_user()->roles[0] . ']' ) ) {
     328                return;
     329            }
    330330        }
    331331
  • wp-to-hootsuite/trunk/readme.txt

    r3379826 r3396956  
    66Tested up to: 6.8.3
    77Requires PHP: 7.4
    8 Stable tag: 1.6.4
     8Stable tag: 1.6.5
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8989== Changelog ==
    9090
     91= 1.6.5 (2025-11-17) =
     92* Fix: Logs: PHP Warning: Undefined array key `0`
     93
    9194= 1.6.4 (2025-10-17) =
    9295* Fix: Status: Text: Taxonomy: Retain non-Latin characters
  • wp-to-hootsuite/trunk/wp-to-hootsuite.php

    r3379826 r3396956  
    99 * Plugin Name: WP to Hootsuite
    1010 * Plugin URI: http://www.wpzinc.com/plugins/wordpress-to-hootsuite-pro
    11  * Version: 1.6.4
     11 * Version: 1.6.5
    1212 * Author: WP Zinc
    1313 * Author URI: http://www.wpzinc.com
     
    2828
    2929// Define Plugin version and build date.
    30 define( 'WP_TO_HOOTSUITE_PLUGIN_VERSION', '1.6.4' );
    31 define( 'WP_TO_HOOTSUITE_PLUGIN_BUILD_DATE', '2025-10-17 10:00:00' );
     30define( 'WP_TO_HOOTSUITE_PLUGIN_VERSION', '1.6.5' );
     31define( 'WP_TO_HOOTSUITE_PLUGIN_BUILD_DATE', '2025-11-17 10:00:00' );
    3232
    3333// Define Plugin paths.
Note: See TracChangeset for help on using the changeset viewer.