Plugin Directory

Changeset 2076649


Ignore:
Timestamp:
04/29/2019 05:31:56 AM (7 years ago)
Author:
densuke
Message:

ver.1.0.5 bug fix

Location:
speech-balloon-maker
Files:
14 added
2 edited

Legend:

Unmodified
Added
Removed
  • speech-balloon-maker/trunk/plugin.php

    r1909056 r2076649  
    244244
    245245            /* スタイルの設定 */
    246             if( array_key_exists('style' , $attr) &&
     246            if( isset($attr['style'] ) &&
    247247              ( $attr['style'] == 'default' || $attr['style'] == 'border' || $attr['style'] == 'imagine' ) ){
    248248                $mystyle = $attr['style'];
     
    252252
    253253            /* アイコン下の名前設定 */
    254             $myname = esc_attr( array_key_exists('name' , $attr) ? $attr['name'] : get_option( $option_name , '') );
     254            $myname = esc_attr( isset($attr['name'] ) ? $attr['name'] : get_option( $option_name , '') );
    255255
    256256            /* ふきだしの中身設定 */
     
    261261            $imgsrc = empty( $tmp ) ? plugins_url('images/dn_sbm_default.png', __FILE__) : $tmp ;
    262262            $imgsrc = esc_attr($imgsrc);
    263             if( array_key_exists('img' , $attr) ){
     263            if( isset($attr['img']) ){
    264264                $imgsrc = esc_attr( $attr['img'] );
    265265            }
  • speech-balloon-maker/trunk/readme.txt

    r1909056 r2076649  
    55Requires at least: 4.9
    66Tested up to: 4.9
    7 Stable tag: 1.0.4
     7Stable tag: 1.0.5
    88Requires PHP: 5.2.4
    99License: GPLv2 or later
     
    2727
    2828== Changelog ==
     29
     30= 1.0.5 =
     31bug fix
    2932
    3033= 1.0.4 =
Note: See TracChangeset for help on using the changeset viewer.