[theme-reviewers] Function submit_button()

George Mamadashvili georgemamadashvili at gmail.com
Mon Jul 25 16:44:46 UTC 2011


Hello Chip.

I noticed that function too and liked it, but if theme author what to
provide "Reset to Default" button, does it still need to be hard-coded? I
had no to dig in this function, can we this function for reset button too?

Best

George

On Mon, Jul 25, 2011 at 8:25 PM, Chip Bennett <chip at chipbennett.net> wrote:

> Good morning developers/reviewers!
>
> Just a note, from something that I noticed being used in Twenty Eleven: the
> submit_button()<http://codex.wordpress.org/Function_Reference/submit_button>function, which replaces hard-coded form submit buttons.
>
> I would strongly recommend making use of it in Theme Settings Page forms;
> as with other "doing things the core-supported way" criteria, I would expect
> this one to show up in the Guidelines at some point in the future.
>
> Chip
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110725/2142cf9f/attachment.htm>


More information about the theme-reviewers mailing list