Commit Graph

99 Commits

Author SHA1 Message Date
ryan
f7d7bc2dd0 Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 22:21:36 +00:00
ryan
8760e7da1b Coding standards, space after if
git-svn-id: http://svn.automattic.com/wordpress/trunk@12752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 20:34:48 +00:00
dd32
97c8150bbd Correct the Theme update package check. Props Denis-de-Bernardy. Fixes #11908 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 07:04:31 +00:00
ryan
6da55f7792 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:11:12 +00:00
ryan
05bf7382ff Merge edit-pages.php into edit.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 16:58:36 +00:00
wpmuguru
e5b11f300a revert permission check in [12722], props ddebernardy, See #11894
git-svn-id: http://svn.automattic.com/wordpress/trunk@12724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-14 19:15:00 +00:00
wpmuguru
9d2762f279 merge wp-admin user, plugins, themes, upgrade , See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-14 02:02:19 +00:00
ryan
166435891c Convert update_themes, update_plugins, update_core, and dismissed_update_core into site transients/plugins. Remove no longer need compat code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:49:55 +00:00
azaozz
4134133d53 Remove unused .fade CSS class, props nacin, fixes #11628
git-svn-id: http://svn.automattic.com/wordpress/trunk@12546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 09:00:58 +00:00
ryan
c831a9e3ef Add context to strings. Props nbachiyski. fixes #10738
git-svn-id: http://svn.automattic.com/wordpress/trunk@12231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:49:16 +00:00
westi
3eb5db4558 Display better information about broken themes when there is no stylesheet. Fixes #10999 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-22 20:15:54 +00:00
markjaquith
d86259fcb1 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: http://svn.automattic.com/wordpress/trunk@12025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 19:06:35 +00:00
ryan
a8890b9160 Add some CYA cap checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-01 21:12:17 +00:00
azaozz
571964a96b H2 "Add New" buttons for the main screens
git-svn-id: http://svn.automattic.com/wordpress/trunk@11554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-12 03:20:16 +00:00
azaozz
98fece4a2a Fix insecure content warnings when Manage Themes is loaded via https, props peaceablewhale, fixes #10080
git-svn-id: http://svn.automattic.com/wordpress/trunk@11539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-10 06:55:29 +00:00
azaozz
d35438efe3 WP Upgrader improvements, props DD32, fixes #9836
git-svn-id: http://svn.automattic.com/wordpress/trunk@11525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-06 08:14:41 +00:00
azaozz
b161634c82 Take <p> out of translatable string, props nbachiyski, fixes #9995
git-svn-id: http://svn.automattic.com/wordpress/trunk@11505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-02 00:36:49 +00:00
ryan
a3c2702e3a Add confirmation AYS when upgrading a theme. fixes #9904
git-svn-id: http://svn.automattic.com/wordpress/trunk@11470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-27 19:05:58 +00:00
azaozz
13c7249671 Delete widgets when dragged back to Available Widgets, add ui.droppable.js and ui.selectable.js, see #9511
git-svn-id: http://svn.automattic.com/wordpress/trunk@11445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 15:46:09 +00:00
azaozz
3f942844de Initialize $table variable in wp-admin/themes.php, props mdawaffe, fixes #9923
git-svn-id: http://svn.automattic.com/wordpress/trunk@11443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-23 23:42:28 +00:00
markjaquith
3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
markjaquith
119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
ryan
4e9ebf41a7 Show theme install help text only if user has install_themes cap.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 23:42:46 +00:00
westi
94c4f7ce02 Better theme page help. Fixes #9745 based on patch from demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 18:59:09 +00:00
markjaquith
d7b015645d esc_js(). Shorter, follows new escaping naming convention.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-09 07:27:22 +00:00
markjaquith
6c2ffddf31 _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: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
azaozz
83f674bf9a Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: http://svn.automattic.com/wordpress/trunk@11190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 04:28:05 +00:00
azaozz
f7a6290580 Add some help for the widgets screen, make css class .description usable everywhere, fixes #5859
git-svn-id: http://svn.automattic.com/wordpress/trunk@11133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-30 02:33:22 +00:00
ryan
2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
westi
e8abe70f25 Better view on Manage Themes when only one theme installed. Fixes #9029.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-19 20:56:02 +00:00
ryan
e6cfd0dd6b Case-insensitive sorting of themes in themes.php. Props demetris. fixes #9570
git-svn-id: http://svn.automattic.com/wordpress/trunk@10993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 21:31:57 +00:00
ryan
e3acc800f8 Theme insall cleanups. Props DD32. fixes #9508
git-svn-id: http://svn.automattic.com/wordpress/trunk@10923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-13 16:24:37 +00:00
ryan
caa38f816f Use stylesheet directory when deleting a theme so we don't accidentally delete a parent theme. Props ionfish. fixes #9519
git-svn-id: http://svn.automattic.com/wordpress/trunk@10915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-12 17:32:03 +00:00
azaozz
fb0c5fbe97 More theme install styling, see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-20 00:14:57 +00:00
ryan
e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
ryan
b72c13c912 delete_theme(). see #8678
git-svn-id: http://svn.automattic.com/wordpress/trunk@10715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 19:15:56 +00:00
ryan
1a6e597d9a Add theme delete link. Stub action. see #8678
git-svn-id: http://svn.automattic.com/wordpress/trunk@10714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 18:45:26 +00:00
ryan
0e484e1bc6 Action links for themes page
git-svn-id: http://svn.automattic.com/wordpress/trunk@10713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 18:32:09 +00:00
ryan
0bf194de3b Use _x() and extracted comments. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-02 19:20:19 +00:00
ryan
ef0b5afe24 Use get_transient() for update_themes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-25 23:16:34 +00:00
ryan
4073f2b153 More theme preview tidying. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-18 22:32:42 +00:00
ryan
e976dca6f4 Fix preview link for theme broweser. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-18 22:10:11 +00:00
ryan
c6ecb155d6 Fix preview for theme installer. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-18 21:55:00 +00:00
ryan
e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
azaozz
14ebe03af3 Add missing div in themes.php, props demetris, fixes #8395
git-svn-id: http://svn.automattic.com/wordpress/trunk@9921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 12:13:08 +00:00
azaozz
f0458fbba1 Visual UI fixes from iammattthomas, fixes #8387
git-svn-id: http://svn.automattic.com/wordpress/trunk@9918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 11:53:32 +00:00
azaozz
f36c6cf666 Pagination arrow replacement, fixes #8363
git-svn-id: http://svn.automattic.com/wordpress/trunk@9914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 00:28:24 +00:00
azaozz
7c68e6945a Screen icons
git-svn-id: http://svn.automattic.com/wordpress/trunk@9903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 13:51:25 +00:00
ryan
cf333304bb Page link styling improvements. Props iammattthomas. fixes #8266
git-svn-id: http://svn.automattic.com/wordpress/trunk@9746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 00:59:57 +00:00
ryan
d699f0d00d i18n fixes from nbachiyski. fixes #8142
git-svn-id: http://svn.automattic.com/wordpress/trunk@9589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 17:42:51 +00:00