Commit Graph

8879 Commits

Author SHA1 Message Date
ryan 75e238360a Avoid warning when non-existent ID pass to wp_get_attachment_link(). Tidy formatting of wp_get_attachment_link(). Props SergeyBiryukov, Jayjdk. fixes #18491
git-svn-id: http://svn.automattic.com/wordpress/trunk@19210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 14:08:25 +00:00
duck_ 4cf30f3410 is_user_member_of_blog() [no args] should return true for logged in users on single site. $wpdb->blogid is 0, but the current blog ID isn't. Fixes #19160.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 23:07:07 +00:00
duck_ e0b10ef8a7 get_blogs_of_user() should return false for logged out and non-existent users on single site. See #19160.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 23:05:13 +00:00
azaozz b8f091fcbc Fix a:focus styling and backwards tabbing, add tabindex arg for <a>, see #19088
git-svn-id: http://svn.automattic.com/wordpress/trunk@19207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 20:38:38 +00:00
nacin 02f57cbf59 Merge and update variable declarations. fixes #19176.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:45:24 +00:00
nacin 3a3c7e2334 Remove old vendor prefixes. props andrewryno, ocean90, fixes #18700.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:32:24 +00:00
nacin 3526f8a7da Context for 'All Links'. props SergeyBiryukov, pavelevap. fixes #18096.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:28:20 +00:00
nacin 815d4065be Clean up wp_admin_bar_my_account_menu() a bit. see #19193.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:27:24 +00:00
nacin 7f9e07a136 Link the profile meta in 'My Account' to profile.php. props linuxologos, fixes #19193.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:25:13 +00:00
koopersmith dae0be0711 Improve display logic for admin menu arrows. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 04:18:50 +00:00
koopersmith 91aaf6bdf5 Improve admin menu tab navigation for expanded menus. Folded menus require a few markup improvements. see #19191.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 03:59:00 +00:00
koopersmith df818bec66 Blue theme improvements for welcome panel. Add .icon16 definitions. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 00:39:46 +00:00
koopersmith 4329269b16 Remove dead padding/margin CSS from the admin bar. These previously were used for the now-removed arrows. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 00:30:49 +00:00
azaozz a31f0ad164 Uploader: update to 1.5.1.1, remove plupload.full.js (we cannot use it), rename the script handle in script-loader to avoid any confusion, fixes #19187
git-svn-id: http://svn.automattic.com/wordpress/trunk@19194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 21:46:24 +00:00
nacin d040cc1347 Don't set post_type QV in _post_format_request() when we're in the admin. props ethitter. fixes #18475.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 21:15:23 +00:00
nacin f30f2e5c17 Correct the position of the resizer for the visual editor (not the main editor). props jakemgold, fixes #19177.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 20:42:20 +00:00
nacin d53dd0c990 Correct TinyMCE anchor (as in <a name>) image. props jakemgold, fixes #18419.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 20:14:13 +00:00
nacin 8a96d9e6d0 Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 18:33:16 +00:00
nacin 524284fd6b Allow 8212/8211 (em dash and en dash) to be translated in wptexturize(). props SergeyBiryukov, fixes #15556.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 18:31:54 +00:00
azaozz 8284ef87fb Fix lag when opening help tab if screen options was opened before, fixes #19172
git-svn-id: http://svn.automattic.com/wordpress/trunk@19186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 18:18:45 +00:00
duck_ f2df6bb98a 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: http://svn.automattic.com/wordpress/trunk@19184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 12:21:12 +00:00
nacin f9b1519cfa Remove commented out code. props ocean90, fixes #19126.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 21:19:12 +00:00
nacin 56d46a1fe1 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: http://svn.automattic.com/wordpress/trunk@19182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 20:23:55 +00:00
azaozz bcd3030d0e Fix js error on mousedown in the editor, props joehoyle, fixes #19165
git-svn-id: http://svn.automattic.com/wordpress/trunk@19180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 19:49:42 +00:00
azaozz 120e6563df Update the spellchecker plugin for TinyMCE to 2.0.6, fixes #19105
git-svn-id: http://svn.automattic.com/wordpress/trunk@19178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 18:32:47 +00:00
azaozz dc4c0b7968 Phpdoc fix for quicktags.js, see #19098
git-svn-id: http://svn.automattic.com/wordpress/trunk@19173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 16:26:00 +00:00
azaozz 081076f2e9 Improve handling of init and adding buttons to Quicktags, fixes #19098
git-svn-id: http://svn.automattic.com/wordpress/trunk@19172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 16:00:38 +00:00
nacin 68c443e9ee Remove dead code. empty() will catch anything that equals false.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 13:35:48 +00:00
nacin 18782d3c8c Give selectors their own lines. see #19126.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 05:15:17 +00:00
nacin 630fb847ad 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: http://svn.automattic.com/wordpress/trunk@19168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 05:13:18 +00:00
nacin ef7ee3d99c Copy Twenty Eleven's search icon to core for the admin bar. props SergeyBiryukov. fixes #19138.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 04:49:05 +00:00
nacin f6eebabb9b Link 'W' to about.php. see #18795.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 03:35:20 +00:00
nacin c2afd4bac8 jQuery 1.7.
props ocean90, fixes #19144.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 03:25:14 +00:00
koopersmith 854684b63b Blue theme styles for welcome panel and about pages. see #11651, 18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 02:06:56 +00:00
koopersmith eec22244dc Second half of new welcome panel formatting. Add .icon16, for menu icon reuse. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 01:17:50 +00:00
azaozz 94ef5dd13f Support for "tabbing" through the admin bar and admin menu, fixes #19088
git-svn-id: http://svn.automattic.com/wordpress/trunk@19162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 01:13:18 +00:00
duck_ 27b7255c6c Don't override .shortlink-input left/right padding of 1em with CSS shorthand later on. Fixes #19147.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 20:45:15 +00:00
azaozz 057ceb34de 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: http://svn.automattic.com/wordpress/trunk@19160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 19:46:43 +00:00
azaozz 339fe6065d Do the ToDo in wp_admin_bar_search_menu(), props ocean90, fixes #19152
git-svn-id: http://svn.automattic.com/wordpress/trunk@19159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 18:11:33 +00:00
ryan e4ae15aefe If an empty menu ID is passed, derive it from the title and issue a _doing_it_wrong() notice. see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 17:41:38 +00:00
azaozz 56e8457205 Fix the global :before/:after selectors for Opera, props SergeyBiryukov, see #19137
git-svn-id: http://svn.automattic.com/wordpress/trunk@19157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 17:35:00 +00:00
azaozz 2f5eff99f4 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: http://svn.automattic.com/wordpress/trunk@19156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 15:55:00 +00:00
duck_ 375689175a 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: http://svn.automattic.com/wordpress/trunk@19153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 14:47:37 +00:00
azaozz 20af945d78 Remove drop-down arrows from admin bar, props SergeyBiryukov, fixes #19086
git-svn-id: http://svn.automattic.com/wordpress/trunk@19152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 14:36:50 +00:00
duck_ 8eaace17cf Update wp_admin_bar_appearance_menu docs to reflect changes made by r18683 and r19006. See #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 13:52:42 +00:00
azaozz 9e6883bb8f Remove unused .toggle-arrow styling, props SergeyBiryukov, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 12:22:46 +00:00
nacin 75ec2f756d RTL for credits. props SergeyBiryukov, see #19143.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 04:35:06 +00:00
koopersmith 51741405a0 First half of new welcome panel formatting. props chexee. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 01:31:31 +00:00
koopersmith 011ade3db6 Formatting and CSS for credits and freedoms pages. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 00:37:56 +00:00
duck_ 4516c37a11 Fix double border on right side of contextual help when no help sidebar exists. See #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-04 00:07:57 +00:00