Commit Graph

7473 Commits

Author SHA1 Message Date
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 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
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
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
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 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 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
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 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
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 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
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
scribu 62b4cd2ec7 Make entire sortable header clickable. Props batmoo. Fixes #15352
git-svn-id: https://develop.svn.wordpress.org/trunk@16472 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 21:39:22 +00:00
Andrew Nacin 98362127ad s/flush/flush_rules/ in a comment. fixes #15474, props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@16470 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:21:54 +00:00
Andrew Nacin ccea27cbe7 More param fixes, props duck_. see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@16469 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:12:48 +00:00
Andrew Nacin b9ca2cd037 s/ui-dialog/wp-dialog/ in our dialog styles. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16468 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:07:59 +00:00
Mark Jaquith 29b90f079d Exclude term exclusions even if they are also inclusions. props foofy, scribu. see #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16467 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:04:47 +00:00
scribu 0e87356092 Clarify doc-block for wp_delete_object_term_relationships(). Props simonwheatley. Fixes #15472
git-svn-id: https://develop.svn.wordpress.org/trunk@16466 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 18:46:41 +00:00
Ryan Boren bc279e502e Script bump
git-svn-id: https://develop.svn.wordpress.org/trunk@16464 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 14:23:05 +00:00
Andrew Nacin 845832a767 Second half of [16462]. props duck_. see #15308.
git-svn-id: https://develop.svn.wordpress.org/trunk@16463 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 09:51:50 +00:00
Andrew Nacin 3161d152bf Clean up logic when selecting post types for the admin bar content drop-down. see #15308.
git-svn-id: https://develop.svn.wordpress.org/trunk@16462 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 09:01:07 +00:00
Andrew Nacin 1c4c2a2ad9 Kill the background from the default jQuery UI dialog theme. We'll get this from .wp-dialog in the colors stylesheets. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16461 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 08:50:20 +00:00
Andrew Nacin c7e2a27492 More svn add. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16460 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 08:20:19 +00:00
Andrew Nacin 7cccd5715f Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16459 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 07:59:05 +00:00
Andrew Nacin 7554d8610b Second pass on internal linking preloading. Adjust styles, svn add the wpdialogs plugin, adjust files and docs. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16458 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 07:56:47 +00:00
Andrew Nacin 655df3af90 Ludicrous speed for internal linking. First pass. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16457 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 06:22:13 +00:00
Andrew Nacin 1a3a72a224 Style the on-hover state for collapsed admin menus in the blue theme. props PeteMall, fixes #15462.
git-svn-id: https://develop.svn.wordpress.org/trunk@16451 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 04:29:27 +00:00
Andrew Nacin 5183bee738 WP_Http_ExtHTTP variable fix. Don't pass an empty array to http_request, props mdawaffe, fixes #13730.
git-svn-id: https://develop.svn.wordpress.org/trunk@16450 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 03:34:28 +00:00
Andrew Nacin ba37b82b10 Allow is_feed() to drill down the feed being checked. props johnbillion for initial patch, fixes #15460.
git-svn-id: https://develop.svn.wordpress.org/trunk@16447 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 03:19:08 +00:00
Andrew Nacin 9437b31707 Add list_pages filter. props johnjamesjacoby, fixes #13668.
git-svn-id: https://develop.svn.wordpress.org/trunk@16446 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 02:23:05 +00:00
Andrew Nacin 892760ad7a When inserting an image via oEmbed, wrap it in a link. props MarkJaquith, fixes #14945.
git-svn-id: https://develop.svn.wordpress.org/trunk@16444 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 02:17:13 +00:00
Ryan Boren fa33255b56 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@16439 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:48:27 +00:00
Ryan Boren 4b33a0e9c4 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:47:34 +00:00
Ryan Boren f721e075e6 Use wp_cache_add() instead of wp_cache_set() in update_meta_cache(). fixes #15452
git-svn-id: https://develop.svn.wordpress.org/trunk@16437 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:25:42 +00:00
Mark Jaquith eb981f0b6c admin-bar.js is stale. Bumping the version number.
git-svn-id: https://develop.svn.wordpress.org/trunk@16436 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:55:09 +00:00
Mark Jaquith 064b0f732b Make admin bar update bubbles DARK text on LIGHT background, per janeforshort. see #15308
git-svn-id: https://develop.svn.wordpress.org/trunk@16435 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:35:24 +00:00
Mark Jaquith ae422f43ab Add admin-bar class to body_class() if the admin bar is showing. fixes #15455
git-svn-id: https://develop.svn.wordpress.org/trunk@16432 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:21:45 +00:00
Mark Jaquith 55e0256967 esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
git-svn-id: https://develop.svn.wordpress.org/trunk@16431 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:12:01 +00:00
Andrew Nacin b9b0431d29 get_tag_link and get_category_link can also return WP_Error. fixes #15449.
git-svn-id: https://develop.svn.wordpress.org/trunk@16430 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:10:50 +00:00
scribu 5705b3ca9c Differentiate between localized and raw total pages. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16429 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:03:27 +00:00