Commit Graph

8861 Commits

Author SHA1 Message Date
Andrew Nacin
abcdc78656 Allow 8212/8211 (em dash and en dash) to be translated in wptexturize(). props SergeyBiryukov, fixes #15556.
git-svn-id: https://develop.svn.wordpress.org/trunk@19187 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 18:31:54 +00:00
Andrew Ozz
da045838f5 Fix lag when opening help tab if screen options was opened before, fixes #19172
git-svn-id: https://develop.svn.wordpress.org/trunk@19186 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 18:18:45 +00:00
Jon Cave
9fca31d21d Hide Site Name menu if the user isn't a member and isn't a super admin. Always show My Sites if the user has a site, and don't remove the current site from the list. Fixes #19122.
git-svn-id: https://develop.svn.wordpress.org/trunk@19184 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 12:21:12 +00:00
Andrew Nacin
7cea3fb20d Remove commented out code. props ocean90, fixes #19126.
git-svn-id: https://develop.svn.wordpress.org/trunk@19183 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 21:19:12 +00:00
Andrew Nacin
2ae685c4c2 Send $user_id to is_super_admin() when checking to set primary_blog for a user in wpmu_create_blog(). see #19127.
git-svn-id: https://develop.svn.wordpress.org/trunk@19182 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 20:23:55 +00:00
Andrew Ozz
f31c4b00c8 Fix js error on mousedown in the editor, props joehoyle, fixes #19165
git-svn-id: https://develop.svn.wordpress.org/trunk@19180 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 19:49:42 +00:00
Andrew Ozz
d58037ff4a Update the spellchecker plugin for TinyMCE to 2.0.6, fixes #19105
git-svn-id: https://develop.svn.wordpress.org/trunk@19178 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 18:32:47 +00:00
Andrew Ozz
a410b455a4 Phpdoc fix for quicktags.js, see #19098
git-svn-id: https://develop.svn.wordpress.org/trunk@19173 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 16:26:00 +00:00
Andrew Ozz
bbb51b1807 Improve handling of init and adding buttons to Quicktags, fixes #19098
git-svn-id: https://develop.svn.wordpress.org/trunk@19172 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 16:00:38 +00:00
Andrew Nacin
f1bbad5d5b Remove dead code. empty() will catch anything that equals false.
git-svn-id: https://develop.svn.wordpress.org/trunk@19171 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 13:35:48 +00:00
Andrew Nacin
cbbdd10c0e Give selectors their own lines. see #19126.
git-svn-id: https://develop.svn.wordpress.org/trunk@19169 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 05:15:17 +00:00
Andrew Nacin
8cca809427 Hide right border on final admin bar menu item with :last-child, rather than assuming it is search. props markjaquith, fixes #19126.
git-svn-id: https://develop.svn.wordpress.org/trunk@19168 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 05:13:18 +00:00
Andrew Nacin
b06a98aa18 Copy Twenty Eleven's search icon to core for the admin bar. props SergeyBiryukov. fixes #19138.
git-svn-id: https://develop.svn.wordpress.org/trunk@19167 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 04:49:05 +00:00
Andrew Nacin
970b93c056 Link 'W' to about.php. see #18795.
git-svn-id: https://develop.svn.wordpress.org/trunk@19166 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 03:35:20 +00:00
Andrew Nacin
50c56deeeb jQuery 1.7.
props ocean90, fixes #19144.


git-svn-id: https://develop.svn.wordpress.org/trunk@19165 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 03:25:14 +00:00
Daryl Koopersmith
d7f0b07a8e Blue theme styles for welcome panel and about pages. see #11651, 18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19164 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 02:06:56 +00:00
Daryl Koopersmith
986602c14c Second half of new welcome panel formatting. Add .icon16, for menu icon reuse. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19163 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 01:17:50 +00:00
Andrew Ozz
bf02e004e0 Support for "tabbing" through the admin bar and admin menu, fixes #19088
git-svn-id: https://develop.svn.wordpress.org/trunk@19162 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 01:13:18 +00:00
Jon Cave
78e94523c8 Don't override .shortlink-input left/right padding of 1em with CSS shorthand later on. Fixes #19147.
git-svn-id: https://develop.svn.wordpress.org/trunk@19161 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 20:45:15 +00:00
Andrew Ozz
7dec8b7703 Admin-bar.css refresh, add back IE compat. "return false" so clicking on the search box doesn't scropp the page to the top, props ocean90, fixes #19153, fixes #19151
git-svn-id: https://develop.svn.wordpress.org/trunk@19160 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 19:46:43 +00:00
Andrew Ozz
dab902ceab Do the ToDo in wp_admin_bar_search_menu(), props ocean90, fixes #19152
git-svn-id: https://develop.svn.wordpress.org/trunk@19159 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 18:11:33 +00:00
Ryan Boren
242b3f48e4 If an empty menu ID is passed, derive it from the title and issue a _doing_it_wrong() notice. see #18197
git-svn-id: https://develop.svn.wordpress.org/trunk@19158 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 17:41:38 +00:00
Andrew Ozz
04b16d0042 Fix the global :before/:after selectors for Opera, props SergeyBiryukov, see #19137
git-svn-id: https://develop.svn.wordpress.org/trunk@19157 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 17:35:00 +00:00
Andrew Ozz
3ee304ae1e Tweaks for the admin bar comment bubble: allow JS updating the count, center the bubble when no pending comments, props duck_, fixes #18809
git-svn-id: https://develop.svn.wordpress.org/trunk@19156 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 15:55:00 +00:00
Jon Cave
21f89abdca Fix caps logic in wp_admin_bar_appearance_menu(). Show Themes on either switch_themes or edit_theme_options, and the rest of the appearance items on edit_theme_options. Fixes #19150.
git-svn-id: https://develop.svn.wordpress.org/trunk@19153 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 14:47:37 +00:00
Andrew Ozz
ac8b90ade2 Remove drop-down arrows from admin bar, props SergeyBiryukov, fixes #19086
git-svn-id: https://develop.svn.wordpress.org/trunk@19152 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 14:36:50 +00:00
Jon Cave
2a16423a57 Update wp_admin_bar_appearance_menu docs to reflect changes made by r18683 and r19006. See #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19150 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 13:52:42 +00:00
Andrew Ozz
beec8f9532 Remove unused .toggle-arrow styling, props SergeyBiryukov, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19148 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 12:22:46 +00:00
Andrew Nacin
96513811f9 RTL for credits. props SergeyBiryukov, see #19143.
git-svn-id: https://develop.svn.wordpress.org/trunk@19146 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 04:35:06 +00:00
Daryl Koopersmith
bfd8e1a095 First half of new welcome panel formatting. props chexee. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19145 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 01:31:31 +00:00
Daryl Koopersmith
201d03f1b3 Formatting and CSS for credits and freedoms pages. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19143 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 00:37:56 +00:00
Jon Cave
b08b1b9314 Fix double border on right side of contextual help when no help sidebar exists. See #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19142 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 00:07:57 +00:00
Andrew Nacin
061c4c9841 Two style tweaks to the update nag so it blends well with help/option panels and the admin bar.
* Add a top border to it, but hide it under the admin bar. Helps appearance as the page is rendered (as admin bar is last).
 * Bring the update nag slightly off center again (see [19130]) to ensure it lines up with help/options panels.
