Commit Graph

75 Commits

Author SHA1 Message Date
markjaquith 119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
markjaquith 6c2ffddf31 _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan 12078bcb11 Attr escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@11173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 17:54:08 +00:00
ryan 9ef2afc85b attr escaping. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 06:37:51 +00:00
ryan 2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan a3d28151b2 Show template files in subdirs. Props DD32. fixes #4131
git-svn-id: http://svn.automattic.com/wordpress/trunk@10835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-25 16:51:08 +00:00
azaozz 083218222c Fix undefined variable in theme-editor, props mrmist, fixes #9333
git-svn-id: http://svn.automattic.com/wordpress/trunk@10792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 17:14:44 +00:00
ryan d10b538652 gettext contexts. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 23:02:29 +00:00
azaozz e97a2c3e90 Don't use mb_* functions to match file extension, fixes #9289
git-svn-id: http://svn.automattic.com/wordpress/trunk@10734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 16:17:57 +00:00
azaozz 6d94947a44 Add CodePress syntax highlighting to Theme and Plugin editors (first run), props beaulebens, see #9173
git-svn-id: http://svn.automattic.com/wordpress/trunk@10614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-21 02:12:00 +00:00
ryan 4399d9f7f9 Add documentation lookup shortcuts to Theme and Plugin Editors. Props beaulebens. fixes #9184
git-svn-id: http://svn.automattic.com/wordpress/trunk@10607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 20:00:09 +00:00
azaozz 9bdf2f30b9 Fix missing closing tag in theme-editor.php, props roganty, fixes #8581
git-svn-id: http://svn.automattic.com/wordpress/trunk@10194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-12 08:19:10 +00:00
ryan e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
markjaquith 19177023c9 Move from generic "Save" to better "Update X", more consistent use of button-primary for major actions. fixes #8374. props azaozz, FFEMTcJ
git-svn-id: http://svn.automattic.com/wordpress/trunk@10137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 09:07:36 +00:00
westi 781708a9ce Ensure that the theme-editor displays the correct files when a child theme overrides templates. Fixes #8236 props roganty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 21:29:55 +00:00
azaozz 7c68e6945a Screen icons
git-svn-id: http://svn.automattic.com/wordpress/trunk@9903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 13:51:25 +00:00
azaozz 17083f0ce8 Fix button styling inconsistency on settings pages, props sivel, fixes #7975
git-svn-id: http://svn.automattic.com/wordpress/trunk@9369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 20:41:05 +00:00
markjaquith 4d2d655490 Covering our XSS bases
git-svn-id: http://svn.automattic.com/wordpress/trunk@9233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 20:06:22 +00:00
markjaquith 61f911c42e Bring back the H2s. Rough draft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 20:02:03 +00:00
azaozz dbe35378e6 CSS and HTML validation fixes, props Simek, fixes #7703
git-svn-id: http://svn.automattic.com/wordpress/trunk@8845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-08 06:01:33 +00:00
westi 5d7deee12d Sort templates alphabetically in the theme editor. See #7576 props Terragg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-23 09:28:39 +00:00
westi c19b2d769e More phpdoc updates for wp-adming. See #7496 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-16 07:27:34 +00:00
ryan 216cdeedea Check fopen return value. Props Otto42 and pishmishy. fixes #4448
git-svn-id: http://svn.automattic.com/wordpress/trunk@8208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-27 20:14:50 +00:00
ryan 68a874a4dd wp_admin_css() improvements. Props mdawaffe. see #7011
git-svn-id: http://svn.automattic.com/wordpress/trunk@7979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-22 00:06:41 +00:00
westi 3cbcbbbfb4 Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 10:37:06 +00:00
ryan 7a1db035a2 Reduce dependency on inline style. Props mdawaffe. fixes #6228
git-svn-id: http://svn.automattic.com/wordpress/trunk@7304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 23:58:31 +00:00
ryan 4be6f03439 i18n fixes from nbachiyski. fixes #6226
git-svn-id: http://svn.automattic.com/wordpress/trunk@7300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-14 19:56:43 +00:00
ryan 1ab0b60ef8 Style fixes from mt. fixes #6124
git-svn-id: http://svn.automattic.com/wordpress/trunk@7194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 05:37:13 +00:00
westi 0fa353c714 Add context to translated string. Fixes #6134 props RanYanivHartstein.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-08 22:50:12 +00:00
ryan 04c9051a7d Remove trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-02 20:17:30 +00:00
ryan 71de0f2d24 Remove extraneous tag. Props ionfish. fixes #5890
git-svn-id: http://svn.automattic.com/wordpress/trunk@6960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 21:49:48 +00:00
ryan b97f4b5e10 Standardize button and select treatments. Props mt. fixes #5925
git-svn-id: http://svn.automattic.com/wordpress/trunk@6918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-19 20:33:59 +00:00
ryan cba49b6185 Load teme editor css on admin_head hook. Props DD32. see #5871
git-svn-id: http://svn.automattic.com/wordpress/trunk@6891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-17 23:53:36 +00:00
ryan df65d131ab Theme editor font sizing and layout fixes from ionfish. see #5890
git-svn-id: http://svn.automattic.com/wordpress/trunk@6890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-17 22:23:04 +00:00
ryan 878dd99bc2 Don't include CSS on action pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-17 22:17:55 +00:00
ryan d67043e6ae Theme editor gettext from hervada. fixes #5885
git-svn-id: http://svn.automattic.com/wordpress/trunk@6881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-17 00:58:23 +00:00
ryan f59025f3d4 Theme editor restyling from hansengel. see #5871
git-svn-id: http://svn.automattic.com/wordpress/trunk@6878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-16 22:08:13 +00:00
ryan 4f25d8c305 More informative error message when theme files are not writable. Props hansengel. fixes #5783
git-svn-id: http://svn.automattic.com/wordpress/trunk@6772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-09 20:17:49 +00:00
ryan 321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
markjaquith 5a76c03203 new function for escaping within attributes: attribute_escape()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:10:04 +00:00
ryan 9f534ebae6 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:56:05 +00:00
ryan eda9021317 Hold off on menu cleanup until next release. There be dragons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-18 07:31:29 +00:00
matt 07126127e6 Admin functions cleanup, and change how we do titles and parents in the backend
git-svn-id: http://svn.automattic.com/wordpress/trunk@4478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-18 06:09:48 +00:00
matt c437b9c9b0 Some UI cleanups, changes, and various miscellany.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-06 01:14:47 +00:00
ryan e416b64e80 Do only the minimum sanitization on the URL redirect. fixes #2994
git-svn-id: http://svn.automattic.com/wordpress/trunk@4268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-02 19:26:12 +00:00
ryan 52d65dc101 Die before including the header.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-22 18:20:00 +00:00
ryan 42557940a1 Use wp_die(). Props filosofo. fixes #2914
git-svn-id: http://svn.automattic.com/wordpress/trunk@3985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-05 22:00:03 +00:00
matt c13781fc79 We talk good. Fixes #2632
git-svn-id: http://svn.automattic.com/wordpress/trunk@3949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-04 17:56:27 +00:00
ryan 55af15d623 wp_reset_vars() from Sewar. fixes #2888
git-svn-id: http://svn.automattic.com/wordpress/trunk@3946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-03 19:03:37 +00:00
ryan ff19f4b5a5 Use wp_redirect().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-27 05:38:56 +00:00