Commit Graph

17545 Commits

Author SHA1 Message Date
Andrew Ozz a77387cac7 Make the Save All Changes initially hidden on Media -> Add New screen, improve the progress bar "progress" to 1px ticks, see #19190
git-svn-id: https://develop.svn.wordpress.org/trunk@19306 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 21:22:27 +00:00
Andrew Nacin 88b1b11435 Only enforce content/title/excerpt requirement in wp_insert_post() if the post type supports all three. Add a filter to allow this to be modified. fixes #18713.
git-svn-id: https://develop.svn.wordpress.org/trunk@19305 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 21:19:29 +00:00
Ryan Boren 80ee709653 Introduce wp_no_robots(). Call it for pages that should never be indexed, regardless of blog privacy settings. Props nacin. fixes #19251
git-svn-id: https://develop.svn.wordpress.org/trunk@19304 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 20:44:48 +00:00
Andrew Nacin 11fb1f6b78 Properly adjust margins for ordered lists in RTL in Twenty Eleven. props wpweaver. fixes #19072.
git-svn-id: https://develop.svn.wordpress.org/trunk@19303 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 20:20:43 +00:00
Andrew Nacin e327ae9f74 Higher z-index for #branding in Twenty Eleven. props matveb. fixes #18938.
git-svn-id: https://develop.svn.wordpress.org/trunk@19302 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 20:18:22 +00:00
Andrew Nacin 2283d108e5 Highlight current-menu-item and current-menu-ancestor in Twenty Eleven. props Viper007Bond, fixes #18643.
git-svn-id: https://develop.svn.wordpress.org/trunk@19301 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 20:16:56 +00:00
Andrew Nacin 0f56c7a48e overflow:auto for pre tags in Twenty Ten. props SergeyBiryukov, fixes #16317.
git-svn-id: https://develop.svn.wordpress.org/trunk@19300 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 20:15:05 +00:00
Andrew Ozz 1ccfd1739c Workaround for WebKit bug when previewing posts, props SergeyBiryukov, fixes #18341
git-svn-id: https://develop.svn.wordpress.org/trunk@19299 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 18:48:55 +00:00
Jon Cave e4ed02d6ae Allow "Approve and Reply" background-color animation to complete on the Dashboard. Props ocean90. Fixes #18349.
git-svn-id: https://develop.svn.wordpress.org/trunk@19298 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 17:57:53 +00:00
Andrew Ozz 0b8d97f135 Fix styling for the installation screens, props chexee, fixes #18576
git-svn-id: https://develop.svn.wordpress.org/trunk@19297 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 15:47:07 +00:00
Ryan Boren 29a5a0e192 Don't show edit links for spam comments. Props DH-Shredder. fixes #18340
git-svn-id: https://develop.svn.wordpress.org/trunk@19296 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 14:02:42 +00:00
Andrew Nacin 2375c19f56 Use REQUEST rather than GET to check the current post status page in _post_states(). Addresses a Quick Edit display issue. fixes #18611.
git-svn-id: https://develop.svn.wordpress.org/trunk@19295 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 03:51:28 +00:00
Andrew Ozz f2a254db28 Add some more padding to the Dismiss link in the uploader notices, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19294 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 02:48:21 +00:00
Andrew Nacin 208bc57e76 Pass 'id' on network/site-themes in the case of disabled referers. props Viper007Bond, fixes #18936.
git-svn-id: https://develop.svn.wordpress.org/trunk@19293 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 02:24:30 +00:00
Andrew Nacin 74d1d7012f Better fluid/responsive image styles in Twenty Eleven. props iandstewart, lancewillett, fixes #18940.
git-svn-id: https://develop.svn.wordpress.org/trunk@19292 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 02:20:44 +00:00
Andrew Nacin 2ad89eb3ce Make sure embeds and iframes fit their containers in Twenty Eleven. props matveb, fixes #18941.
git-svn-id: https://develop.svn.wordpress.org/trunk@19291 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 02:16:58 +00:00
Andrew Ozz 5ca57a6fac 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: https://develop.svn.wordpress.org/trunk@19290 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 01:15:10 +00:00
Andrew Nacin c71fea0654 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: https://develop.svn.wordpress.org/trunk@19289 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 00:37:50 +00:00
Andrew Nacin e624bef124 Remove reference to get_last_error(), it doesn't exist. props mitchoyoshitaka, fixes #19002.
git-svn-id: https://develop.svn.wordpress.org/trunk@19288 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 00:18:41 +00:00
Andrew Nacin f4659c7f76 Check is_array() against get_themes() in get_theme(). props cgrymala, see #19244.
git-svn-id: https://develop.svn.wordpress.org/trunk@19287 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 23:56:18 +00:00
Andrew Ozz 3d33362b52 Add big-file-upload-warning for IE and Opera, left-align the percentage in the progress bar, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19286 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 23:21:16 +00:00
Andrew Nacin a4f3850205 Show 'Profile updated' for profile.php. props johnbillion, fixes #19053.
git-svn-id: https://develop.svn.wordpress.org/trunk@19285 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 22:09:15 +00:00
Andrew Nacin c107d9ffed Don't use $user_identity global. props duck_. fixes #19146.
git-svn-id: https://develop.svn.wordpress.org/trunk@19284 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 21:35:44 +00:00
Jon Cave 9c824b6687 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: https://develop.svn.wordpress.org/trunk@19283 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 21:32:56 +00:00
Andrew Nacin 668a850007 Use hellip instead of poor man's elipsis in pagination links. props georgestephanis, fixes #19182.
git-svn-id: https://develop.svn.wordpress.org/trunk@19282 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 21:24:49 +00:00
Andrew Nacin 4ccbc50051 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: https://develop.svn.wordpress.org/trunk@19281 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 21:08:33 +00:00
Jon Cave 95b591c1f7 Use correct variable. We preg_match() against $request_match, so that's what should be checked with empty() too. Fixes #17177.
git-svn-id: https://develop.svn.wordpress.org/trunk@19280 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 21:05:13 +00:00
Daryl Koopersmith 65f2e58900 Fix folded flyout overlaps for current items. props trepmal. fixes #19119.
git-svn-id: https://develop.svn.wordpress.org/trunk@19279 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 21:03:14 +00:00
Andrew Nacin b52ab851ec ALIGN ALL THE THINGS. fixes #19242.
git-svn-id: https://develop.svn.wordpress.org/trunk@19278 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 20:40:31 +00:00
Daryl Koopersmith 36e585dc7a Fix off-by-one pixel error in folded admin menus. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@19277 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 20:10:14 +00:00
Andrew Nacin f7bc9fb12e Fix admin bar profile dropdown display when avatars are disabled. props deltafactory for initial patch. fixes #18899.
git-svn-id: https://develop.svn.wordpress.org/trunk@19276 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 20:04:59 +00:00
Andrew Ozz 9cc4fac7fa Filter the link href when inserting external image in the editor, props DrewAPicture, fixes #18445
git-svn-id: https://develop.svn.wordpress.org/trunk@19275 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 19:35:32 +00:00
Daryl Koopersmith 1cbf9eb415 Update pointer arrow sprite. props georgestephanis. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19274 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 19:22:44 +00:00
Ryan Boren 2fae1d05ee Link show_option_all in wp_list_categories() to the posts page if one is set. Props solarissmoke. fixes #18610
git-svn-id: https://develop.svn.wordpress.org/trunk@19273 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 17:24:14 +00:00
Ryan Boren 9356ce2a74 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: https://develop.svn.wordpress.org/trunk@19272 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 16:59:45 +00:00
Daryl Koopersmith d8d2089970 Add pointer images for [19269]. props georgestephanis, chexee. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19271 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 11:07:34 +00:00
Daryl Koopersmith 0ebb52f9a3 More admin bar markup improvements. Make primary and secondary submenu groups siblings (and prevent ul nesting issues). see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19270 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 11:05:37 +00:00
Daryl Koopersmith 4bc2fdb619 New pointer styles. Arrows are currently optimized to point upward. props georgestephanis, chexee. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19269 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 10:30:14 +00:00
Andrew Ozz 82f5175bf7 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: https://develop.svn.wordpress.org/trunk@19268 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-13 18:37:30 +00:00
Ryan Boren 318e44ecd2 Use correct var. Props ocean90. fixes #18176
git-svn-id: https://develop.svn.wordpress.org/trunk@19267 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-13 15:20:25 +00:00
Andrew Ozz 3e06696012 Add error message when a big file fails to upload, expose the XHR request in plipload and abort() it, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19266 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-13 02:01:13 +00:00
Jon Cave 9bcb0fcc08 Default arguments for is_user_member_of_blog() can now be used. See #19122, #19160.
git-svn-id: https://develop.svn.wordpress.org/trunk@19265 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 20:52:56 +00:00
Andrew Ozz 38ddbaca4e Thickbox: do .triggerHandler() instead of .trigger(), props duck_, fixes #19189
git-svn-id: https://develop.svn.wordpress.org/trunk@19264 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 06:48:04 +00:00
Andrew Ozz bd7f04548b Standardize title strings for editor buttons, props pavelevap SergeyBiryukov, fixes #18125
git-svn-id: https://develop.svn.wordpress.org/trunk@19263 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 06:15:15 +00:00
Andrew Ozz 0620dbb5eb Uploader: fix file-size-exceeded error handling, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@19262 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 00:52:26 +00:00
Daryl Koopersmith 161ee6a46d Improve admin bar markup. Un-nest top level secondary menu. Remove unnecessary span. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19261 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 00:26:55 +00:00
Andrew Nacin 12cd7fe5ef Normal sentence case. see #19228.
git-svn-id: https://develop.svn.wordpress.org/trunk@19260 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 20:32:20 +00:00
Ryan Boren 46f69c809a Fix message concatentation. Remove no longer used 'posted' message. fixes #16380
git-svn-id: https://develop.svn.wordpress.org/trunk@19259 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 20:01:56 +00:00
Andrew Ozz 93e5c50ad8 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: https://develop.svn.wordpress.org/trunk@19258 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 19:52:12 +00:00
Andrew Ozz 7334506df0 Bring back the multi-file/html uploader switching, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19257 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 19:40:23 +00:00