Commit Graph

14976 Commits

Author SHA1 Message Date
Andrew Nacin f82118f579 Add a simple filter to allow removing the recent comments default widget styles. fixes #15493, see #14876.
git-svn-id: https://develop.svn.wordpress.org/trunk@16522 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 13:55:11 +00:00
Andrew Nacin 9a53e46ff5 Revert [15994] for now, as the default widgets then go through an identity crisis. see #14876, #15493.
git-svn-id: https://develop.svn.wordpress.org/trunk@16521 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 13:48:35 +00:00
Andrew Nacin 6843c0fa3c Escape the wrap ID and class attributes going into sprintf() and s/slug/wrap_id/ to make it more obvious. see #14235.
git-svn-id: https://develop.svn.wordpress.org/trunk@16520 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 13:37:09 +00:00
Andrew Nacin 83e8f71361 Introduce items_wrap arg to wp_nav_menu(). props filosofo, fixes #14235.
git-svn-id: https://develop.svn.wordpress.org/trunk@16519 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 13:32:02 +00:00
Ryan Boren 55bd96bfeb Fixes for user-new.php. Props wpdavis. see #15456
git-svn-id: https://develop.svn.wordpress.org/trunk@16518 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 22:36:46 +00:00
scribu cb38e81d23 re-minify edit-comments.js. See #15504
git-svn-id: https://develop.svn.wordpress.org/trunk@16517 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 22:03:54 +00:00
scribu de5730ecd9 Use event delegation in edit-comments.js. Fixes #15504
git-svn-id: https://develop.svn.wordpress.org/trunk@16516 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 22:02:25 +00:00
scribu 6401205f36 Don't do any taxonomy stuff if is_singular. See #15487
git-svn-id: https://develop.svn.wordpress.org/trunk@16515 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 21:51:21 +00:00
Ryan Boren 3484e62eca Revert debug
git-svn-id: https://develop.svn.wordpress.org/trunk@16514 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 21:44:11 +00:00
Ryan Boren f3e3c03abe array_unique() category__in and category__not_in to eliminate dupes from multiple runs of parse_tax_query(). Fixes canonical redirects for cat, category__in, and category__not_in requests. see #12891 #15487
git-svn-id: https://develop.svn.wordpress.org/trunk@16513 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 21:43:19 +00:00
scribu a825250771 Fix logic for when excluding a non-existant term. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16512 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 21:28:50 +00:00
Ryan Boren 75453e5e2d If the queried term does not exist make sure no posts are returned in the query rather than falling through to querying all posts. Fixes 404s when querying cats that do not exist. see #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16511 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 21:10:20 +00:00
Andrew Nacin 3cf1723947 Use 'Update' and 'Save Link' for internal linking submit button. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16510 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 19:27:12 +00:00
Andrew Nacin bc868ac452 Indent a foreach.
git-svn-id: https://develop.svn.wordpress.org/trunk@16509 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 19:20:32 +00:00
Peter Westwood 358a4a3486 Ensure that we return post IDs as strings to honour API defintions. See #15517
git-svn-id: https://develop.svn.wordpress.org/trunk@16508 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 15:50:56 +00:00
scribu 306874cbb6 Don't need WP_MS_Users_List_Table constructor anymore. See [16501]
git-svn-id: https://develop.svn.wordpress.org/trunk@16507 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 14:03:49 +00:00
scribu 3e8a8c96cf Remove debug cruft from [16505]. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16506 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 13:48:24 +00:00
scribu 6020138317 Don't set post_type to 'any' for category and tag queries. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16505 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 13:39:07 +00:00
Peter Westwood bff457cfaf Use do_items rather than do_item so the output of the l10n script is recorded. Fixes #15124.
git-svn-id: https://develop.svn.wordpress.org/trunk@16504 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 12:01:15 +00:00
Peter Westwood 6e131a9694 Add missing calls to convertEntities for js l10n
git-svn-id: https://develop.svn.wordpress.org/trunk@16503 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 11:56:59 +00:00
Ryan Boren 0786857c32 Don't esc_textarea() in meta boxes since the post object is already escaped. Props Viper007Bond. see #15505
git-svn-id: https://develop.svn.wordpress.org/trunk@16502 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 06:10:07 +00:00
Ryan Boren bc9642a3f5 Could not bulk edit users in Network Admin due to reversed logic on capability check, and incorrect action included for comparing to nonce. Props beaulebens
git-svn-id: https://develop.svn.wordpress.org/trunk@16501 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 05:48:35 +00:00
Andrew Nacin ce4b9ff07a IE8 fixes for internal linking. props koopersmith, see #15485, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16500 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 02:02:37 +00:00
Andrew Nacin c32cd17908 self_admin_url in plugin-install. props ocean90, fixes #14062.
git-svn-id: https://develop.svn.wordpress.org/trunk@16499 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 01:38:21 +00:00
Andrew Nacin 10f92b7e87 Don't include Network Only plugins in the site admin plugin counts. props PeteMall, fixes #15502.
git-svn-id: https://develop.svn.wordpress.org/trunk@16498 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 01:23:44 +00:00
Ryan Boren 069c259dcf should not be an array of arrays. Props nickmomrik
git-svn-id: https://develop.svn.wordpress.org/trunk@16497 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 23:58:29 +00:00
Ryan Boren a7bcbc027f Fix user search input name. Props nickmomrik.
git-svn-id: https://develop.svn.wordpress.org/trunk@16496 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 23:43:00 +00:00
Mark Jaquith 103bde3e19 Do not set is_category/is_tax/is_tax for is_singular requests. props mtekk. fixes #15487
git-svn-id: https://develop.svn.wordpress.org/trunk@16495 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 19:25:53 +00:00
Andrew Nacin 40d1e43970 Add missing div. props PeteMall, fixes #15501.
git-svn-id: https://develop.svn.wordpress.org/trunk@16494 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 19:05:04 +00:00
Andrew Nacin fcf95a9788 Bump wplink.
git-svn-id: https://develop.svn.wordpress.org/trunk@16493 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 19:02:57 +00:00
Ryan Boren 7c8157ed36 Fill http by default. Props koopersmith. see #11420
git-svn-id: https://develop.svn.wordpress.org/trunk@16492 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 18:59:43 +00:00
Ryan Boren 04b9ae5ae7 Clear fields on refresh. Props koopersmith. see #11420
git-svn-id: https://develop.svn.wordpress.org/trunk@16491 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 18:54:03 +00:00
Ryan Boren b9113234eb wplink IE fixes. Props koopersmith. see #15485
git-svn-id: https://develop.svn.wordpress.org/trunk@16490 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 18:49:12 +00:00
Ryan Boren c245d5f44b Site search performance tweaks. Use subquery for registration log queries to allow cross DB queries. Lose order by id by default. Search only by blog_id for numeric search strings. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16489 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 18:16:03 +00:00
Ryan Boren c7fd7b68d3 Remove debug cruft.
git-svn-id: https://develop.svn.wordpress.org/trunk@16488 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 17:10:35 +00:00
Ryan Boren 8ff8013fe7 Populate post term relationship cache in get_the_terms(). Restores caching lost when we moved away from get_the_category(). see #15407
git-svn-id: https://develop.svn.wordpress.org/trunk@16487 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 17:09:21 +00:00
scribu 90e783e1fe Use event delegation in wp-lists.js. Fixes #15488
git-svn-id: https://develop.svn.wordpress.org/trunk@16486 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 16:11:56 +00:00
Nikolay Bachiyski 9927279cf2 Don't forget to echo the result of esc_textarea()
git-svn-id: https://develop.svn.wordpress.org/trunk@16485 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 14:48:11 +00:00
Joseph Scott a0c3d2ef0e Expose post format details in XML-RPC:
- New method: wp.getPostFormats
- New field in methods dealing with posts: wp_post_format

