Matt Mullenweg
91bc0d5d3c
Some style tweaks to theme editor, fixes #11563 . Hat tip: Simek.
...
I adjusted the padding to be a little heavier and then have a negative margin, so the text stays aligned and the highlight floats around it. As an added tweak I removed the extraneous "Theme Files" heading which didn't really convey any useful information.
"Perfection is achieved perfection not when there is nothing left to add, but when there is nothing left to take away" -- Antoine de Saint-Exupery (and Merry Christmas everybody. :))
git-svn-id: https://develop.svn.wordpress.org/trunk@12541 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-25 03:16:25 +00:00
Ryan Boren
6de4fcc190
Remove unneeded quotes around vars. Props johnbillion. fixes #10245
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12513 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:16:53 +00:00
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
Matt Mullenweg
6af3bdbb32
Admin functions cleanup, and change how we do titles and parents in the backend
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4478 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-18 06:09:48 +00:00
Matt Mullenweg
bc2d62560c
Some UI cleanups, changes, and various miscellany.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4349 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-06 01:14:47 +00:00
Ryan Boren
384b956cc1
Do only the minimum sanitization on the URL redirect. fixes #2994
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4268 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-02 19:26:12 +00:00
Ryan Boren
622a66dc05
Die before including the header.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4111 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-22 18:20:00 +00:00
Ryan Boren
0b25954d38
Use wp_die(). Props filosofo. fixes #2914
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3985 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-05 22:00:03 +00:00
Matt Mullenweg
adef1bc732
We talk good. Fixes #2632
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3949 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-04 17:56:27 +00:00
Ryan Boren
0474f077f0
wp_reset_vars() from Sewar. fixes #2888
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3946 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-03 19:03:37 +00:00
Ryan Boren
23e2a0a25f
Use wp_redirect().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3928 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-27 05:38:56 +00:00
Ryan Boren
6f1d273fc9
Update nonce action strings. Props mdawaffe.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3804 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-26 23:08:05 +00:00
Ryan Boren
fcfda4db13
Nonce from above. #2678
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3759 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-02 22:36:06 +00:00
Ryan Boren
5a5b80e6a0
Ref checks from mdawaffe.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3665 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 23:12:54 +00:00
Ryan Boren
e5c3552381
Move raquo into gettext. Props SteveAgl. fixes #2453
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3541 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:29:33 +00:00
Ryan Boren
6008a133c4
Death to trailing tabs. Props Mark J. fixes #2405
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00
Ryan Boren
56e626673e
i18n updates from nbachiyski. fixes #2069
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3295 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-12 22:48:30 +00:00
Matt Mullenweg
f26a84a752
No need to display the whole big path, fixes #1617
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3084 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 10:26:39 +00:00
Matt Mullenweg
81460359c9
Clear bottoms, fixes #1640
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3082 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 10:19:22 +00:00
Matt Mullenweg
5e3e5445e9
Bad grammar. Fixes #1766
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2987 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-05 22:55:04 +00:00
Matt Mullenweg
7c4907713c
Draw more attention to the messages, which now blend in a little with the header. TODO: Put all messages in an array, abstract out HTML
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2762 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-08 01:13:22 +00:00
Ryan Boren
9527e184fe
More cap migration.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2714 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-15 02:16:45 +00:00
Ryan Boren
9d8f012f32
Bail if the theme does not exist.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2553 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 21:41:35 +00:00
Ryan Boren
184d9bec2d
Don't try to read a zero length file. http://mosquito.wordpress.org/view.php?id=1116 Props: MC_incubus
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2448 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-15 22:25:40 +00:00
Ryan Boren
97c3e10671
Strip slashes from theme name. Encode special chars in theme name. http://mosquito.wordpress.org/view.php?id=978 and http://mosquito.wordpress.org/view.php?id=953
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2385 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-26 06:38:18 +00:00
Matt Mullenweg
b2041fc4d0
Friendlier file names in theme editor - http://mosquito.wordpress.org/view.php?id=598
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2319 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 04:24:25 +00:00
Matt Mullenweg
a812ef0709
Encode entities correctly for edit form
...
git-svn-id: https://develop.svn.wordpress.org/trunk@2120 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-23 23:00:15 +00:00
Matt Mullenweg
953caf1484
Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1940 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-12 20:41:19 +00:00
Ryan Boren
d003d51e07
Pass theme in URI when sending update header. Bug 491.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1881 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-25 16:15:27 +00:00
Ryan Boren
5966136272
Fix array_merge of stylesheets and templates. Patch from kharris.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1876 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-23 17:51:34 +00:00
Ryan Boren
2663acc49a
Remove spurious typo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1859 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-17 03:20:32 +00:00
Ryan Boren
464d959270
Theme, plugin, and file editing cleanup. Work in progress.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1858 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-17 03:15:44 +00:00
Ryan Boren
ed78ed9a2d
Split admin-header.php into admin.php and admin-header.php. Split menu.php into menu-header.php and menu.php. Add plugin admin page support.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1818 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-19 03:03:06 +00:00
Matt Mullenweg
6213488be3
Some file editor improvements. New: Recently edited and editor sidebar.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1703 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-22 06:33:54 +00:00
Ryan Boren
4a2c4fcdbb
Load the currently active theme into the theme editor upon first visit rather than Default.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1646 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-14 07:19:16 +00:00
Ryan Boren
ddf9be9ef1
Themes.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@1638 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-11 16:12:40 +00:00