Plugin Directory

Changeset 1792546


Ignore:
Timestamp:
12/26/2017 12:43:13 PM (8 years ago)
Author:
hidaka.bizplugin
Message:

2.0.2

Location:
whats-new-genarator/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • whats-new-genarator/trunk/admin-ui.php

    r1707013 r1792546  
    1717        add_settings_field('wng_category_name', 'カテゴリーのスラッグ', array(&$this,'setting_category_name'), $this->file_path, 'main_section');
    1818        add_settings_field('wng_orderby', '表示順序', array(&$this,'setting_orderby'), $this->file_path, 'main_section');
    19         add_settings_field('wng_number', '表示件数', array(&$this,'setting_number'), $this->file_path, 'main_section');
    20         add_settings_field('wng_newmark', 'NEW!マーク表示期間', array(&$this,'setting_newmark'), $this->file_path, 'main_section');
     19        add_settings_field('wng_number', '表示件数 (1 - 30)', array(&$this,'setting_number'), $this->file_path, 'main_section');
     20        add_settings_field('wng_newmark', 'NEW!マーク表示期間 (0 - 30)', array(&$this,'setting_newmark'), $this->file_path, 'main_section');
    2121        add_settings_field('wng_latest_new', '最新記事にNEW!マークをつける', array(&$this,'setting_latest_new'), $this->file_path, 'main_section');
    2222    }
     
    7979        $options = WNG::get_option();
    8080        $checked = (isset($options["wng_latest_new"]) && $options["wng_latest_new"]) ? $checked = ' checked="checked" ': "";
    81         echo "<input id='wng_latest_new' name='whats_new_options[wng_latest_new]' type='checkbox' '{$checked}' />";
     81        echo "<input id='wng_latest_new' name='whats_new_options[wng_latest_new]' type='checkbox' {$checked} />";
    8282    }
    8383
  • whats-new-genarator/trunk/admin-view.php

    r689097 r1792546  
    77    <p>以下のコードをコピーして、What's Newを表示する固定ページや投稿の本文内に貼り付けてください。</p>
    88    <p>
    9         <input type="text" value=<?php echo $shortcode;?> readonly></input>
     9        <input type="text" value=<?php echo $shortcode;?> readonly />
    1010    </p>
    1111    <form action="options.php" method="post">
  • whats-new-genarator/trunk/readme.txt

    r1710074 r1792546  
    44Tags: what's new, update Post page
    55Requires at least: 4.0
    6 Tested up to: 4.8.1
    7 Stable tag: 2.0.1
     6Tested up to: 4.9.1
     7Stable tag: 2.0.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3939
    4040== Changelog ==
     41
     42= 2.0.2 =
     43* 軽微な不具合を修正しました
    4144
    4245= 2.0.1 =
  • whats-new-genarator/trunk/whats-new-generator.php

    r1710074 r1792546  
    44Plugin URI: http://residentbird.main.jp/bizplugin/
    55Description: What's New(新着情報)を指定した固定ページや投稿に自動的に表示するプラグインです。
    6 Version: 2.0.1
     6Version: 2.0.2
    77Author:Hideki Tanaka
    88Author URI: http://residentbird.main.jp/bizplugin/
     
    1515class WNG
    1616{
    17     const VERSION = "2.0.1";
     17    const VERSION = "2.0.2";
    1818    const SHORTCODE = "showwhatsnew";
    1919    const OPTIONS = "whats_new_options";
Note: See TracChangeset for help on using the changeset viewer.