Commit Graph

83 Commits

Author SHA1 Message Date
Ryan Boren
0042fa7b7c Fix file validation in theme editor. Props dd32. fixes #11032
git-svn-id: https://develop.svn.wordpress.org/trunk@12310 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 22:03:13 +00:00
Peter Westwood
e010f7c143 Fix the editing of stylesheet files in the theme editor.
git-svn-id: https://develop.svn.wordpress.org/trunk@12185 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-13 18:54:54 +00:00
Peter Westwood
4299a36395 Display a smaller filename in the theme editor urls and make theme files editable again. Fixes #10974.
git-svn-id: https://develop.svn.wordpress.org/trunk@12063 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 21:39:04 +00:00
Ryan Boren
e024f20812 Disable codepress. Maintained replacement needed.
git-svn-id: https://develop.svn.wordpress.org/trunk@12005 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-07 15:22:23 +00:00
Andrew Ozz
152a0d9f3f Scroll back to the same location after saving a file in the Plugin and Theme editors
git-svn-id: https://develop.svn.wordpress.org/trunk@11788 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-08 07:22:19 +00:00
Andrew Ozz
8fb6081b5b Fix overlap in plugin and theme editors, props eddieringle, fixes #10101 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11647 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-26 11:07:10 +00:00
Peter Westwood
e5dd9ecd88 Introduce _deep_replace() and use it to improve the stripping of percent encoded values from urls. Fixes #10226 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@11615 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-20 17:42:24 +00:00
Andrew Ozz
ed7d206ac1 Allow CodePress to be disabled from Screen Options, see #10027
git-svn-id: https://develop.svn.wordpress.org/trunk@11530 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-07 01:52:44 +00:00
Mark Jaquith
f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +00:00
Mark Jaquith
c638e8d8de _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: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Ryan Boren
cfd320446f Attr escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@11173 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 17:54:08 +00:00
Ryan Boren
3b7130bbae attr escaping. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11110 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 06:37:51 +00:00
Ryan Boren
fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Ryan Boren
a1037e9954 Show template files in subdirs. Props DD32. fixes #4131
git-svn-id: https://develop.svn.wordpress.org/trunk@10835 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-25 16:51:08 +00:00
Andrew Ozz
b05ab08790 Fix undefined variable in theme-editor, props mrmist, fixes #9333
git-svn-id: https://develop.svn.wordpress.org/trunk@10792 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-15 17:14:44 +00:00
Ryan Boren
1952e923f8 gettext contexts. Props nbachiyski. see #9112
git-svn-id: https://develop.svn.wordpress.org/trunk@10767 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 23:02:29 +00:00
Andrew Ozz
56971d703a Don't use mb_* functions to match file extension, fixes #9289
git-svn-id: https://develop.svn.wordpress.org/trunk@10734 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 16:17:57 +00:00
Andrew Ozz
c4e96ccd38 Add CodePress syntax highlighting to Theme and Plugin editors (first run), props beaulebens, see #9173
git-svn-id: https://develop.svn.wordpress.org/trunk@10614 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-21 02:12:00 +00:00
Ryan Boren
ca06d9c58a Add documentation lookup shortcuts to Theme and Plugin Editors. Props beaulebens. fixes #9184
git-svn-id: https://develop.svn.wordpress.org/trunk@10607 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-20 20:00:09 +00:00
Andrew Ozz
45a50d9f72 Fix missing closing tag in theme-editor.php, props roganty, fixes #8581
git-svn-id: https://develop.svn.wordpress.org/trunk@10194 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-12 08:19:10 +00:00
Ryan Boren
baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Mark Jaquith
00152d6124 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: https://develop.svn.wordpress.org/trunk@10137 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 09:07:36 +00:00
Peter Westwood
e6fd9a5a97 Ensure that the theme-editor displays the correct files when a child theme overrides templates. Fixes #8236 props roganty.
git-svn-id: https://develop.svn.wordpress.org/trunk@10047 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-04 21:29:55 +00:00
Andrew Ozz
90c37c1792 Screen icons
git-svn-id: https://develop.svn.wordpress.org/trunk@9903 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 13:51:25 +00:00
Andrew Ozz
4d59069999 Fix button styling inconsistency on settings pages, props sivel, fixes #7975
git-svn-id: https://develop.svn.wordpress.org/trunk@9369 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-27 20:41:05 +00:00
Mark Jaquith
202c2fc0be Covering our XSS bases
git-svn-id: https://develop.svn.wordpress.org/trunk@9233 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-17 20:06:22 +00:00
Mark Jaquith
377ad4f01d Bring back the H2s. Rough draft.
git-svn-id: https://develop.svn.wordpress.org/trunk@9232 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-17 20:02:03 +00:00
Andrew Ozz
e994ef3899 CSS and HTML validation fixes, props Simek, fixes #7703
git-svn-id: https://develop.svn.wordpress.org/trunk@8845 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-08 06:01:33 +00:00
Peter Westwood
8b81cc3d5f Sort templates alphabetically in the theme editor. See #7576 props Terragg.
git-svn-id: https://develop.svn.wordpress.org/trunk@8717 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-23 09:28:39 +00:00
Peter Westwood
e1adf1d070 More phpdoc updates for wp-adming. See #7496 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8656 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-16 07:27:34 +00:00
Ryan Boren
c7afa63283 Check fopen return value. Props Otto42 and pishmishy. fixes #4448
git-svn-id: https://develop.svn.wordpress.org/trunk@8208 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-27 20:14:50 +00:00
Ryan Boren
0198c04b6d wp_admin_css() improvements. Props mdawaffe. see #7011
git-svn-id: https://develop.svn.wordpress.org/trunk@7979 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-22 00:06:41 +00:00
Peter Westwood
f70f8d56cc Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: https://develop.svn.wordpress.org/trunk@7883 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 10:37:06 +00:00
Ryan Boren
872d374ece Reduce dependency on inline style. Props mdawaffe. fixes #6228
git-svn-id: https://develop.svn.wordpress.org/trunk@7304 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-14 23:58:31 +00:00
Ryan Boren
79f4ab9a35 i18n fixes from nbachiyski. fixes #6226
git-svn-id: https://develop.svn.wordpress.org/trunk@7300 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-14 19:56:43 +00:00
Ryan Boren
b17535c4bf Style fixes from mt. fixes #6124
git-svn-id: https://develop.svn.wordpress.org/trunk@7194 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-10 05:37:13 +00:00
Peter Westwood
a15d268e25 Add context to translated string. Fixes #6134 props RanYanivHartstein.
git-svn-id: https://develop.svn.wordpress.org/trunk@7188 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-08 22:50:12 +00:00
Ryan Boren
6d7441c26e Remove trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@7130 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 20:17:30 +00:00
Ryan Boren
e6672666be Remove extraneous tag. Props ionfish. fixes #5890
git-svn-id: https://develop.svn.wordpress.org/trunk@6960 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-21 21:49:48 +00:00
Ryan Boren
49797f0f70 Standardize button and select treatments. Props mt. fixes #5925
git-svn-id: https://develop.svn.wordpress.org/trunk@6918 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-19 20:33:59 +00:00
Ryan Boren
f69ec08cb6 Load teme editor css on admin_head hook. Props DD32. see #5871
git-svn-id: https://develop.svn.wordpress.org/trunk@6891 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-17 23:53:36 +00:00
Ryan Boren
d5bc2c5b0f Theme editor font sizing and layout fixes from ionfish. see #5890
git-svn-id: https://develop.svn.wordpress.org/trunk@6890 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-17 22:23:04 +00:00
Ryan Boren
48c3643653 Don't include CSS on action pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@6889 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-17 22:17:55 +00:00
Ryan Boren
105206c2e2 Theme editor gettext from hervada. fixes #5885
git-svn-id: https://develop.svn.wordpress.org/trunk@6881 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-17 00:58:23 +00:00
Ryan Boren
8348cde198 Theme editor restyling from hansengel. see #5871
git-svn-id: https://develop.svn.wordpress.org/trunk@6878 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-16 22:08:13 +00:00
Ryan Boren
fb05c7e4b7 More informative error message when theme files are not writable. Props hansengel. fixes #5783
git-svn-id: https://develop.svn.wordpress.org/trunk@6772 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-09 20:17:49 +00:00
Ryan Boren
7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Mark Jaquith
31c39f948d new function for escaping within attributes: attribute_escape()
git-svn-id: https://develop.svn.wordpress.org/trunk@4656 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:10:04 +00:00
Ryan Boren
e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Ryan Boren
7e226f1a94 Hold off on menu cleanup until next release. There be dragons.
git-svn-id: https://develop.svn.wordpress.org/trunk@4480 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-18 07:31:29 +00:00