Commit Graph

328 Commits

Author SHA1 Message Date
Andrew Ozz
bce0d37a67 Introduce wp_is_mobile() and use it instead of $is_iphone global, see #20014
git-svn-id: https://develop.svn.wordpress.org/trunk@20417 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 01:19:30 +00:00
Andrew Nacin
0c751dd7a3 Use relative paths for admin-ajax.php to avoid cross-domain issues with IDN domains in IE and Opera. props SergeyBiryukov, fixes #18952.
git-svn-id: https://develop.svn.wordpress.org/trunk@19871 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 16:12:11 +00:00
Andrew Nacin
da65af69e2 Initial import of localized CSS, for Chinese and Hebrew. see #19603.
git-svn-id: https://develop.svn.wordpress.org/trunk@19825 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-04 00:54:42 +00:00
Andrew Nacin
6073a8dce1 Call set_current_screen() again in admin-header.php in case a plugin includes admin-header.php before admin.php completes. Rare and silly, but seen in the wild. props ryan, see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19522 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 03:37:22 +00:00
Andrew Nacin
74567278af Revert other stuffs from [19374].
git-svn-id: https://develop.svn.wordpress.org/trunk@19376 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:43:57 +00:00
Andrew Nacin
7c181a42bf Set $parent_file for post-new.php when show_in_menu is a file. Provides for correct top-level highlighting. $submenu_file remains set to expect a post-new.php menu. see #19125.
git-svn-id: https://develop.svn.wordpress.org/trunk@19374 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 15:35:57 +00:00
Andrew Nacin
53d65cdd7c WP_Screen->post_type is always set. see #19131.
git-svn-id: https://develop.svn.wordpress.org/trunk@19324 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 19:50:14 +00:00
Andrew Nacin
c107d9ffed Don't use $user_identity global. props duck_. fixes #19146.
git-svn-id: https://develop.svn.wordpress.org/trunk@19284 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 21:35:44 +00:00
Andrew Ozz
d1b8509e83 Use IE conditionals when adding the ie8 class, introduce _wp_admin_html_begin(), props scribu, fixes #18966
git-svn-id: https://develop.svn.wordpress.org/trunk@18982 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 20:57:32 +00:00
Andrew Ozz
573a1813dc RTL, IE7 and IE7 RTL fixes, add class="ie8" to the html tag, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18975 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-15 07:33:01 +00:00
Andrew Ozz
7ac7aeae29 Clean up unused bits from responsive admin, fix the JS on dashboard, see #18863
git-svn-id: https://develop.svn.wordpress.org/trunk@18900 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 08:43:01 +00:00
Daryl Koopersmith
a5acbaa574 Make screen options a help tab. Move screen option functions into WP_Screen. see #18690, #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@18853 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:24:44 +00:00
Daryl Koopersmith
0b3d90ee53 Introduce help tabs and WP_Screen. props mbijon, goldenapples, natebedortha, ryan. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@18779 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 21:03:38 +00:00
Daryl Koopersmith
1db2584cd2 Remove expanded class from flyout menus. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18754 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 20:24:12 +00:00
Andrew Ozz
ecb902c53d Fix inconsistent css handling of .wide-screen, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18743 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 21:44:44 +00:00
Andrew Ozz
f465d0e766 Responsive admin improvements for the dashboard, new/write screens and links screens, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18736 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-21 06:16:24 +00:00
Daryl Koopersmith
e1038932b9 Admin bar UX improvements. First pass, see #18197
git-svn-id: https://develop.svn.wordpress.org/trunk@18683 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-16 05:01:54 +00:00
Peter Westwood
234c53c0c1 Reorder the titles in the Network Admin and Global Dashboard to put the locations first. Fixes #18304 props duck_
git-svn-id: https://develop.svn.wordpress.org/trunk@18675 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 09:26:07 +00:00
Andrew Ozz
13c777eb39 Auto-column switching for the dashboard (js based), see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18667 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-14 07:02:46 +00:00
Daryl Koopersmith
43d6595503 Switch admin menus to flyouts from dropdowns. First pass, see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18621 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-30 01:12:26 +00:00
Ryan Boren
20c9fd7c21 Handle locales that use a comma as a separator when generating version classes. Props olivM. fixes #18460
git-svn-id: https://develop.svn.wordpress.org/trunk@18608 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-26 19:00:07 +00:00
Andrew Ozz
77892dfba6 Improve auto column switching for post.php, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18607 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 22:55:39 +00:00
Andrew Ozz
dde77fd41b Merge most admin css files, first run, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18577 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-21 03:46:43 +00:00
Andrew Nacin
d90d462e6b Globalize variables used in admin-header in case it is used in a function. props SergeyBiryukov, fixes #16143.
git-svn-id: https://develop.svn.wordpress.org/trunk@18526 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 19:54:59 +00:00
Andrew Ozz
461ceba60d Editor API enhancement, first run (still needs some work), see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18498 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:19:00 +00:00
Andrew Ozz
9bcfc3da39 <!DOCTYPE html> for all, fixes #18202
git-svn-id: https://develop.svn.wordpress.org/trunk@18460 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 00:25:41 +00:00
Andrew Ozz
c2c5456fd1 Fix unfolding of the admin menu when no JS, fixes #17897
git-svn-id: https://develop.svn.wordpress.org/trunk@18349 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 20:40:04 +00:00
Ryan Boren
ab5bd75114 Add Howdy back to the admin_user_info_links filtered array. Props trepmal. fixes #17740
git-svn-id: https://develop.svn.wordpress.org/trunk@18232 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 16:40:42 +00:00
Ryan Boren
f786d16ed3 Add rtl class to the admin body if is_rtl(). RTL fixes for twentyeleven theme-options.php. Props rasheed. fixes #17603
git-svn-id: https://develop.svn.wordpress.org/trunk@18125 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 22:19:58 +00:00
Andrew Nacin
c220a69d42 Add admin body classes for the WP branch, WP version, and current admin color. props andy, fixes #17496.
git-svn-id: https://develop.svn.wordpress.org/trunk@17957 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 18:11:48 +00:00
Daryl Koopersmith
391ef54a19 Improve 'howdy' dropdown styles, add 'your profile' item and no-js. see #17324.
git-svn-id: https://develop.svn.wordpress.org/trunk@17853 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-11 07:05:47 +00:00
Daryl Koopersmith
54934479f2 Improve 'howdy user' dropdown trigger, delay, and animation. see #17324.
git-svn-id: https://develop.svn.wordpress.org/trunk@17844 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-09 17:48:14 +00:00
Daryl Koopersmith
5622362093 Move 'Search Engines Blocked' to 'Right Now' from admin header. see #17324.
git-svn-id: https://develop.svn.wordpress.org/trunk@17829 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-06 23:42:37 +00:00
Daryl Koopersmith
a786996aa5 Add user actions dropdown to admin header. see #17324.
git-svn-id: https://develop.svn.wordpress.org/trunk@17827 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-06 23:06:24 +00:00
Mark Jaquith
e897910b75 Big UI style update. props koopersmith. see #17324
git-svn-id: https://develop.svn.wordpress.org/trunk@17800 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 20:15:05 +00:00
Andrew Ozz
07a62334de Distraction Free Writing mode, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17695 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 01:01:34 +00:00
Andrew Nacin
34412cc70d Update indicator for the Network Admin link. fixes #16063.
git-svn-id: https://develop.svn.wordpress.org/trunk@17217 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-04 08:36:06 +00:00
Andrew Nacin
fbf16b3825 Revert [16292], admin_notices for non-network non-user only. all_admin_notices for all. fixes #14696.
git-svn-id: https://develop.svn.wordpress.org/trunk@17016 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 03:46:47 +00:00
Ryan Boren
6dc2d07bc4 Pink trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:21:50 +00:00
Ryan Boren
1bbc935dec Lose last-blog-admin-visited. Figure out a better way in 3.2
git-svn-id: https://develop.svn.wordpress.org/trunk@16859 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 17:25:04 +00:00
Ryan Boren
82d6b81907 Remove wp_admin_body_style(). Props ocean90. fixes #15507
git-svn-id: https://develop.svn.wordpress.org/trunk@16600 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 22:05:54 +00:00
Ryan Boren
a5a5164229 Titles for network admin and global dashboard. see #15477
git-svn-id: https://develop.svn.wordpress.org/trunk@16474 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 23:02:52 +00:00
Andrew Nacin
655df3af90 Ludicrous speed for internal linking. First pass. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16457 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 06:22:13 +00:00
Andrew Nacin
aa3af048cc blog_admin_notices for non-network-non-user, admin_notices for all. see #14696.
git-svn-id: https://develop.svn.wordpress.org/trunk@16292 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 12:32:22 +00:00
Ryan Boren
1394e2ff9d Give the user dashboard a more suitable title. see #14696
git-svn-id: https://develop.svn.wordpress.org/trunk@16265 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 22:00:50 +00:00
scribu
49266ad2f0 Make admin screen titles filterable. Props caesarsgrunt. Fixes #15301
git-svn-id: https://develop.svn.wordpress.org/trunk@16260 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 18:03:06 +00:00
Ryan Boren
840e539c0e Issue user_admin_notices for user admin. Issue admin_notices only for blog admin. Issue all_admin_notices for all dashboards. see #14696
git-svn-id: https://develop.svn.wordpress.org/trunk@16224 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 17:40:12 +00:00
Andrew Nacin
bb66fd85da Use 'Visit Site' in header if blog has no name. props blepoxp, fixes #13978.
git-svn-id: https://develop.svn.wordpress.org/trunk@15992 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 01:48:08 +00:00
Andrew Nacin
4bc9423b85 Don't use deprecated path in wp_admin_css call.
git-svn-id: https://develop.svn.wordpress.org/trunk@15947 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 19:22:39 +00:00
Andrew Nacin
1c24b9d9e8 Remove debug cruft. see [15662].
git-svn-id: https://develop.svn.wordpress.org/trunk@15663 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 09:19:17 +00:00