just to let you know, updating to 2.1.2 conflicted with the editing you suggested in functions.php :
add_filter('option_responsive_theme_options', 'responsive_theme_options_filter', 10, 2);
function responsive_theme_options_filter($value, $option) {
$cur_locale = morelang\ml_get_locale();
switch( $cur_locale ) {
case 'en_GB'
and so on
site was giving one of those messages when user frack up with functions.php, had to revert back to old more-lang version.
Error Details
=============
An error of type E_ERROR was caused in line 36 of the file /var/www/mysite.org/wp-content/themes/responsive-child/functions.php. Error message: Uncaught Error: Call to undefined function morelang\ml_get_locale() in /var/www/mysite.org/wp-content/themes/responsive-child/functions.php:36
Stack trace:
#0 /var/www/mysite.org/wp-includes/class-wp-hook.php(287): responsive_theme_options_filter(Array, 'responsive_them...')
#1 /var/www/mysite.org/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array)
#2 /var/www/mysite.org/wp-includes/option.php(152): apply_filters('option_responsi...', Array, 'responsive_them...')
#3 /var/www/mysite.org/wp-content/themes/responsive/core/includes/functions.php(77): get_option('responsive_them...', Array)
#4 /var/www/mysite.org/wp-content/themes/responsive/core/includes/functions.php(62): Responsive\Core\responsive_get_options()
#5 /var/www/mysite.org/wp-content/themes/responsive/functions.php(28): require('/var/www/mysite...')
#6 /var/www/mysite.org/wp-settings.php(508): include('/var/www/mysite...')
#7 /var/www/mysite.org/wp-config.php(90): require_once('/var/www/mysi
-
This reply was modified 4 years, 4 months ago by wp_ris.