Plugin Directory

Changeset 2433013


Ignore:
Timestamp:
12/07/2020 09:55:05 AM (5 years ago)
Author:
A5hleyRich
Message:

Preparing for 0.4.2 release

Location:
replybox/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • replybox/trunk/readme.txt

    r2392528 r2433013  
    33Tags: comment, comments
    44Requires at least: 4.7
    5 Tested up to: 5.5.1
     5Tested up to: 5.5.3
    66Requires PHP: 5.4
    7 Stable tag: 0.4.1
     7Stable tag: 0.4.2
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    7575== Changelog ==
    7676
     77= 0.4.2 =
     78* Don't show the ReplyBox embed on post types with comments closed.
     79
    7780= 0.4.1 =
    7881* Don't show the ReplyBox embed on WooCommerce product pages.
  • replybox/trunk/replybox.php

    r2389074 r2433013  
    33 * Plugin Name: ReplyBox
    44 * Description: A simple, honest comment system which works everywhere. No ads, no dodgy affiliate links, no fluff.
    5  * Version: 0.4.1
     5 * Version: 0.4.2
    66 * Author: ReplyBox
    77 * Author URI: https://getreplybox.com
     
    424424     */
    425425    protected function should_show_comment_embed( $post ) {
    426         $show_embed = is_singular() && post_type_supports( $post->post_type, 'comments' );
     426        $show_embed = is_singular() && post_type_supports( $post->post_type, 'comments' ) && comments_open( $post );
    427427
    428428        if ( function_exists( 'is_product' ) && is_product() ) {
Note: See TracChangeset for help on using the changeset viewer.