Plugin Directory

Changeset 2588776


Ignore:
Timestamp:
08/25/2021 06:42:57 PM (5 years ago)
Author:
crisworth
Message:

Feature update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mondoplayer/trunk/mondoplayer.php

    r2588772 r2588776  
    55    Description: Video Content Curation Plugin - automatically curate and share videos. Boost engagement on your website and in social media with compelling video.
    66    Author: MondoTag
    7     Version: 1.0.325
     7    Version: 1.0.326
    88    Tested up to: 5.7.2
    99    License: GPLv2 or later
     
    391391            global $post;
    392392            $hashtags = get_post_meta($post->ID, 'mondoplayer_hashtags', true);
    393             $end_string = "\n\n" . get_post_permalink($post->ID, true);
     393            if ($post->post_name != "") {
     394                $end_string = "\n\n" . home_url( user_trailingslashit( $post->post_name ) );
     395            } else {
     396                $end_string = "\n\n" . get_post_permalink($post->ID, true);
     397            }
    394398            #error_log("hashtags: $hashtags");
    395399            if (! empty($hashtags)) {
Note: See TracChangeset for help on using the changeset viewer.