Plugin Directory

Changeset 2702817


Ignore:
Timestamp:
03/31/2022 04:15:16 PM (4 years ago)
Author:
shawon.info
Message:

2.0.6

Location:
socialmark
Files:
212 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • socialmark/trunk/changelog.txt

    r2696177 r2702817  
    2828= 2.0.5 =
    2929 * Bug Fixed, whatsapp and telegram support updated, freemium updated
     30= 2.0.6 =
     31 * RankMath Issue Fixed
  • socialmark/trunk/includes/frontend.php

    r2696177 r2702817  
    5656    {
    5757        if (!is_front_page() && !is_home()) {
    58             echo "rankmath";
    5958            function socialmark_change_rankmath_og_img_url($attachment_url)
    6059            {
     
    127126function socialmark_generate_og_image($post_id)
    128127{
     128    if(get_attached_file(get_post_thumbnail_id($post_id))==""){
     129        return "";
     130    }
    129131    if (get_post_meta($post_id, 'socialmark_og_image_url', true) && get_post_meta($post_id, 'socialmark_og_image_url', true) !== "") {
    130132        $socialmark_og_image = SOCIALMARK_UPLOAD . '/' . esc_attr(get_post_meta($post_id, 'socialmark_og_image_url', true));
     
    366368        $buffer = preg_replace('/\<meta property="og:image:url" content="(.*?)"/si', '<meta property="twitter:image" content="' . $socialmark_global_image . '"', $buffer);
    367369        $buffer = preg_replace('/\<meta property="og:image:secure_url" content="(.*?)"/si', '<meta property="twitter:image" content="' . $socialmark_global_image . '"', $buffer);
     370        $buffer = preg_replace('/\<meta property="twitter:image" content="(.*?)"/si', '<meta property="twitter:image" content="' . $socialmark_global_image . '"', $buffer);
    368371    }
    369372    return $buffer;
  • socialmark/trunk/readme.txt

    r2696177 r2702817  
    55Tested up to: 5.7.1
    66Requires PHP: 5.3.0 or higher
    7 Stable tag: 2.0.5
     7Stable tag: 2.0.6
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
     
    147147= 2.0.5 =
    148148 * Bug Fixed, whatsapp and telegram support updated, freemium updated
     149= 2.0.6 =
     150 * RankMath Issue Fixed
  • socialmark/trunk/socialmark.php

    r2696177 r2702817  
    55 * Plugin URI:        https://shawonpro.com/socialmark-wp-plugin/
    66 * Description:       Easy way to add/change overlay/watermark to Facebook, Twitter, open graph post preview images.
    7  * Version:           2.0.5
     7 * Version:           2.0.6
    88 * Author:            ShawonPro
    99 * Author URI:        https://shawonpro.com/
Note: See TracChangeset for help on using the changeset viewer.