[wp-trac] [WordPress Trac] #10111: output of function checked resp. __checked_selected_helper has single quotation marks which can produce JS error
WordPress Trac
wp-trac at lists.automattic.com
Tue Jul 14 17:19:37 UTC 2009
#10111: output of function checked resp. __checked_selected_helper has single
quotation marks which can produce JS error
-----------------------------------------+----------------------------------
Reporter: ntm | Owner: westi
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 2.8
Severity: normal | Resolution: wontfix
Keywords: has-patch reporter-feedback |
-----------------------------------------+----------------------------------
Comment(by ntm):
Thank you for your regard. ryan you are right. esc_js() or js_escape()
solves my problem, too.
I have written a plugin which adds a third comment_status.
[[Image(http://undeuxoutrois.de/bilder/ecapsm/write_01.png)]]
With this plugins (and some additions to the theme) Authors can allow
commenting for all, for registered visitors only or for no one.
For the plugin manipulates e.g. the appearance of the /wp_admin/post-
new.php and /wp-admin/post.php pages via Javascript property innerHTML.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10111#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list