Welcart Square 1.0.3 をリリースしました。
今回の更新内容は次の通りです。
ヘッダーナビゲーションのスタイル調整
welcart_basic-nova/inc/theme-customizer.php 1223行目
以下の部分を削除してください
削除#site-navigation li li.menu-item-has-children a
|
カスタムヘッダー デフォルト画像
管理画面からメイン画像を切り替えると、デフォルトのメイン画像に戻すことが出来ない
welcart_basic-nova/functions.php 20行目~
修正前register_default_headers( array (
'wcct-default' => array (
'url' => '%s/images/image-top.jpg' ,
'thumbnail_url' => '%s/images/image-top.jpg' ,
)
) );
|
修正後register_default_headers( array (
'wcct-default' => array (
'url' => '%2$s/images/image-top.jpg' ,
'thumbnail_url' => '%2$s/images/image-top.jpg' ,
)
) );
|
商品画像のホバーエフェクトが効いていない
welcart_basic-square/style.css 976行目~
修正前.grid-item .inner {
overflow : hidden ;
}
|
修正後.grid-item .inner {
overflow : visible ;
}
|
Google Chrome 閲覧時、サイドバーのリンクが効かない
welcart_basic-square/style.css 1788行目~
スタイル追加#main #secondary {
position : relative ;
z-index : 0 ;
}
|
複合検索ページでサニタイズ漏れ
welcart_basic-square/wc_templates/wc_search_page.php 24行目
修正前<?php $uscpaged = ( isset( $_REQUEST [ 'paged' ]) ) ? $_REQUEST [ 'paged' ] : 1; ?>
|
修正後<?php $uscpaged = ( isset( $_REQUEST [ 'paged' ]) ) ? (int) $_REQUEST [ 'paged' ] : 1; ?>
|
welcart_basic-square/wc_templates/wc_search_page.php 116行目
修正前<input name= "paged" id= "usces_paged" type= "hidden" value= "<?php echo $uscpaged; ?>" />
|
修正後<input name= "paged" id= "usces_paged" type= "hidden" value= "<?php esc_attr_e( $uscpaged ); ?>" />
|