Plugin Directory

Changeset 2843753


Ignore:
Timestamp:
01/05/2023 12:48:07 AM (3 years ago)
Author:
jidaikobo
Message:

3.0.5

Location:
dashi/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • dashi/trunk/classes/Posttype/CustomFields.php

    r2269647 r2843753  
    356356        }
    357357
    358         $template = isset($value['template']) ? $value['template'] : '';
     358        $template = isset($value['args']['template']) ? $value['args']['template'] : '';
    359359
    360360        // スクリーンリーダ向けラベルの有無
  • dashi/trunk/classes/Posttype/Posttype.php

    r2696826 r2843753  
    633633     *
    634634     * @param   string $str
    635      * @return  string
     635     * @return  string | bool
    636636     */
    637637    public static function posttype2class($str)
    638638    {
    639         $class = '\\Dashi\\Posttype\\'.ucfirst($str);
     639        $class = is_null($str) ? '' : '\\Dashi\\Posttype\\'.ucfirst($str);
    640640        return class_exists($class) ? $class : false;
    641641    }
  • dashi/trunk/dashi.php

    r2835587 r2843753  
    77Text Domain: dashi
    88Domain Path: /languages/
    9 Version: 3.0.4
     9Version: 3.0.5
    1010Author URI: http://www.jidaikobo.com/
    1111thx: https://github.com/trentrichardson/jQuery-Timepicker-Addon/tree/master/src
  • dashi/trunk/readme.txt

    r2835587 r2843753  
    4444== Changelog ==
    4545
     46= 3.0.5 =
     47fix php 8.0 not allow null argument at some built-in functions
     48
    4649= 3.0.4 =
    4750fix pre_wp_unique_post_slug Hook 2
Note: See TracChangeset for help on using the changeset viewer.