see #18197.


git-svn-id: https://develop.svn.wordpress.org/trunk@19139 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:41:45 +00:00
Andrew Nacin
f73fb3a3bf Only show #screen-meta (which encloses the panels) when a panel is showing. Otherwise there's a one-pixel gray line that's really aggravating my OCD. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19137 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:30:55 +00:00
Andrew Nacin
be7274e110 Show the welcome screen when one shows it from Screen Options, advances to a page, then uses the browser's back button to return. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19133 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:08:24 +00:00
Andrew Ozz
882574b78c Revert placement of Help and Screen Options to under the admin bar on the right, see #18197, see #18785
git-svn-id: https://develop.svn.wordpress.org/trunk@19130 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 17:08:12 +00:00
Ryan Boren
ccaca0274d Update the blog date whenever a pubic post type is published or changed after being published. fixes #18624
git-svn-id: https://develop.svn.wordpress.org/trunk@19129 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 17:06:45 +00:00
Andrew Nacin
5a8176ea36 Admin bar 'W' shakeup. About This Version is now About WordPress. Credits and Freedoms will now become tabs on the post-update screen. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19128 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 04:53:00 +00:00
Andrew Ozz
3700b57fdc Remove the Cancel Upload button, fixes #19050
git-svn-id: https://develop.svn.wordpress.org/trunk@19127 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 01:47:12 +00:00
Andrew Ozz
6850814d97 Output editor-buttons.css earlier so the browser renders the editor in time, fixes #18820
git-svn-id: https://develop.svn.wordpress.org/trunk@19126 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 01:31:27 +00:00
Andrew Nacin
7c30a4f419 Add a few characters to remove_accents(). props SergeyBiryukov. props ampt for [UT471]. fixes #9591.
git-svn-id: https://develop.svn.wordpress.org/trunk@19125 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 23:08:05 +00:00
Daryl Koopersmith
e2a62a3134 Improve admin bar internal representation. Simpler signatures, with backwards compatibility. Add items without requiring parents to be added first. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19120 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 20:34:54 +00:00
Jon Cave
479b59bdb0 Return full WHERE clause from get_posts_by_author_sql() if the post type isn't registerd. Fixes SQL sytax on users list when 'post' is unregistered. Fixes #19116.
git-svn-id: https://develop.svn.wordpress.org/trunk@19117 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 17:06:34 +00:00
Andrew Ozz
fa570e7b76 More css cleanup, fix styles in the Edit Image popup then the editor is on the front end see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@19116 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 15:24:56 +00:00
Ryan Boren
03139f2eec Fix live update of comment bubble. Drop text to avoid translation difficulties. Props SergeyBiryukov. fixes #18809
git-svn-id: https://develop.svn.wordpress.org/trunk@19105 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 20:42:40 +00:00
Ryan Boren
795073ef01 Network admin snack menu. see #18197
git-svn-id: https://develop.svn.wordpress.org/trunk@19104 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 20:19:33 +00:00
Mark Jaquith
4b4c1bed52 Use %s, not %d, for comment numbers in admin bar sprintf(). fixes #19104
git-svn-id: https://develop.svn.wordpress.org/trunk@19103 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 20:12:42 +00:00
Ryan Boren
c8ae4ba953 Mark links to wordpress.org resources for translation. Props SergeyBiryukov. see #18197
git-svn-id: https://develop.svn.wordpress.org/trunk@19102 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 19:46:41 +00:00
Andrew Ozz
947ba8f62c Fix uploader "file size exceeded" error message, fix displaying uploaded queue errors, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@19100 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 11:56:20 +00:00
Andrew Ozz
1746c2af62 Disable the Cancel Upload button after the upload has finished or if it was interrupted, fixes #19050
git-svn-id: https://develop.svn.wordpress.org/trunk@19099 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 21:38:28 +00:00