Commit Graph

18629 Commits

Author SHA1 Message Date
azaozz 83330267af Prevent errors in QTags.closeAllTags(), make it remove button states but not modify the content (as that often is wrong anyways), fixes #15911
git-svn-id: http://svn.automattic.com/wordpress/trunk@19290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 01:15:10 +00:00
nacin dc3a8f44fd Use get_template_directory() for include paths in Twenty Eleven, rather than FILE magic constant. Won't go stale when twentyeleven_setup() is overridden. props TomAuger, fixes #18985.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 00:37:50 +00:00
nacin e39245936f Remove reference to get_last_error(), it doesn't exist. props mitchoyoshitaka, fixes #19002.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 00:18:41 +00:00
nacin e78ef2fc43 Check is_array() against get_themes() in get_theme(). props cgrymala, see #19244.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 23:56:18 +00:00
azaozz 8f4fd39550 Add big-file-upload-warning for IE and Opera, left-align the percentage in the progress bar, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 23:21:16 +00:00
nacin 0f3e2f79bd Show 'Profile updated' for profile.php. props johnbillion, fixes #19053.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 22:09:15 +00:00
nacin 30ff37104d Don't use $user_identity global. props duck_. fixes #19146.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 21:35:44 +00:00
duck_ d17f4409c3 Don't pass $post_type as get_page()'s $filter argument. Copy-and-paste error. Removal improves get_page_by_path() performance dramatically by stopping sanitize_post() being called. Fixes #19175.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 21:32:56 +00:00
nacin 9c24e72550 Use hellip instead of poor man's elipsis in pagination links. props georgestephanis, fixes #19182.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 21:24:49 +00:00
nacin 065e4cba61 Use wp_login_url() where possible in wp-login.php. props ramiy for initial patch. Escape with a tin foil hat. fixes #19199.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 21:08:33 +00:00
duck_ e82f153205 Use correct variable. We preg_match() against $request_match, so that's what should be checked with empty() too. Fixes #17177.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 21:05:13 +00:00
koopersmith f04a3d38e8 Fix folded flyout overlaps for current items. props trepmal. fixes #19119.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 21:03:14 +00:00
nacin 8fd2bc97a6 ALIGN ALL THE THINGS. fixes #19242.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 20:40:31 +00:00
koopersmith 699b72940f Fix off-by-one pixel error in folded admin menus. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 20:10:14 +00:00
nacin 491bb91dd1 Fix admin bar profile dropdown display when avatars are disabled. props deltafactory for initial patch. fixes #18899.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 20:04:59 +00:00
azaozz e09e8f465c Filter the link href when inserting external image in the editor, props DrewAPicture, fixes #18445
git-svn-id: http://svn.automattic.com/wordpress/trunk@19275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 19:35:32 +00:00
koopersmith 4691284eb1 Update pointer arrow sprite. props georgestephanis. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 19:22:44 +00:00
ryan bcc6275b3a Link show_option_all in wp_list_categories() to the posts page if one is set. Props solarissmoke. fixes #18610
git-svn-id: http://svn.automattic.com/wordpress/trunk@19273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 17:24:14 +00:00
ryan 0ec7ae44ca Fix edit.php row action redirects when referrers are not sent. Return false from wp_get_referer() when no referrer found. Props mitchoyoshitaka. fixes #17628
git-svn-id: http://svn.automattic.com/wordpress/trunk@19272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 16:59:45 +00:00
koopersmith 6566ac849d Add pointer images for [19269]. props georgestephanis, chexee. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 11:07:34 +00:00
koopersmith 9057e02e72 More admin bar markup improvements. Make primary and secondary submenu groups siblings (and prevent ul nesting issues). see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 11:05:37 +00:00
koopersmith 8740d2c65d New pointer styles. Arrows are currently optimized to point upward. props georgestephanis, chexee. see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 10:30:14 +00:00
azaozz a491abfbb2 Media Lib: fix displaying file headers in IE7, delegate the Show/Hide JS, prevent displaying upload error for the same file twice, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-13 18:37:30 +00:00
ryan 23d963c967 Use correct var. Props ocean90. fixes #18176
git-svn-id: http://svn.automattic.com/wordpress/trunk@19267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-13 15:20:25 +00:00
azaozz 7123026a3b Add error message when a big file fails to upload, expose the XHR request in plipload and abort() it, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-13 02:01:13 +00:00
duck_ 06c5ce2278 Default arguments for is_user_member_of_blog() can now be used. See #19122, #19160.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-12 20:52:56 +00:00
azaozz ac807f00fb Thickbox: do .triggerHandler() instead of .trigger(), props duck_, fixes #19189
git-svn-id: http://svn.automattic.com/wordpress/trunk@19264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-12 06:48:04 +00:00
azaozz cc2232068a Standardize title strings for editor buttons, props pavelevap SergeyBiryukov, fixes #18125
git-svn-id: http://svn.automattic.com/wordpress/trunk@19263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-12 06:15:15 +00:00
azaozz 9961962861 Uploader: fix file-size-exceeded error handling, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@19262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-12 00:52:26 +00:00
koopersmith f099d03f84 Improve admin bar markup. Un-nest top level secondary menu. Remove unnecessary span. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-12 00:26:55 +00:00
nacin 64ab05ab09 Normal sentence case. see #19228.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 20:32:20 +00:00
ryan c4d9f38dce Fix message concatentation. Remove no longer used 'posted' message. fixes #16380
git-svn-id: http://svn.automattic.com/wordpress/trunk@19259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 20:01:56 +00:00
azaozz ca9e43f1c4 Send the 'wp-remove-post-lock' XHR only when the main window is unloaded (unloading the Thickbox iframe triggers it too), see #18515
git-svn-id: http://svn.automattic.com/wordpress/trunk@19258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 19:52:12 +00:00
azaozz a37b440bac Bring back the multi-file/html uploader switching, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 19:40:23 +00:00
ryan 61fca35691 Don't show 'Use as featured image' in the image insert dialog if the post type does not support thumbnails. Props SergeyBiryukov. fixes #18669
git-svn-id: http://svn.automattic.com/wordpress/trunk@19256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 19:38:34 +00:00
ryan 04831b81ec Used numbered format specifiers. Add translator note. Props SergeyBiryukov. fixes #19090
git-svn-id: http://svn.automattic.com/wordpress/trunk@19255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 18:37:04 +00:00
nacin 366565f196 .pmuB
git-svn-id: http://svn.automattic.com/wordpress/trunk@19254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 17:06:31 +00:00
ryan 73432f9c5a Use taxnow to determine the taxonomy for GET and POST requests in edit-tags.php. Props nacin. fixes #19131
git-svn-id: http://svn.automattic.com/wordpress/trunk@19253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 15:44:16 +00:00
ryan 4c837e9522 Check caps when showing media edit and attach links. Clean up formatting. Props kurtpayne, DH-Shredder, solarissmoke. fixes #17419
git-svn-id: http://svn.automattic.com/wordpress/trunk@19252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-11 15:04:54 +00:00
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
ryan ba9bd2e208 Properly handle child themes for WP_DEFAULT_THEME. Props SergeyBiryukov. fixes #18591
git-svn-id: http://svn.automattic.com/wordpress/trunk@19249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 21:06:57 +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
ryan 872428d60d More specific error strings for failed theme and plugin package uploads. Props dd32. fixes #14999
git-svn-id: http://svn.automattic.com/wordpress/trunk@19246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 19:41:44 +00:00
potbot 72b02a429c POT, generated from r19244
git-svn-id: http://svn.automattic.com/wordpress/trunk@19245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 19:29:33 +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
potbot 3c0ea09535 POT, generated from r19242
git-svn-id: http://svn.automattic.com/wordpress/trunk@19243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 18:47:54 +00:00
nacin a285efe6e3 Make twentyeleven_content_nav() pluggable. props adeptris, SergeyBiryukov. fixes #18585.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 18:41:05 +00:00
ryan 132097032e Make date formats for transation. Props SergeyBiryukov, settle. fixes #16441
git-svn-id: http://svn.automattic.com/wordpress/trunk@19241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 18:37:20 +00:00