Raindrops1.247 Bug Report

Raindrops can not set header , footer and sidebar widget title image

*Quick Fix

Open functions.php and add page first

<?php
/*------------- add codes start-----------------*/
if ( !function_exists( 'raindrops_heading_image_validate' ) ) {

	function raindrops_heading_image_validate( $input ) {

		if ( preg_match( '/[^(a-z|0-9|_|-|\.)]+/si', $input ) ) {

			return raindrops_warehouse_clone( 'raindrops_heading_image' );
		}
		return $input;
	}

}

if ( !function_exists( 'raindrops_footer_image_validate' ) ) {

	function raindrops_footer_image_validate( $input ) {

		global $raindrops_options;

		if ( preg_match( '/[^(a-z|0-9|_|-|\.)]+/si', $input ) ) {

			return raindrops_warehouse_clone( 'raindrops_footer_image' );
		}
		return $input;
	}

}

if ( !function_exists( 'raindrops_header_image_validate' ) ) {

	function raindrops_header_image_validate( $input ) {

		if ( preg_match( '/[^(a-z|0-9|_|-|\.)]+/si', $input ) ) {

			return raindrops_warehouse_clone( 'raindrops_header_image' );
		}
		return $input;
	}

}
/*------------- add codes end-----------------*/
/**
 * functions and constants for Raindrops theme
 *
 *
 * @package Raindrops
 * @since Raindrops 0.1
 */
if ( !defined( 'ABSPATH' ) ) {

	exit;
}

This bug will be fixed ver 1.250

Thank you.

Raindrops 1.247に、バグがありましたのでお知らせします。

Raindropsのテーマオプションからアップロードする、ヘッダー画像、フッタ画像、サイドバーウィジェットタイトル画像が 保存できないバグがありました

この問題は、1.246での、バリデーションチェック用の関数の改修の際に不備があったものと考えています。したがって、それ以前のバージョンをご利用の場合この問題は、発生しません。

この問題は、1.250で修正予定です。


コメントは受け付けていません。