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
Ryan Boren
5d0176b03e
Escape href in feed_links_extra(). Props solarissmoke. fixes #17408
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19096 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 20:22:35 +00:00
Ryan Boren
4399cf7610
Avoid E_STRICT notices. see #18975
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19094 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 19:38:46 +00:00
Andrew Ozz
1326405677
Fix menu folding on new installs, props SergeyBiryukov, fixes #18091
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19091 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 21:56:27 +00:00
Andrew Ozz
8ecf6a8f3f
Fix editor menu drop-downs in RTL, fixes #17798
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19088 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 02:28:49 +00:00
Andrew Nacin
866b118316
Fix QuickTags typos. props trepmal, fixes #19082 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19084 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 23:29:53 +00:00
Andrew Ozz
e10b10b6e2
Fix help tabs in RTL, props rosshanney, fixes #19024
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19083 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 23:05:58 +00:00
Andrew Nacin
3f802f9570
Use esc_attr() consistently in wp_dropdown_pages().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19081 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 22:40:09 +00:00
Andrew Ozz
8a48ef371f
RTL fixes for 3.3, props yoavf SergeyBiryukov rosshanney, see #19042 fixes #18000 , fixes #17988 , fixes #19006
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19080 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 22:14:59 +00:00
Jon Cave
7942318230
Ensure auto-embed only matches "smugmug.com" and its subdomains. Fixes #19076 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19079 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 20:05:43 +00:00
Ryan Boren
2e089de79f
Compute in_search_post_types only when needed. Props mitchoyoshitaka. fixes #18364
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19078 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 20:03:26 +00:00
Ryan Boren
813f1abd3c
Avoid undefined index notices. Props SergeyBiryukov, valendesigns. fixes #18455
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19077 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 19:52:14 +00:00
Jon Cave
abada6e11d
Fix polldaddy oEmbed regular expression to work with new style URLs. Props r-a-y, azaozz. Fixes #17106 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19076 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 19:42:57 +00:00
Ryan Boren
a3f2a7ce55
Fix notices and logic errors in get_page_by_path(). Props duck_. see #17670
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19075 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 19:32:19 +00:00
Ryan Boren
722c6d7003
Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19074 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 15:48:44 +00:00
Ryan Boren
f8ed38f26c
Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19072 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-27 20:00:09 +00:00
Ryan Boren
d8db24fafa
Cast author IDs to strings. Props yoavf. fixes #18869
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19071 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-27 18:36:49 +00:00
Jon Cave
be9799cdba
Correctly document $stripteaser as a boolean flag. Props GaryJ, fixes #18886 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19069 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-26 10:15:29 +00:00
Jon Cave
72256f1c27
Stop an incorrect comment total being displayed when a trashed/spammed comment is deleted or restored. Fixes #19029 .
...
Also only run getUpdate() when necessary and remove reference to non-existent "span.total-type-count".
git-svn-id: https://develop.svn.wordpress.org/trunk@19068 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-26 08:47:16 +00:00
Andrew Nacin
29a3f52acf
Bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19067 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 16:32:27 +00:00
Andrew Nacin
95eff833c8
Remove duplicate word in docs. props SergeyBiryukov, fixes #18986 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19065 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 16:07:14 +00:00
Andrew Nacin
96e4fffaa9
Introduce upgrade_330() to clear usermeta keys show_admin_bar_admin and plugins_last_view. fixes #18811 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19061 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 05:48:09 +00:00