Commit Graph

19110 Commits

Author SHA1 Message Date
ryan 66388c185e 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: http://svn.automattic.com/wordpress/trunk@19321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 18:01:08 +00:00
koopersmith ee60065e28 Add reset CSS (clear) to the admin bar. props scribu. fixes #19260, see #18179.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 16:55:44 +00:00
azaozz 930cd0862f mode == 'tmce' || mode == 'tinymce', see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@19319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 15:50:01 +00:00
duck_ de60f51ead Thickbox cache busting. Fixes #19240.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 12:36:51 +00:00
nacin f0eebf3376 Remove extra space. props danielbachhuber.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 04:41:51 +00:00
azaozz 44472ebcff Make switchEditors.go() fully back-compat, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@19316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 02:44:28 +00:00
ryan d6612a1faf Revert [18665]. Causes fatal double include in themes that call get_header() twice. see #18331
git-svn-id: http://svn.automattic.com/wordpress/trunk@19315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 22:55:59 +00:00
markjaquith 2e2c07f094 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: http://svn.automattic.com/wordpress/trunk@19314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 22:02:01 +00:00
markjaquith cb220fd555 Fix various login form and password strength meter CSS issues. fixes #18740. see #19201. props Sergey Biryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 21:58:20 +00:00
nacin 8085f7d529 Revert update changes that snuck in with [19311]. see #19255, see #18876.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 07:23:15 +00:00
nacin cd33a2118d Fix typo in filler text cause we all know it'll slip through accidentally. props paulhastings0, fixes #19255.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 01:58:13 +00:00
nacin a14dd3db8b Allow enter to trigger a new custom link on nav-menus.php. props mattwiebe, fixes #18255.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 01:45:11 +00:00
potbot c9dcd74bd3 POT, generated from r19308
git-svn-id: http://svn.automattic.com/wordpress/trunk@19309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 00:48:06 +00:00
nacin 869e0ace47 Indent code within an inside Twenty Eleven's ephemera widget. props lloydbudd, fixes #18751.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 00:08:29 +00:00
azaozz ae3a4343e9 More RTL fixes, props rosshanney, see #19042
git-svn-id: http://svn.automattic.com/wordpress/trunk@19307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 21:58:42 +00:00
azaozz 28ec7872a2 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: http://svn.automattic.com/wordpress/trunk@19306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 21:22:27 +00:00
nacin d61b1474f9 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: http://svn.automattic.com/wordpress/trunk@19305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 21:19:29 +00:00
ryan 45ddf08e07 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: http://svn.automattic.com/wordpress/trunk@19304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 20:44:48 +00:00
nacin 44e5c028b5 Properly adjust margins for ordered lists in RTL in Twenty Eleven. props wpweaver. fixes #19072.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 20:20:43 +00:00
nacin bbea28c8ca Higher z-index for #branding in Twenty Eleven. props matveb. fixes #18938.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 20:18:22 +00:00
nacin 7ad3e5328b Highlight current-menu-item and current-menu-ancestor in Twenty Eleven. props Viper007Bond, fixes #18643.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 20:16:56 +00:00
nacin b47fa0c595 overflow:auto for pre tags in Twenty Ten. props SergeyBiryukov, fixes #16317.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 20:15:05 +00:00
azaozz 5bc81f5d80 Workaround for WebKit bug when previewing posts, props SergeyBiryukov, fixes #18341
git-svn-id: http://svn.automattic.com/wordpress/trunk@19299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 18:48:55 +00:00
duck_ 5e3fe22bac Allow "Approve and Reply" background-color animation to complete on the Dashboard. Props ocean90. Fixes #18349.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 17:57:53 +00:00
azaozz 52b5e282bd Fix styling for the installation screens, props chexee, fixes #18576
git-svn-id: http://svn.automattic.com/wordpress/trunk@19297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 15:47:07 +00:00
ryan 7f10cf4814 Don't show edit links for spam comments. Props DH-Shredder. fixes #18340
git-svn-id: http://svn.automattic.com/wordpress/trunk@19296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 14:02:42 +00:00
nacin c657c79258 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: http://svn.automattic.com/wordpress/trunk@19295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 03:51:28 +00:00
azaozz a25b873fd4 Add some more padding to the Dismiss link in the uploader notices, see #19228
git-svn-id: http://svn.automattic.com/wordpress/trunk@19294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 02:48:21 +00:00
nacin 836051d1e9 Pass 'id' on network/site-themes in the case of disabled referers. props Viper007Bond, fixes #18936.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 02:24:30 +00:00
nacin 64601afb36 Better fluid/responsive image styles in Twenty Eleven. props iandstewart, lancewillett, fixes #18940.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 02:20:44 +00:00
nacin e9be1d8344 Make sure embeds and iframes fit their containers in Twenty Eleven. props matveb, fixes #18941.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 02:16:58 +00:00
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