Plugin Directory

Changeset 3267509


Ignore:
Timestamp:
04/06/2025 04:47:40 PM (12 months ago)
Author:
codnloc
Message:

Fix show HTML with shortcode [latest_short-news]

Location:
fast-short-news
Files:
15 added
2 edited

Legend:

Unmodified
Added
Removed
  • fast-short-news/trunk/README.md

    r3265921 r3267509  
    66Tested up to: 6.7
    77Requires PHP: 7.4
    8 Stable tag: 1.0.1
     8Stable tag: 1.0.2
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    4141== Changelog ==
    4242
     43= 1.0.2 =
     44* Fix show HTML with shortcode [latest_short-news].
     45
    4346= 1.0.1 =
    4447* Fix show HTML on frontend.
  • fast-short-news/trunk/fast-short-news.php

    r3265920 r3267509  
    44 * Plugin URI: https://wordpress.org/plugins/fast-short-news
    55 * Description: A plugin to fast post and display short news updates on the front-end page or widget.
    6  * Version: 1.0.1
     6 * Version: 1.0.2
    77 * Author: codnloc
    88 * Author URI: http://codnloc.com/
     
    135135            $output .= '<div class="latest-short-news-item">';
    136136            $output .= '<span class="latest-short-news-time">' . esc_html( $post_time ) . '  </span>';
    137             $output .= '<span class="latest-short-news-content">' . esc_html( get_the_content() ) . '</span>';
     137            $output .= '<span class="latest-short-news-content">' .  get_the_content() . '</span>';
    138138            $output .= '</div> ';
    139139        }
     
    169169    if ( 'content' === $column ) {
    170170        $content = get_the_content( $post_id );
    171         echo esc_html( $content );
     171        echo  $content;
    172172    }
    173173}
Note: See TracChangeset for help on using the changeset viewer.