Plugin Directory

Changeset 2604049


Ignore:
Timestamp:
09/24/2021 04:36:56 AM (5 years ago)
Author:
shawon.info
Message:

v2.0.1

Location:
socialmark
Files:
212 added
3 edited

Legend:

Unmodified
Added
Removed
  • socialmark/trunk/includes/frontend.php

    r2603528 r2604049  
    3333    }
    3434    add_action('wp_head', 'socialmark_yoast_support', 1);
    35     if ( class_exists( 'Jetpack' ) && Jetpack::is_module_active( 'photon' ) ) { // check that we are, in fact, using Photon in the first place
    36         add_filter( 'jetpack_enable_open_graph', '__return_false' );
    37     }
     35
    3836} else if (in_array('seo-by-rank-math/rank-math.php', apply_filters('active_plugins', get_option('active_plugins')))) {
    3937    function socialmark_rankmath_support()
     
    6159    }
    6260    add_action('wp_head', 'socialmark_rankmath_support', 1);
    63     if ( class_exists( 'Jetpack' ) && Jetpack::is_module_active( 'photon' ) ) { // check that we are, in fact, using Photon in the first place
    64         add_filter( 'jetpack_enable_open_graph', '__return_false' );
    65     }
     61
    6662} else {
    6763    if (!empty($socialmark_og_row)) {
    6864        add_action('wp_head', 'socialmark_frontend_header', 1);
    69         if ( class_exists( 'Jetpack' ) && Jetpack::is_module_active( 'photon' ) ) { // check that we are, in fact, using Photon in the first place
    70             add_filter( 'jetpack_enable_open_graph', '__return_false' );
    71         }
     65
    7266    }
    7367}
  • socialmark/trunk/readme.txt

    r2603528 r2604049  
    55Tested up to: 5.7.1
    66Requires PHP: 5.3.0 or higher
    7 Stable tag: 2.0
     7Stable tag: 2.0.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  • socialmark/trunk/socialmark.php

    r2603528 r2604049  
    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
     7 * Version:           2.0.1
    88 * Author:            ShawonPro
    99 * Author URI:        https://shawonpro.com/
Note: See TracChangeset for help on using the changeset viewer.