Bug with textarea in my theme options (2 posts)

  1. viwiv
    Posted 6 years ago #

    Hi everobody!

    I want to propose options for my theme, like http://literalbarrage.org/blog/archives/2007/05/03/a-theme-tip-for-wordpress-theme-authors/.

    I have a bug with textareas. When empty, it show the beginning of the file .po of my theme!!!

    I use this syntax to create textarea:

    "name" => __('foo','news'),
    "desc" => __('Text to display...','theme'),
    "id" => $shortname."_else",
    "type" => "textarea"),

    Thanks for your help!


  2. Doug
    Posted 6 years ago #

    I wrote that tutorial. I didn't take i18n issues into account, so that may play into it.

    I note that you didn't set a "std" value for the textarea. Try setting "std" => "" in the array defining that textarea and see if it solves your problem.

Topic Closed

This topic has been closed to new replies.

About this Topic