<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I have tried, not successfull. <div><br></div><div>I don't know why it's escaping the quotes. </div><div><br></div><div>I have tried some changes (single quotes, etc) and it works in the same way. </div><div><br></div><div><code><span style="color: rgb(0, 0, 0);"><span style="color: rgb(255,
128, 0);"> </span><span style="color: rgb(0, 119, 0);">function </span><span style="color: rgb(0, 0, 187);">eg_setting_callback_function</span><span style="color: rgb(0, 119, 0);">() {<br> </span><span style="color:
rgb(0, 0, 187);">$checked </span><span style="color: rgb(0, 119, 0);">= </span><span style="color: rgb(221, 0, 0);">' '</span><span style="color: rgb(0,
119, 0);">;<br> <br> </span><span style="color: rgb(255, 128,
0);">// Mark our checkbox as checked if the setting is already true<br> </span><span style="color: rgb(0, 119, 0);">if (</span><span style="color: rgb(0, 0,
187);">get_option</span><span style="color: rgb(0, 119, 0);">(</span><span style="color: rgb(221, 0, 0);">'eg_setting_name'</span><span style="color: rgb(0, 119, 0);">)) <br> </span><span style="color: rgb(0, 0, 187);">$checked </span><span style="color:
rgb(0, 119, 0);">= </span><span style="color: rgb(221, 0, 0);">" checked='checked' \";</span></span></code></div><div><br><div><div>It was for test purposes. You cannot put '' together, it assumes italic. </div><div><br></div><div>No clue, sorry. </div><div><br></div><div>El 18/03/2010, a las 08:39, Aaron Jorbin escribió:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>There is a bug in how code is displayed on the<br><a href="http://codex.wordpress.org/Settings_API#Adding_a_settings_section_with_a_new_field_in_it">http://codex.wordpress.org/Settings_API#Adding_a_settings_section_with_a_new_field_in_it</a><br>page. At the bottom, the eg_setting_callback_function() function has<br>slashes added that don't appear on the edit screen.<br><br>Anyone know how to fix this?<br><br>-- <br>http://aaron.jorb.in<br>Twitter: @aaronjorbin<br>_______________________________________________<br>wp-docs mailing list<br>wp-docs@lists.automattic.com<br>http://lists.automattic.com/mailman/listinfo/wp-docs<br><br></div></blockquote></div><br><div>
<div>--<br>Rafael Poveda <RaveN> | <a href="http://Mecus.es/">Mecus.es</a><br><a href="mailto:raven@mecus.es">raven@mecus.es</a> | <a href="mailto:raven@raven.es">raven@raven.es</a><br>gtalk: rafael.poveda</div>
</div>
<br></div></body></html>