Commit Graph

9005 Commits

Author SHA1 Message Date
ryan 6bbc8d4ce4 Avoid notice when themes dir is empty or missing. Don't reset current theme in current_theme_info() if there are no themes. Show warning in Right Now if there are no themes. Props azaozz. fixes #19089
git-svn-id: http://svn.automattic.com/wordpress/trunk@19251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 14:10:54 +00:00
nacin 58cdff8ce9 Style updates to translators list on Credits page. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 23:16:21 +00:00
koopersmith 5299994ce5 Add general top-level class to the secondary admin menu. Fixes hover styling and tabbing JS. fixes #19220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 20:46:29 +00:00
azaozz 6074eda69d Uploader: fix progress bar JS and update the style (light blue bars), see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 20:33:26 +00:00
nacin 22cf9f0fe4 New WordPress badge for welcome panel and about screens. props chexee, ocean90. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 19:05:01 +00:00
nacin f88cdc0668 Pass remaining start_el() arguments to page_css_class. props TheDeadMedic, fixes #17727.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 18:35:25 +00:00
azaozz 5869b4d388 More phpdoc for wp_editor(), see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@19239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 17:46:23 +00:00
nacin c3fb2795b0 Promote secondary admin bar items to primary if there are no primary items at time of render. see #19136, #19221.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 00:42:39 +00:00
nacin 019fa9e1e7 Show sites in the 'My Sites' menu as secondary items only when the user is a super admin and therefore has a primary menu item (Network Admin). props wpmuguru, fixes #19221.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 00:41:45 +00:00
dd32 5a026c389b Fix typo in [19231]. See #17579
git-svn-id: http://svn.automattic.com/wordpress/trunk@19234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 22:13:35 +00:00
nacin 04c38f3313 Check post type and bail earlier in wp_get_attachment_url(). props mitchoyoshitaka, fixes #17579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 19:20:33 +00:00
koopersmith 4de1815c67 Add secondary flag to admin bar. fixes #19136.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 19:12:48 +00:00
azaozz afe9b90b3d Fix styling in the MCE help popup, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 14:38:37 +00:00
azaozz 331b242bcd Revert [19223] and only stop showing the checkbox, props nacin, see #19174
git-svn-id: http://svn.automattic.com/wordpress/trunk@19225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:34:09 +00:00
ryan 3bac0bba44 beta3 bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@19224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:26:49 +00:00
azaozz 623220187a Remove the Resize files checkbox for now (revisit in 3.4), fixes #19174
git-svn-id: http://svn.automattic.com/wordpress/trunk@19223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 22:23:40 +00:00
koopersmith b297f9061c Make top level admin menu items show an arrow when selected. fixes #19209.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 21:32:03 +00:00
koopersmith bd80a28a82 Remove Helvetica Neue from the admin bar font stack. see #19145.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 21:12:22 +00:00
azaozz 57340c009e Fix admin bar background gradients, props ocean90, fixes #19163
git-svn-id: http://svn.automattic.com/wordpress/trunk@19220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 20:13:41 +00:00
azaozz ee227a7e48 Fix inline/block switching for the Categories postbox tabs, props linuxologos, fixes #19129
git-svn-id: http://svn.automattic.com/wordpress/trunk@19219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 18:24:55 +00:00
azaozz dc77e4c86a Phpdoc fix for wp_add_script_before(), see #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@19218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 18:15:56 +00:00
azaozz 10859e2b8f Ressurect WP_Scripts::localize() and fix public function names, fixes #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@19217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 18:05:59 +00:00
nacin 964b620f7b Remove unused variable. props kawauso, see #18364.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 17:53:52 +00:00
azaozz 25f7c9a446 Bring back the Fullscreen button in Quicktags, fixes #19194
git-svn-id: http://svn.automattic.com/wordpress/trunk@19215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 16:53:31 +00:00
ryan a893bf5cfc Admin bar validation fix. Props usermrpapa. fixes #19180
git-svn-id: http://svn.automattic.com/wordpress/trunk@19214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 15:55:58 +00:00
nacin eea7874845 Simplify logic in wp_get_attachment_link(). see #18491.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-08 14:22:42 +00:00
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
nacin 17c3514a7f 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: http://svn.automattic.com/wordpress/trunk@19139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:41:45 +00:00
nacin 4454d5e50c 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: http://svn.automattic.com/wordpress/trunk@19137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:30:55 +00:00
nacin 04915a9b07 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: http://svn.automattic.com/wordpress/trunk@19133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 23:08:24 +00:00
azaozz f73e6b3228 Revert placement of Help and Screen Options to under the admin bar on the right, see #18197, see #18785
git-svn-id: http://svn.automattic.com/wordpress/trunk@19130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 17:08:12 +00:00
ryan eb835e1901 Update the blog date whenever a pubic post type is published or changed after being published. fixes #18624
git-svn-id: http://svn.automattic.com/wordpress/trunk@19129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 17:06:45 +00:00
nacin 800261121a 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: http://svn.automattic.com/wordpress/trunk@19128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 04:53:00 +00:00
azaozz 84a23bfd81 Remove the Cancel Upload button, fixes #19050
git-svn-id: http://svn.automattic.com/wordpress/trunk@19127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 01:47:12 +00:00
azaozz 1fcdc41bdb Output editor-buttons.css earlier so the browser renders the editor in time, fixes #18820
git-svn-id: http://svn.automattic.com/wordpress/trunk@19126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-03 01:31:27 +00:00
nacin b2560a3025 Add a few characters to remove_accents(). props SergeyBiryukov. props ampt for [UT471]. fixes #9591.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 23:08:05 +00:00
koopersmith eac1a7b369 Improve admin bar internal representation. Simpler signatures, with backwards compatibility. Add items without requiring parents to be added first. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 20:34:54 +00:00
duck_ aeb49fb7be 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: http://svn.automattic.com/wordpress/trunk@19117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 17:06:34 +00:00
azaozz ee93344f32 More css cleanup, fix styles in the Edit Image popup then the editor is on the front end see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 15:24:56 +00:00
ryan fe035ab2c8 Fix live update of comment bubble. Drop text to avoid translation difficulties. Props SergeyBiryukov. fixes #18809
git-svn-id: http://svn.automattic.com/wordpress/trunk@19105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 20:42:40 +00:00
ryan 58eee18833 Network admin snack menu. see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 20:19:33 +00:00
markjaquith 85e67b81cb Use %s, not %d, for comment numbers in admin bar sprintf(). fixes #19104
git-svn-id: http://svn.automattic.com/wordpress/trunk@19103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 20:12:42 +00:00
ryan e7dde2bc7f Mark links to wordpress.org resources for translation. Props SergeyBiryukov. see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 19:46:41 +00:00
azaozz a2e4511e5f Fix uploader "file size exceeded" error message, fix displaying uploaded queue errors, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-01 11:56:20 +00:00
azaozz b63ffa3f38 Disable the Cancel Upload button after the upload has finished or if it was interrupted, fixes #19050
git-svn-id: http://svn.automattic.com/wordpress/trunk@19099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 21:38:28 +00:00
ryan 07cf882213 Escape href in feed_links_extra(). Props solarissmoke. fixes #17408
git-svn-id: http://svn.automattic.com/wordpress/trunk@19096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 20:22:35 +00:00
ryan 28b1b4763d Avoid E_STRICT notices. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 19:38:46 +00:00
azaozz efc7ca76d7 Fix menu folding on new installs, props SergeyBiryukov, fixes #18091
git-svn-id: http://svn.automattic.com/wordpress/trunk@19091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 21:56:27 +00:00
azaozz 5c5e45abda Fix editor menu drop-downs in RTL, fixes #17798
git-svn-id: http://svn.automattic.com/wordpress/trunk@19088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-29 02:28:49 +00:00
nacin 2099147d4c Fix QuickTags typos. props trepmal, fixes #19082.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 23:29:53 +00:00
azaozz 55fdf0eaaf Fix help tabs in RTL, props rosshanney, fixes #19024
git-svn-id: http://svn.automattic.com/wordpress/trunk@19083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 23:05:58 +00:00
nacin 91a448be74 Use esc_attr() consistently in wp_dropdown_pages().
git-svn-id: http://svn.automattic.com/wordpress/trunk@19081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 22:40:09 +00:00
azaozz eeec5eeda1 RTL fixes for 3.3, props yoavf SergeyBiryukov rosshanney, see #19042 fixes #18000, fixes #17988, fixes #19006
git-svn-id: http://svn.automattic.com/wordpress/trunk@19080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 22:14:59 +00:00
duck_ 8f0acb2058 Ensure auto-embed only matches "smugmug.com" and its subdomains. Fixes #19076.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 20:05:43 +00:00
ryan 94dfc448b0 Compute in_search_post_types only when needed. Props mitchoyoshitaka. fixes #18364
git-svn-id: http://svn.automattic.com/wordpress/trunk@19078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 20:03:26 +00:00
ryan 39dc973965 Avoid undefined index notices. Props SergeyBiryukov, valendesigns. fixes #18455
git-svn-id: http://svn.automattic.com/wordpress/trunk@19077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 19:52:14 +00:00
duck_ c3bcc9800e Fix polldaddy oEmbed regular expression to work with new style URLs. Props r-a-y, azaozz. Fixes #17106.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 19:42:57 +00:00
ryan c3c6a3721f Fix notices and logic errors in get_page_by_path(). Props duck_. see #17670
git-svn-id: http://svn.automattic.com/wordpress/trunk@19075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 19:32:19 +00:00
ryan 31e3ff3fb1 Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 15:48:44 +00:00
ryan e261ac43e7 Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-27 20:00:09 +00:00
ryan d8892db612 Cast author IDs to strings. Props yoavf. fixes #18869
git-svn-id: http://svn.automattic.com/wordpress/trunk@19071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-27 18:36:49 +00:00
duck_ abd0c8c231 Correctly document $stripteaser as a boolean flag. Props GaryJ, fixes #18886.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-26 10:15:29 +00:00
duck_ 7ba5b2f7a3 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: http://svn.automattic.com/wordpress/trunk@19068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-26 08:47:16 +00:00
nacin 673a69be75 Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 16:32:27 +00:00
nacin 28e10d8f2b Remove duplicate word in docs. props SergeyBiryukov, fixes #18986.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 16:07:14 +00:00
nacin 66125a116f Introduce upgrade_330() to clear usermeta keys show_admin_bar_admin and plugins_last_view. fixes #18811.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 05:48:09 +00:00
nacin 6f9612f45c Introduce ->mysql to allow drop-ins to declare themselves as MySQL and therefore allow minimum version checks to still apply. fixes #18176.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 05:29:28 +00:00
nacin 935a533eb6 Check get_site_option(WPLANG) when WP_INSTALLING in mulitiste, just not the blog's option. fixes #18783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 05:09:03 +00:00
nacin d7e24531ef bump bump bump it up
git-svn-id: http://svn.automattic.com/wordpress/trunk@19055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 19:33:47 +00:00
ryan 62afab8db3 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-24 19:13:23 +00:00
nacin ad0e83c165 Adjust the height of the help columns on 'Help' tab open. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 17:55:24 +00:00
nacin ffcb6aba46 In _doing_it_wrong(), don't append the Debugging_in_WordPress message until we go to print a message. Send a clean message to the action. see #18453.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-23 17:51:14 +00:00
westi 53d8de7408 Don't show the Freedoms or Credits menu items to logged out users.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-22 10:56:04 +00:00
ryan 7a3fc7d36c Don't use unbounded SHOW TABLES in is_blog_installed(). Do a more targeted DESCRIBE loop over the blog table list. fixes #19026
git-svn-id: http://svn.automattic.com/wordpress/trunk@19039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-21 22:16:33 +00:00
nacin 975c670f15 Update the update_count_callback docs. see #18986.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-21 21:50:36 +00:00
nacin 38921762a3 No need to specify an update_count_callback for categories or tags, as the default handler for them will now be _update_post_term_count(). see #18986, [19035].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-21 21:46:03 +00:00
nacin 463bfd9fe5 Separate non-post term counting from _update_post_term_count(). Introduce _update_generic_term_count(). The generic handler will be the default whenever the taxonomy is attached to an object type other than a post type (link, user). Otherwise the _update_post_term_count() handler will be the default. fixes #18986. see #17548.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-21 21:38:14 +00:00
nacin 00a31d6d19 Correct docs for get_post_field(). props JustinSainton, fixes #19025.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-21 17:13:26 +00:00
nacin 50997f28b1 Use esc_url() rather than esc_attr() on a redirect-to URL. fixes #17243.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 23:41:07 +00:00
nacin dbfc8a855c Fix the current page default redirect in wp_login_form(). props kawauso, see #17243.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 23:40:09 +00:00
ryan 791b424c31 Typo fix. Props SergeyBiryukov. see #18986
git-svn-id: http://svn.automattic.com/wordpress/trunk@19031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 21:41:54 +00:00
duck_ 424cd58652 Correct @param text ordering to put "Optional." in description, see r19019 and #18958. Also remove empty docblock tag.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 15:53:57 +00:00
nacin eb24f35c22 Pass $post_id arg directly to get_post_thumbnail_id() from has_post_thumbnail(). The null/get_the_ID() check is already performed at that level of the stack. see #19012.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 15:11:49 +00:00
nacin 43eae59235 Translated strings in attributes require esc_attr(). s/_e/esc_attr_e/g
git-svn-id: http://svn.automattic.com/wordpress/trunk@19028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 15:04:46 +00:00
nacin 92ba22e537 Use wp_lostpassword_url() instead of site_url(wp-login...). Update wp_lostpassword_url() to use network_site_url(). props markoheijnen, fixes #18808.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 14:40:11 +00:00
nacin f70954c422 Remove code commented out in [19006]. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 14:33:18 +00:00
ryan 5bfc91f5ee Fix term counting for links. Props SergeyBiryukov. fixes #18986
git-svn-id: http://svn.automattic.com/wordpress/trunk@19025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 14:28:26 +00:00
ryan 759475df38 beta2 bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@19023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 02:22:02 +00:00
nacin 0f1b959ae5 Check for plugin/theme updates every hour when hitting update-core.php, not just themes.php/plugins.php. see #18876.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 00:23:35 +00:00
nacin 6a4ddffe0f Attach update hooks in the network admin. Accounts for the rare situation where the network admin is not the main site. props johnbillion, see #18876.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 00:15:21 +00:00
nacin f11bc146f7 Use correct capture group in IIS7 multisite subdirectory rewrite rules. props carlospaulino, eduplessis, ruslany. fixes #17708.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 22:57:37 +00:00
nacin 239e36bc0a We know that pagename is being assigned to $matches-something, so skip the variable variable. props duck_. see #18991.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 22:49:45 +00:00
ryan b957c72f9a Turn is_blog_user() into a wrapper around is_user_member_of_blog() and deprecate. Make user_id optional for is_user_member_of_blog(). Props SergeyBiryukov. fixes #16702
git-svn-id: http://svn.automattic.com/wordpress/trunk@19016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 22:35:15 +00:00
nacin 11a800a3d9 Move welcome panel link to a 'Show on screen' checkbox. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 21:43:21 +00:00
duck_ 148a9e8039 Don't cache default value in get_site_option() for non-existent options. Fixes #18955.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 21:06:50 +00:00
azaozz 9329ce844e RTL CSS tweaks, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 16:58:46 +00:00
koopersmith 1391717cfa Welcome panel contents and functionality. see #11651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 16:41:26 +00:00
azaozz ca0acb7a05 Bring the Appearance sub-menus on the front end one level up, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@19006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 16:32:26 +00:00
nacin a0606b3c93 is_blog_user() is from MU. see #16702.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 15:56:05 +00:00
ryan 9d8e281a80 Turn is_blog_user() into a convenience wrapper around get_blogs_of_user(). Fixes is_blog_user() for blog prefixes that do not contain a blog ID. Props SergeyBiryukov. fixes #16702
git-svn-id: http://svn.automattic.com/wordpress/trunk@19004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 15:53:14 +00:00
azaozz 6d3c45d333 Few more RTL fixes, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 06:42:41 +00:00