Commit Graph
105 Commits
Author SHA1 Message Date
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
Ryan Boren 9cdc014f6a Use stylesheet directory when deleting a theme so we don't accidentally delete a parent theme. Props ionfish. fixes #9519
git-svn-id: https://develop.svn.wordpress.org/trunk@10915 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-12 17:32:03 +00:00
Andrew Ozz a779b2e002 More theme install styling, see #8652
git-svn-id: https://develop.svn.wordpress.org/trunk@10823 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-20 00:14:57 +00:00
Ryan Boren 8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Ryan Boren ac819a92ba delete_theme(). see #8678
git-svn-id: https://develop.svn.wordpress.org/trunk@10715 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-05 19:15:56 +00:00
Ryan Boren f89abfffd2 Add theme delete link. Stub action. see #8678
git-svn-id: https://develop.svn.wordpress.org/trunk@10714 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-05 18:45:26 +00:00
Ryan Boren 876b7d088b Action links for themes page
git-svn-id: https://develop.svn.wordpress.org/trunk@10713 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-05 18:32:09 +00:00
Ryan Boren 3fe87a2049 Use _x() and extracted comments. Props nbachiyski. see #9112
git-svn-id: https://develop.svn.wordpress.org/trunk@10680 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-02 19:20:19 +00:00
Ryan Boren a9af3f7f71 Use get_transient() for update_themes.
git-svn-id: https://develop.svn.wordpress.org/trunk@10648 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-25 23:16:34 +00:00
Ryan Boren 9341c41142 More theme preview tidying. see #8652
git-svn-id: https://develop.svn.wordpress.org/trunk@10592 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-18 22:32:42 +00:00
Ryan Boren eb53ce41fb Fix preview link for theme broweser. see #8652
git-svn-id: https://develop.svn.wordpress.org/trunk@10591 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-18 22:10:11 +00:00
Ryan Boren dfc5340e6a Fix preview for theme installer. see #8652
git-svn-id: https://develop.svn.wordpress.org/trunk@10590 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-18 21:55:00 +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