Raindrops 0.993 has bug

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘raindrops_mobile_meta’ not found or invalid function name in /…/wp-includes/plugin.php on line 403

Quick Fix

functions.php line: 4111
[php]
/**
*
*
*
* @since: 0.992
*/
if( ! function_exists( ‘raindrops_mobile_meta’ ) ){
function obandes_mobile_meta(){
if( wp_is_mobile() and raindrops_warehouse(‘raindrops_page_width’) == ‘doc3’ ){
?>
<meta name="viewport" content="width=device-width" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<?php
}
}
}
[/php]

Please change below

[php]
/**
*
*
*
* @since: 0.992
*/
if( ! function_exists( ‘raindrops_mobile_meta’ ) ){
function raindrops_mobile_meta(){
if( wp_is_mobile() and raindrops_warehouse(‘raindrops_page_width’) == ‘doc3’ ){
?>
<meta name="viewport" content="width=device-width" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<?php
}
}
}
[/php]
function name change from obandes_mobile_meta() to raindrops_mobile_meta().


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