WordPress.org

Support

Support » Themes and Templates » overriding thematic_validate_opt needlessly hard

overriding thematic_validate_opt needlessly hard

  • In Thematic 1.0.3.2, library/extensions/theme-options.php contains this code:

    if (function_exists('childtheme_override_validate_opt')) {
    	function thematic_thematic_validate_opt() {
    		childtheme_override_validate_opt();
    	}
    } else {
     	function thematic_validate_opt($input){

    Instead, the code should look like this:

    if (function_exists('childtheme_override_validate_opt')) {
    	function thematic_thematic_validate_opt($input) {
    		childtheme_override_validate_opt($input);
    	}
    } else {
     	function thematic_validate_opt($input){

    I have a workaround for this, but it’s inconvenient so please fix. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘overriding thematic_validate_opt needlessly hard’ is closed to new replies.