Plugin Directory

Changeset 3464352


Ignore:
Timestamp:
02/18/2026 01:08:51 PM (7 weeks ago)
Author:
f1logic
Message:

v3.6.8

Location:
social-media-auto-publish
Files:
353 added
3 edited

Legend:

Unmodified
Added
Removed
  • social-media-auto-publish/trunk/admin/metabox.php

    r3463999 r3464352  
    5555
    5656    }
    57     if((get_option('xyz_smap_af')==0 && get_option('xyz_smap_fb_token')!="" && get_option('xyz_smap_pages_ids')!="" && get_option('xyz_smap_post_permission')==1 && (get_option('xyz_smap_app_sel_mode')==0)) ||
    58 (get_option('xyz_smap_tw_app_sel_mode')==0 && get_option('xyz_smap_twconsumer_id')!="" && get_option('xyz_smap_twconsumer_secret')!="" && get_option('xyz_smap_tw_id')!="" && get_option('xyz_smap_current_twappln_token')!="" && get_option('xyz_smap_twaccestok_secret')!="" && get_option('xyz_smap_twpost_permission')==1)
    59         ||(get_option('xyz_smap_tw_app_sel_mode')==2 && get_option('xyz_smap_tw_client_id')!="" && get_option('xyz_smap_tw_client_secret')!="" && get_option('xyz_smap_tw_id')!="" && get_option('xyz_smap_twpost_permission')==1) 
    60         || (get_option('xyz_smap_lnaf')==0 && get_option('xyz_smap_lnpost_permission')==1 && ( get_option('xyz_smap_ln_company_ids')!=''|| get_option('xyz_smap_lnshare_to_profile')==1)) || (get_option('xyz_smap_app_sel_mode')==1 && get_option('xyz_smap_page_names')!="" && get_option('xyz_smap_post_permission')==1)
    61             || (get_option('xyz_smap_ig_token')!="" && get_option('xyz_smap_igpost_permission')==1 && get_option('xyz_smap_ig_app_sel_mode')==0) ||(get_option('xyz_smap_smapsoln_userid_ig')!=0 && get_option('xyz_smap_ig_page_names')!='' && get_option('xyz_smap_ig_app_sel_mode')==1 && get_option('xyz_smap_igpost_permission')==1)
     57    if (
     58        (get_option('xyz_smap_af')==0 && get_option('xyz_smap_fb_token')!="" && get_option('xyz_smap_pages_ids')!="" && get_option('xyz_smap_post_permission')==1 && (get_option('xyz_smap_app_sel_mode')==0)) ||
     59        (get_option('xyz_smap_tw_app_sel_mode')==0 && get_option('xyz_smap_twconsumer_id')!="" && get_option('xyz_smap_twconsumer_secret')!="" && get_option('xyz_smap_tw_id')!="" && get_option('xyz_smap_current_twappln_token')!="" && get_option('xyz_smap_twaccestok_secret')!="" && get_option('xyz_smap_twpost_permission')==1) ||
     60        (get_option('xyz_smap_tw_app_sel_mode')==2 && get_option('xyz_smap_tw_client_id')!="" && get_option('xyz_smap_tw_client_secret')!="" && get_option('xyz_smap_tw_id')!="" && get_option('xyz_smap_twpost_permission')==1) ||
     61        (get_option('xyz_smap_lnaf')==0 && get_option('xyz_smap_lnpost_permission')==1 && ( get_option('xyz_smap_ln_company_ids')!=''|| get_option('xyz_smap_lnshare_to_profile')==1)) ||
     62        (get_option('xyz_smap_app_sel_mode')==1 && get_option('xyz_smap_page_names')!="" && get_option('xyz_smap_post_permission')==1) ||
     63        (get_option('xyz_smap_ig_token')!="" && get_option('xyz_smap_igpost_permission')==1 && get_option('xyz_smap_ig_app_sel_mode')==0) ||
     64        (get_option('xyz_smap_smapsoln_userid_ig')!=0 && get_option('xyz_smap_ig_page_names')!='' && get_option('xyz_smap_ig_app_sel_mode')==1 && get_option('xyz_smap_igpost_permission')==1) ||
    6265        (get_option('xyz_smap_tb_app_sel_mode')==0 && get_option('xyz_smap_tbconsumer_id')!="" && get_option('xyz_smap_tbconsumer_secret')!="" && get_option('xyz_smap_current_tbappln_token')!="" && get_option('xyz_smap_tbaccestok_secret')!="" && get_option('xyz_smap_tbpost_permission')==1)||
    63         (get_option('xyz_smap_tb_app_sel_mode')==1 && get_option('xyz_smap_tbconsumer_id')!="" && get_option('xyz_smap_tbconsumer_secret')!="" && get_option('xyz_smap_current_tbappln_token')!="" && get_option('xyz_smap_tbpost_permission')==1)
    64         ||(get_option('xyz_smap_bot_token')!="" && get_option('xyz_smap_bot_username')!="" && get_option('xyz_smap_tgpost_permission')==1)
    65         ||(get_option('xyz_smap_th_access_token')!="" && get_option('xyz_smap_th_user_id')!="" && get_option('xyz_smap_thpost_permission')==1))
    66         add_meta_box( 'xyz_smap', '<strong>Social Media Auto Publish </strong>', 'xyz_smap_addpostmetatags',
    67             null, 'normal', 'high',
    68             array(
    69                 '__block_editor_compatible_meta_box' => true,
    70             )
     66        (get_option('xyz_smap_tb_app_sel_mode')==1 && get_option('xyz_smap_tbconsumer_id')!="" && get_option('xyz_smap_tbconsumer_secret')!="" && get_option('xyz_smap_current_tbappln_token')!="" && get_option('xyz_smap_tbpost_permission')==1) ||
     67        (get_option('xyz_smap_bot_token')!="" && get_option('xyz_smap_bot_username')!="" && get_option('xyz_smap_tgpost_permission')==1) ||
     68        (get_option('xyz_smap_th_access_token')!="" && get_option('xyz_smap_th_user_id')!="" && get_option('xyz_smap_thpost_permission')==1)
     69    ) {
     70        add_meta_box(
     71            'xyz_smap',
     72            '<strong>Social Media Auto Publish </strong>',
     73            'xyz_smap_addpostmetatags',
     74            null,
     75            'normal',
     76            'high',
     77            array('__block_editor_compatible_meta_box' => true)
    7178            );
     79    }
    7280       
    7381}
  • social-media-auto-publish/trunk/readme.txt

    r3463999 r3464352  
    55Requires at least: 3.0
    66Tested up to: 6.9.1
    7 Stable tag: 3.6.7
     7Stable tag: 3.6.8
    88License: GPLv2 or later
    99
     
    154154== Changelog ==
    155155
     156= Social Media Auto Publish 3.6.8 =
     157* Fix PHP 8+ error in metabox condition
     158
    156159= Social Media Auto Publish 3.6.7 =
    157160* Refactored code to support OAuth 2.0 for Tumblr
  • social-media-auto-publish/trunk/social-media-auto-publish.php

    r3463999 r3464352  
    44Plugin URI: https://xyzscripts.com/wordpress-plugins/social-media-auto-publish/
    55Description:   Publish posts automatically from your blog to social media networks like Facebook, Twitter,  Instagram, LinkedIn, Tumblr, Threads and Telegram. The plugin supports filtering posts by post-types and categories.
    6 Version: 3.6.7
     6Version: 3.6.8
    77Requires PHP: 7.4
    88Author: xyzscripts.com
Note: See TracChangeset for help on using the changeset viewer.