props ericmann, fixes #15405



git-svn-id: https://develop.svn.wordpress.org/trunk@16484 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 13:57:05 +00:00
scribu e6e9ea6c26 Set current screen for comment quick-edit. Props batmoo. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16483 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 09:34:21 +00:00
scribu 90de63b3ad Force GROUP BY when there's a tax query. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16482 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 09:17:59 +00:00
potbot 794e39317a POT, generated from r16480
git-svn-id: https://develop.svn.wordpress.org/trunk@16481 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 08:21:40 +00:00
Andrew Nacin c5665d8ed2 Twenty Ten code cleanups. props lancewillett, fixes #15476.
git-svn-id: https://develop.svn.wordpress.org/trunk@16480 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 05:37:47 +00:00
Andrew Nacin f86af64e5f Internal linking cleanups. Fix combination of pagination and searching. Add a margin of error (ha, get it?) to triggering the river. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16479 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 05:31:07 +00:00
Ryan Boren 0d0edecd79 Return false if empty cat passed. Restores old behavior.
git-svn-id: https://develop.svn.wordpress.org/trunk@16478 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 05:06:48 +00:00
Mark Jaquith 94737b9d3b Use "default" as the key (not "0") for the default post format string in the translation array. props josephscott
git-svn-id: https://develop.svn.wordpress.org/trunk@16477 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 04:32:33 +00:00
Ryan Boren 6d3ae66a3b get_media_item_args, swfupload_post_params, and swfupload_success_handler filters. Props simonwheatley. fixes #13817
git-svn-id: https://develop.svn.wordpress.org/trunk@16476 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 00:04:04 +00:00
Ryan Boren 18da5392f9 Link to edit profile screen within same admin if in network or user admin.
git-svn-id: https://develop.svn.wordpress.org/trunk@16475 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 23:07:59 +00:00
Ryan Boren a5a5164229 Titles for network admin and global dashboard. see #15477
git-svn-id: https://develop.svn.wordpress.org/trunk@16474 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 23:02:52 +00:00
scribu 9782ea0c5c Fix user pagination. Props duck_. Fixes #15479
git-svn-id: https://develop.svn.wordpress.org/trunk@16473 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 22:51:36 +00:00