Commit Graph

188 Commits

Author SHA1 Message Date
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
Andrew Ozz ecb45c722b Add missing div in themes.php, props demetris, fixes #8395
git-svn-id: https://develop.svn.wordpress.org/trunk@9921 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-27 12:13:08 +00:00
Andrew Ozz ab624e98db Visual UI fixes from iammattthomas, fixes #8387
git-svn-id: https://develop.svn.wordpress.org/trunk@9918 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-27 11:53:32 +00:00
Andrew Ozz bdb1810ef8 Pagination arrow replacement, fixes #8363
git-svn-id: https://develop.svn.wordpress.org/trunk@9914 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-27 00:28:24 +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
Ryan Boren bbaa2ed570 Page link styling improvements. Props iammattthomas. fixes #8266
git-svn-id: https://develop.svn.wordpress.org/trunk@9746 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-18 00:59:57 +00:00
Ryan Boren a44339268a i18n fixes from nbachiyski. fixes #8142
git-svn-id: https://develop.svn.wordpress.org/trunk@9589 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-10 17:42:51 +00:00
Andrew Ozz 92646b1275 Small styling fixes to themes.php
git-svn-id: https://develop.svn.wordpress.org/trunk@9567 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-08 07:56:42 +00:00
Andrew Ozz 2f0df43916 Use ndash for number range, props demetris, fixes #8088
git-svn-id: https://develop.svn.wordpress.org/trunk@9565 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-08 02:39:18 +00:00
Andrew Ozz c127129c26 Implementing new design for Edit Posts, Comments, etc. lists, props mdawaffe, see #8083
git-svn-id: https://develop.svn.wordpress.org/trunk@9556 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-06 21:56:29 +00:00
Andrew Ozz 0e845af695 New buttons and styling for all "management" pages
git-svn-id: https://develop.svn.wordpress.org/trunk@9328 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-24 18:25:46 +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
Ryan Boren 68a1f4a6bb Add some type sanity checks. Props DD32. fixes #7800
git-svn-id: https://develop.svn.wordpress.org/trunk@9227 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-17 18:30:04 +00:00
Andrew Ozz c15e06e42a HTML validation fixes, props Viper007Bond
git-svn-id: https://develop.svn.wordpress.org/trunk@9223 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-17 03:49:43 +00:00
Ryan Boren 6d727a9c2b phpdoc for wp-admin. Props jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@9119 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-10 18:21:16 +00:00
Peter Westwood 2e12a7cc82 Theme update UI first pass. See #7519 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@8989 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-26 06:43:53 +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 a099e4c12f Use WP_CONTENT_DIR and URL when linking to theme screenshots. Props sambauers. see #6938
git-svn-id: https://develop.svn.wordpress.org/trunk@8040 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-03 17:17:45 +00:00
Ryan Boren f213f87d59 First cut and better admin SSL support. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@7998 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:46:01 +00:00
Ryan Boren ff477e2400 Add theme paging for those who can't bear to pare down their huge theme collection. You know who you are. see #5486
git-svn-id: https://develop.svn.wordpress.org/trunk@7972 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-21 17:36:41 +00:00
Ryan Boren 58a9595df2 Theme preview and thickbox CSS cleanup. Props azaozz. see #5486
git-svn-id: https://develop.svn.wordpress.org/trunk@7961 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 17:19:33 +00:00
Mark Jaquith 0c71b931c2 Consensus is to make "Visit Site" links open in the same tab/window. fixes #6163
git-svn-id: https://develop.svn.wordpress.org/trunk@7522 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 07:14:07 +00:00
Matt Mullenweg bde39aec07 Visual and English tweaks throughout.
git-svn-id: https://develop.svn.wordpress.org/trunk@7230 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 07:23:07 +00:00
Ryan Boren ea73b4aa17 Remove raquo from buttons. Props filosofo. fixes #5938
git-svn-id: https://develop.svn.wordpress.org/trunk@6943 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-20 19:30:55 +00:00
Ryan Boren 00db74c820 Theme tagging from andy. fixes #5545
git-svn-id: https://develop.svn.wordpress.org/trunk@6530 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-31 18:39:43 +00:00
Ryan Boren 31fc42f07b Add switch_theme(). Cache current theme in options to avoid calling get_themes(). fixes #5346
git-svn-id: https://develop.svn.wordpress.org/trunk@6334 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-13 05:07:44 +00:00
Peter Westwood 5593328ba6 Improve desriptions for I18N strings. Fixes #4906 props nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@6033 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-04 20:56:08 +00:00
Peter Westwood 617592ce64 urlencode the theme name and stylesheet name in the activate links so as to support directories with + in the name. Fixes #3279.
git-svn-id: https://develop.svn.wordpress.org/trunk@6016 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 16:11:10 +00:00
Matt Mullenweg 719b73dd9d Knowing the version of the theme is pretty useless in this context, it's clutter.
git-svn-id: https://develop.svn.wordpress.org/trunk@5419 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-09 17:14:23 +00:00
Ryan Boren f77b96fc84 Standardize on 'url' for fetching the blog's url. Props rob1n. fixes #3623
git-svn-id: https://develop.svn.wordpress.org/trunk@4983 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 03:05:41 +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
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 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 3855fbe248 Don't list current theme in the availablet themes list.
git-svn-id: https://develop.svn.wordpress.org/trunk@3476 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-24 07:38:29 +00:00
Ryan Boren 9e6d93b6d6 Trailing slashes. Propers to Mark Jaquith. fixes #1893
git-svn-id: https://develop.svn.wordpress.org/trunk@3134 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 10:10:10 +00:00
Matt Mullenweg 1faa9ffc1c Fix menu annoyance. Clean up themes.php code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2839 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-05 23:33:10 +00:00
Matt Mullenweg 5998b3db15 Minor tweaks
git-svn-id: https://develop.svn.wordpress.org/trunk@2763 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-08 03:28:37 +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
Matt Mullenweg 2165c50e82 Making the presentation page a little more intuitive
git-svn-id: https://develop.svn.wordpress.org/trunk@2757 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-07 10:11:30 +00:00
Matt Mullenweg 1d5e21d175 Tweaks and catchups
git-svn-id: https://develop.svn.wordpress.org/trunk@2756 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-07 08:58:10 +00:00
Matt Mullenweg fe818f8ebf Usability hooks into wp.org
git-svn-id: https://develop.svn.wordpress.org/trunk@2594 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-09 11:37:36 +00:00
Ryan Boren 7d9a069059 Fix number formatting in dashboard stats for numbers > 999. http://mosquito.wordpress.org/view.php?id=1074 Hat tip: dougal
git-svn-id: https://develop.svn.wordpress.org/trunk@2433 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-11 16:53:16 +00:00
Matt Mullenweg 03dce26a1e Highlight current theme - http://mosquito.wordpress.org/view.php?id=868
git-svn-id: https://develop.svn.wordpress.org/trunk@2325 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 05:36:54 +00:00
Ryan Boren 916c3f722e Number specifiers for i18n.
git-svn-id: https://develop.svn.wordpress.org/trunk@1898 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-28 05:48:22 +00:00
Ryan Boren d3f7d9e4c8 List broken themes and suggest corrective action.
git-svn-id: https://develop.svn.wordpress.org/trunk@1829 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-24 23:48:51 +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
Ryan Boren 85b3d7821e Add switch_theme action. Cleanup staticize-reloaded's cache when theme is switched.
git-svn-id: https://develop.svn.wordpress.org/trunk@1755 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-06 06:20:52 +00:00
Ryan Boren 45d9bf4b56 Revert to default theme if active theme is broken.
git-svn-id: https://develop.svn.wordpress.org/trunk@1675 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-16 18:09:32 +00:00
Matt Mullenweg 9d7f710ce7 Some UI changes to theme manager. Seems to be updating the stylesheet but not the template.
git-svn-id: https://develop.svn.wordpress.org/trunk@1655 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-14 12:01:31 +00:00
Ryan Boren 80a69481d0 Refactor some theme code.
git-svn-id: https://develop.svn.wordpress.org/trunk@1643 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-14 06:19:50 +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