Commit Graph

117 Commits

Author SHA1 Message Date
Andrew Nacin
49e4cad78c Use the edit_theme_options capability. fixes #13290.
git-svn-id: https://develop.svn.wordpress.org/trunk@14581 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 19:19:57 +00:00
Andrew Nacin
84578d128b Add trailing slash to some home_url() calls. props zeo, fixes #13245.
git-svn-id: https://develop.svn.wordpress.org/trunk@14443 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 17:13:11 +00:00
Ron Rennick
fb0fffbce5 themes admin pages UI cleanup, props PeteMall, see #13238
git-svn-id: https://develop.svn.wordpress.org/trunk@14425 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:25:14 +00:00
Peter Westwood
8112a99438 Remove the deprecation message for now as it shows too many false positives. See #13230.
git-svn-id: https://develop.svn.wordpress.org/trunk@14411 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 21:12:23 +00:00
Ryan Boren
57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Peter Westwood
cb10f6b4ae Move theme_update_available out of the admin page and into the admin includes.
git-svn-id: https://develop.svn.wordpress.org/trunk@14371 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 13:29:15 +00:00
Peter Westwood
137564fa08 Add a nag message for themes which are relying on the deprecated behaviour.
git-svn-id: https://develop.svn.wordpress.org/trunk@14369 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 13:23:34 +00:00
Ryan Boren
7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Andrew Nacin
5a46795d60 Nav menu UI updates. props koopersmith, see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14287 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 03:43:39 +00:00
Andrew Nacin
ec4f5b83bf Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: https://develop.svn.wordpress.org/trunk@14139 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 06:14:45 +00:00
Dion Hulse
9b44257e39 Update the text on the Manage Themes page for when there is only 1 theme available. Props jane & IRC people for strings. Fixes #12916
git-svn-id: https://develop.svn.wordpress.org/trunk@14046 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 03:27:22 +00:00
Andrew Nacin
8fa7ed4573 Remove references to the old .fade class for message divs.
git-svn-id: https://develop.svn.wordpress.org/trunk@14039 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-08 03:36:52 +00:00
Dion Hulse
49cd5dfeab Nest the HTML correctly on the Manage Themes page when the user does not have permission to Install themes. Fixes #12847
git-svn-id: https://develop.svn.wordpress.org/trunk@14001 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 00:00:53 +00:00
Ryan Boren
1e8b1d12c9 Tab interface for Theme and Add New Theme. First pass. Props matveb, dremeda. see #12412
git-svn-id: https://develop.svn.wordpress.org/trunk@13533 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 15:27:42 +00:00
Ron Rennick
29616c3ad9 Change link from wpmu-themes.php to ms-themes.php, Fixes #12034
git-svn-id: https://develop.svn.wordpress.org/trunk@12837 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 15:27:35 +00:00
Ryan Boren
2e46e81309 i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: https://develop.svn.wordpress.org/trunk@12789 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 21:37:43 +00:00
Ryan Boren
ee5efb4187 Multisite and formatting cleanups. Introduce get_allowed_themes(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12755 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 23:34:36 +00:00
Ryan Boren
dbb773aa8e Fix inverted logic. phpdoc update. Props nacin. fixes #11935
git-svn-id: https://develop.svn.wordpress.org/trunk@12754 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 22:34:16 +00:00
Ryan Boren
f260b32d25 Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@12753 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 22:21:36 +00:00
Ryan Boren
e2adfc832a Coding standards, space after if
git-svn-id: https://develop.svn.wordpress.org/trunk@12752 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 20:34:48 +00:00
Dion Hulse
a9ecf3f4be Correct the Theme update package check. Props Denis-de-Bernardy. Fixes #11908 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12743 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 07:04:31 +00:00
Ryan Boren
8ef8b7bad5 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Ryan Boren
b74bea8a2c Merge edit-pages.php into edit.php. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12728 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 16:58:36 +00:00
Ron Rennick
d8da09f8f7 revert permission check in [12722], props ddebernardy, See #11894
git-svn-id: https://develop.svn.wordpress.org/trunk@12724 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-14 19:15:00 +00:00
Ron Rennick
c1f8977b95 merge wp-admin user, plugins, themes, upgrade , See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12722 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-14 02:02:19 +00:00
Ryan Boren
71bef9fe26 Convert update_themes, update_plugins, update_core, and dismissed_update_core into site transients/plugins. Remove no longer need compat code.
git-svn-id: https://develop.svn.wordpress.org/trunk@12673 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:49:55 +00:00
Andrew Ozz
060d9185e6 Remove unused .fade CSS class, props nacin, fixes #11628
git-svn-id: https://develop.svn.wordpress.org/trunk@12546 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 09:00:58 +00:00
Ryan Boren
42a3082c21 Add context to strings. Props nbachiyski. fixes #10738
git-svn-id: https://develop.svn.wordpress.org/trunk@12231 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 22:49:16 +00:00
Peter Westwood
df21977652 Display better information about broken themes when there is no stylesheet. Fixes #10999 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@12091 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-22 20:15:54 +00:00
Mark Jaquith
1a00881a37 Introducing register_theme_directory() which takes a wp-content-relative path and will additionally scan it for themes. Plugins can use this to add themes without requiring copying by the user. props apeatling. fixes #10467
git-svn-id: https://develop.svn.wordpress.org/trunk@12025 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 19:06:35 +00:00
Ryan Boren
98b8d02a40 Add some CYA cap checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@11761 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-01 21:12:17 +00:00
Andrew Ozz
4f1b61b10d H2 "Add New" buttons for the main screens
git-svn-id: https://develop.svn.wordpress.org/trunk@11554 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-12 03:20:16 +00:00
Andrew Ozz
921d31fb54 Fix insecure content warnings when Manage Themes is loaded via https, props peaceablewhale, fixes #10080
git-svn-id: https://develop.svn.wordpress.org/trunk@11539 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-10 06:55:29 +00:00
Andrew Ozz
0e475b2e29 WP Upgrader improvements, props DD32, fixes #9836
git-svn-id: https://develop.svn.wordpress.org/trunk@11525 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-06 08:14:41 +00:00
Andrew Ozz
16cca1f495 Take <p> out of translatable string, props nbachiyski, fixes #9995
git-svn-id: https://develop.svn.wordpress.org/trunk@11505 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-02 00:36:49 +00:00
Ryan Boren
2e2d842ff0 Add confirmation AYS when upgrading a theme. fixes #9904
git-svn-id: https://develop.svn.wordpress.org/trunk@11470 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-27 19:05:58 +00:00
Andrew Ozz
f5fa5294ed Delete widgets when dragged back to Available Widgets, add ui.droppable.js and ui.selectable.js, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11445 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 15:46:09 +00:00
Andrew Ozz
4618cb715d Initialize $table variable in wp-admin/themes.php, props mdawaffe, fixes #9923
git-svn-id: https://develop.svn.wordpress.org/trunk@11443 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-23 23:42:28 +00:00
Mark Jaquith
ba1c3bdd5b Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 16:00:33 +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
Ryan Boren
cf14056f90 Show theme install help text only if user has install_themes cap.
git-svn-id: https://develop.svn.wordpress.org/trunk@11285 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 23:42:46 +00:00
Peter Westwood
cdb7df7737 Better theme page help. Fixes #9745 based on patch from demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@11270 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 18:59:09 +00:00
Mark Jaquith
8d6cb67233 esc_js(). Shorter, follows new escaping naming convention.
git-svn-id: https://develop.svn.wordpress.org/trunk@11245 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-09 07:27:22 +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
Andrew Ozz
3bf18aa189 Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: https://develop.svn.wordpress.org/trunk@11190 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 04:28:05 +00:00
Andrew Ozz
84c56e062e Add some help for the widgets screen, make css class .description usable everywhere, fixes #5859
git-svn-id: https://develop.svn.wordpress.org/trunk@11133 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 02:33:22 +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
Peter Westwood
54bf093efc Better view on Manage Themes when only one theme installed. Fixes #9029.
git-svn-id: https://develop.svn.wordpress.org/trunk@11008 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-19 20:56:02 +00:00
Ryan Boren
540fbabdb0 Case-insensitive sorting of themes in themes.php. Props demetris. fixes #9570
git-svn-id: https://develop.svn.wordpress.org/trunk@10993 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 21:31:57 +00:00
Ryan Boren
f2e9b14cb3 Theme insall cleanups. Props DD32. fixes #9508
git-svn-id: https://develop.svn.wordpress.org/trunk@10923 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-13 16:24:37 +00:00