WordPress.org

Ready to get started?Download WordPress

Forums

Responsive
theme-options.php throwing error on update (6 posts)

  1. Dan Rossiter
    Member
    Posted 1 year ago #

    The following line (531) is throwing an error in my install:

    $input['responsive_inline_css_js_footer'] = wp_kses_stripslashes($input['responsive_inline_css_js_footer']);

    If I add the following before that line then it resolves the issue.

    if( !array_key_exists( 'responsive_inline_css_js_footer', $input ) )
    	$input['responsive_inline_css_js_footer'] = '';
  2. Emil Uzelac
    Theme Review Admin
    Posted 1 year ago #

    Any modifications of parent theme prior to this? The reason why I asked is because if nothing was modified the error is not there. Please let me know either way.

    Thanks,
    Emil

  3. Dan Rossiter
    Member
    Posted 1 year ago #

    There haven't been any edits to the parent. I'm running a child theme, however.

  4. Emil Uzelac
    Theme Review Admin
    Posted 1 year ago #

    Child Theme with style.css only, nothing else in it?

    Thanks,
    Emil

  5. Dan Rossiter
    Member
    Posted 1 year ago #

    No, there is quite a bit more than just a new style file.

    Are there any specific hooks/filters I need to avoid?

  6. Emil Uzelac
    Theme Review Admin
    Posted 1 year ago #

    That should be good and here's what I would not add:

    • /responsive/functions.php
    • /responsive/includes/theme-options.php

    If needed /responsive-child-theme/functions.php

    Thanks,
    Emil

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic