Plugin Directory

Changeset 2168956


Ignore:
Timestamp:
10/06/2019 07:31:38 AM (6 years ago)
Author:
wentbook
Message:

bug fix

Location:
gn-customize-post-list/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gn-customize-post-list/trunk/gn-customize-post-list.php

    r2100806 r2168956  
    99 * Plugin URI: https://github.com/underground0930/gn-customize-post-list
    1010 * Description: You can customize the display items of the article list.
    11  * Version: 1.0.1
     11 * Version: 1.0.2
    1212 * Author: go.nishiduka
    1313 * Author URI: https://htmlgo.site/
     
    264264                    foreach ($current_term as $term) {
    265265                        if ($post_type === 'post' && $result_val === 'category') {
    266                             echo "<a href='${admin_url()}edit.php?category_name={$term->slug}'>{$term->name}</a>" . ($term !== end($current_term) ? ', ' : '');
     266                            echo "<a href='/wp-admin/edit.php?category_name={$term->slug}'>{$term->name}</a>" . ($term !== end($current_term) ? ', ' : '');
    267267                        } elseif ($post_type === 'post' && $result_val === 'post_tag') {
    268                             echo "<a href='${admin_url()}edit.php?tag={$term->slug}'>{$term->name}</a>" . ($term !== end($current_term) ? ', ' : '');
     268                            echo "<a href='/wp-admin/edit.php?tag={$term->slug}'>{$term->name}</a>" . ($term !== end($current_term) ? ', ' : '');
    269269                        } else {
    270                             echo "<a href='${admin_url()}edit.php?{$result_val}={$term->slug}&post_type={$post_type}'>{$term->name}</a>" . ($term !== end($current_term) ? ', ' : '');
     270                            echo "<a href='/wp-admin/edit.php?{$result_val}={$term->slug}&post_type={$post_type}'>{$term->name}</a>" . ($term !== end($current_term) ? ', ' : '');
    271271                        }
    272272                    }
  • gn-customize-post-list/trunk/readme.txt

    r2100806 r2168956  
    33Tags: admin
    44Requires at least: 5.0
    5 Tested up to: 5.2.1
     5Tested up to: 5.2.3
    66Requires PHP: 5.6.20
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6666* change 「Requires PHP」
    6767
     68= 1.0.2 =
     69
     70*Release Date - 2019/10/6*
     71* Fixed a notice on the management screen.
     72
     73
    6874*[JA]*
    6975
     
    7783*リリース日 - 2019/6/5*
    7884* 「Requires PHP」を変更。
     85
     86= 1.0.2 =
     87
     88*リリース日 - 2019/10/6*
     89* 管理画面でnoticeが出ていたので修正
Note: See TracChangeset for help on using the changeset viewer.