Plugin Directory

Changeset 1271342


Ignore:
Timestamp:
10/22/2015 08:24:48 PM (10 years ago)
Author:
osdwebdev
Message:

3.5.3 updated metabox logic

Location:
osd-social-media-sharing
Files:
18 added
4 edited

Legend:

Unmodified
Added
Removed
  • osd-social-media-sharing/trunk/includes/OSDSocialShare.php

    r1165719 r1271342  
    124124    private function share_link($platform, $button_title, $custom_url) {
    125125        $target = ($this->options["target"] == "new" && $platform != "email") ? "_blank" : "_self";
    126         $protocol = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] !== "" && $_SERVER["HTTPS"] !== "off") ? "https://" : "http://";
     126        $protocol = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != '') ? "https://" : "http://";
    127127        $searches = array(
    128128            "{{SITE_NAME}}",
  • osd-social-media-sharing/trunk/includes/post_settings.php

    r1094595 r1271342  
    2020        $user_post_types = $user_post_types['post_types'];
    2121
    22         if (isset($user_post_types[$post_type])){
     22        if (isset($user_post_types[$post_type]) && $user_post_types[$post_type] != 0){
    2323            //add_meta_box( $id, $title, $callback, $page, $context, $priority, $callback_args );
    2424            add_meta_box('osd_enable_sharing',
  • osd-social-media-sharing/trunk/osd_social_media_sharing.php

    r1165719 r1271342  
    44Plugin URI: http://outsidesource.com
    55Description: Add buttons to share any of your content on facebook, twitter, google plus, pinterest, email and more.
    6 Version: 3.5.2
     6Version: 3.5.3
    77Author: OSD Web Development Team
    88Author URI: http://outsidesource.com
  • osd-social-media-sharing/trunk/readme.txt

    r1165719 r1271342  
    44Requires at least: 3.4
    55Tested up to: 4.2
    6 Stable tag: 3.5.2
     6Stable tag: 3.5.3
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4040
    4141== Changelog ==
     42
     43= 3.5.3 =
     44* Adjusted metabox display logic
    4245
    4346= 3.5.2 =
Note: See TracChangeset for help on using the changeset viewer.