Commit Graph

17545 Commits

Author SHA1 Message Date
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
Andrew Nacin 731127e61b Use call_user_func_array() as call_user_func() cannot pass by reference. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19155 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 15:06:11 +00:00
Andrew Nacin 53891da7c8 Pass $tab array to callback execution for help tabs. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19154 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 15:04:58 +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
Andrew Nacin 8919fbbaff Remove i18n until text settles. see #18795.
git-svn-id: https://develop.svn.wordpress.org/trunk@19151 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 13:57:45 +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 33b60fc08b RTL adjustments for the About screens, props SergeyBiryukov, fixes #19143
git-svn-id: https://develop.svn.wordpress.org/trunk@19149 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 13:09:53 +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 Ozz c1ec42bbff Help and Screen Options RTL adjustments, props SergeyBiryukov, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19147 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 12:19:09 +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 53d127961b The about pages are lonely orphans. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19144 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 00:45:11 +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 f3c1ce364a Remove copy-pasted classes. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19141 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:59:19 +00:00
Andrew Nacin 8fa35f9bbe Yank version numbers out of translated strings. TODO decide whether this should be major version only, which probably means about.php should also contain text about x.y vs x.y.z. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19140 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:55:03 +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
Daryl Koopersmith c47fb0491b Move about page CSS to main CSS files. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19138 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:32:44 +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 c649bc75bf Add about.php text/tabs to credits.php and freedoms.php. (Caution: Styles may settle during shipping.) see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19136 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:23:31 +00:00
Daryl Koopersmith 2145c0e8f4 Layout and filler content for new about page. CSS will be moved to the main files. props chexee. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19135 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:13:50 +00:00
Andrew Nacin c684c9212b Use a better method for [19133]. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19134 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:09:59 +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 Nacin 14c3606e1f Allow is_network and is_user to work for all screen instances. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19132 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:00:46 +00:00
Andrew Ozz e3cb75932b Revert the look and functionality of Screen Options ans Help links/tabs, see #18197, see #18785
git-svn-id: https://develop.svn.wordpress.org/trunk@19131 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 20:26:09 +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
Andrew Nacin d0115d9821 Remove CSS for interim-login. see #19120.
git-svn-id: https://develop.svn.wordpress.org/trunk@19124 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 22:47:21 +00:00
Andrew Nacin 8208aaac6f More help sidebars. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19123 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 21:42:57 +00:00
Andrew Nacin 840f20feb2 More s/add_help_sidebar/set_help_sidebar/. fixes #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19122 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 21:32:16 +00:00
Andrew Nacin 4cb3487019 More help sidebars. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19121 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 20:54:56 +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
Andrew Nacin 33ee9a7d04 s/add_help_sidebar/set_help_sidebar/g and introduce screen->remove_help_tab($id) and screen->remove_help_tabs(). see #19020, #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19119 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 20:14:10 +00:00
Ryan Boren cb56cbb04e Blue admin color scheme updates for the contextual help tabs. Props chexee. see #18964
git-svn-id: https://develop.svn.wordpress.org/trunk@19118 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 17:21:50 +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
Dion Hulse b37514a7fd Tabs > Spaces. Props SergeyBiryukov. See #14999
git-svn-id: https://develop.svn.wordpress.org/trunk@19115 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 12:16:47 +00:00
Ryan Boren 71aa0059d0 Use add_help_sidebar(). see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19114 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 05:33:53 +00:00
Andrew Nacin c69f53c37d Reverse variable assignment order. D'oh. see #19108.
git-svn-id: https://develop.svn.wordpress.org/trunk@19113 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 04:24:17 +00:00
Andrew Nacin 809c1558e3 Remove cruft. see #19106.
git-svn-id: https://develop.svn.wordpress.org/trunk@19112 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 04:14:14 +00:00
Ryan Boren db63861af8 Use add_help_sidebar(). see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19111 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 03:12:37 +00:00
Ryan Boren 4709ef3dc2 Chain off of get_current_screen() instead of using global. see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19110 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 02:38:37 +00:00
Mark Jaquith 41d1ab35f3 Use %s instead of %d in plugin install notice strings. props johnbillion. fixes #19106
git-svn-id: https://develop.svn.wordpress.org/trunk@19109 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 02:36:18 +00:00
Andrew Nacin 45c23f2fcf Use more obvious variables in WP_Screen. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19108 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 21:36:04 +00:00
Andrew Nacin 27cd634a96 Simplify logic in wp-fullscreen-save-post. Most of this came from post.php but that's been cut down as well. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19107 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 21:23:05 +00:00