Plugin Directory

Changeset 1583067


Ignore:
Timestamp:
01/26/2017 11:25:14 PM (9 years ago)
Author:
JohnnyPea
Message:

v1.2.1

Location:
custom-templates/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • custom-templates/trunk/custom-templates.php

    r1554581 r1583067  
    44Plugin URI: https://webikon.sk/
    55Description: Custom post content templates based on post types.
    6 Version: 1.2.0
     6Version: 1.2.1
    77Author: Webikon (Ján Bočínec)
    88Author URI: https://webikon.sk/
     
    9090add_filter( 'comments_open', function( $open, $post_id ) {
    9191  if ( $template = get_custom_template( $post_id ) ) {
    92     $open = ( 'open' == get_post_meta( $template->ID, 'template_extra_field_seo_keywords', true ) );
     92    $open = ( 'open' == get_post_meta( $template->ID, 'template_extra_field_comments', true ) );
    9393  }
    9494
  • custom-templates/trunk/readme.txt

    r1554581 r1583067  
    55Requires at least: 4.4
    66Tested up to: 4.6.1
    7 Stable tag: 1.2.0
     7Stable tag: 1.2.1
    88License: GPL-2.0+
    99License URI: http://www.gnu.org/licenses/gpl-2.0.txt
     
    6868
    6969== Changelog ==
     70= 1.2.1 =
     71* Fixed comments on/off malfunction.
     72
    7073= 1.2.0 =
    7174* Added options to turn comments on/off.
Note: See TracChangeset for help on using the changeset viewer.