Commit Graph

17710 Commits

Author SHA1 Message Date
Ryan Boren f626327800 Don't fallback to default post type or taxonomy if given an invalid post type or taxonomy. Use typenow as the canonical post type. Props nacin. see #19131
git-svn-id: https://develop.svn.wordpress.org/trunk@19321 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 18:01:08 +00:00
Daryl Koopersmith 914a945108 Add reset CSS (clear) to the admin bar. props scribu. fixes #19260, see #18179.
git-svn-id: https://develop.svn.wordpress.org/trunk@19320 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 16:55:44 +00:00
Andrew Ozz 70ad3cf297 mode == 'tmce' || mode == 'tinymce', see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@19319 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 15:50:01 +00:00
Jon Cave 38d61c55ed Thickbox cache busting. Fixes #19240.
git-svn-id: https://develop.svn.wordpress.org/trunk@19318 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 12:36:51 +00:00
Andrew Nacin 9eef9937ee Remove extra space. props danielbachhuber.
git-svn-id: https://develop.svn.wordpress.org/trunk@19317 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 04:41:51 +00:00
Andrew Ozz 5c6cebe6a4 Make switchEditors.go() fully back-compat, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@19316 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 02:44:28 +00:00
Ryan Boren f9d3ff78c0 Revert [18665]. Causes fatal double include in themes that call get_header() twice. see #18331
git-svn-id: https://develop.svn.wordpress.org/trunk@19315 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 22:55:59 +00:00
Mark Jaquith 9b139832b4 Only fall back to get_site_option() if blog_upload_space value is === false. Zero should not fall back. fixes #18119. props jakub.tyrcha
git-svn-id: https://develop.svn.wordpress.org/trunk@19314 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 22:02:01 +00:00
Mark Jaquith 9ce7a82a23 Fix various login form and password strength meter CSS issues. fixes #18740. see #19201. props Sergey Biryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@19313 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 21:58:20 +00:00
Andrew Nacin a89187797a Revert update changes that snuck in with [19311]. see #19255, see #18876.
git-svn-id: https://develop.svn.wordpress.org/trunk@19312 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 07:23:15 +00:00
Andrew Nacin 4710e19609 Fix typo in filler text cause we all know it'll slip through accidentally. props paulhastings0, fixes #19255.
git-svn-id: https://develop.svn.wordpress.org/trunk@19311 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 01:58:13 +00:00
Andrew Nacin a82a7458bd Allow enter to trigger a new custom link on nav-menus.php. props mattwiebe, fixes #18255.
git-svn-id: https://develop.svn.wordpress.org/trunk@19310 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 01:45:11 +00:00
potbot 193c29c022 POT, generated from r19308
git-svn-id: https://develop.svn.wordpress.org/trunk@19309 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 00:48:06 +00:00
Andrew Nacin 94d5ab637c Indent code within an inside Twenty Eleven's ephemera widget. props lloydbudd, fixes #18751.
git-svn-id: https://develop.svn.wordpress.org/trunk@19308 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 00:08:29 +00:00
Andrew Ozz 7d663ff161 More RTL fixes, props rosshanney, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19307 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 21:58:42 +00:00
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