Commit Graph

14059 Commits

Author SHA1 Message Date
Mark Jaquith 93680ad646 Rename caller_get_posts WP_Query flag to ignore_sticky_posts, because that is the only thing it does. fixes #14624. props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@15589 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 04:46:08 +00:00
Mark Jaquith d901f3af6b Duplicate Save button for nav menus at the bottom. fixes #14265. props duck_
git-svn-id: https://develop.svn.wordpress.org/trunk@15588 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 04:40:53 +00:00
Mark Jaquith d07572b3e4 Support custom post type links in wp_list_pages(). fixes #14177. props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@15587 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 04:31:07 +00:00
Mark Jaquith e0c7c93fa0 Make the second (taxonomy) parameter for get_term_link() optional if you pass in a term object as the first argument (which has the taxonomy in it). fixes #13081. props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@15586 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 04:29:00 +00:00
Mark Jaquith ad682bb2dd More efficient calendar queries. fixes #8351. props vladimir_kolesnikov
git-svn-id: https://develop.svn.wordpress.org/trunk@15585 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 04:22:56 +00:00
Mark Jaquith b98d713f62 When doing current page highlighting logic, apply untrailingslashit() to everything so that slash additions or omissions still match. fixes #14208. props filosofo
git-svn-id: https://develop.svn.wordpress.org/trunk@15584 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 04:17:37 +00:00
Mark Jaquith 400a42ffea Do not cache terms indefinitely... use TTL of one day. fixes #11431. props Denis-de-Bernardy
git-svn-id: https://develop.svn.wordpress.org/trunk@15583 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 04:13:01 +00:00
scribu bfb520f616 Don't hardcode the pagination base. Fixes #12507
git-svn-id: https://develop.svn.wordpress.org/trunk@15582 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 01:18:42 +00:00
scribu 7ddd031d75 Use _wp_meta_sql() in WP_Query. See #14572. See #14645
git-svn-id: https://develop.svn.wordpress.org/trunk@15581 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-06 11:28:59 +00:00
scribu 8747d3d214 Use multiple JOINs instead of CASE in _wp_meta_sql(). See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15580 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-06 11:04:50 +00:00
scribu 7168dd09dd Rewrite WP_User_Query to use JOIN instead of subquery. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15579 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-06 08:09:41 +00:00
scribu 25677d588c introduce WP_List_Table::views(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15578 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 21:26:27 +00:00
scribu 5339a2f2f4 Fix theme pagination. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15577 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 19:26:01 +00:00
scribu 9115c76b53 Fix Change Role dropdown. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15576 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 19:01:38 +00:00
scribu cb4810489d Use get_users() in users.php. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15575 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 19:00:51 +00:00
scribu a258200257 Use get_users() in wp_dropdown_users(). See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15574 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 18:47:25 +00:00
scribu 2084962f5a remove useless __() call with variable. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15573 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 18:19:38 +00:00
scribu d908e82bc5 Use get_users() in WP_MS_User_Table. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15572 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 17:07:36 +00:00
scribu 248e0fd2c9 Introduce WP_List_Table::row_actions(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15571 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 16:53:59 +00:00
scribu 54cafea37d Fix meta query in WP_User_Query. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15570 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 15:30:10 +00:00
scribu 0c6e23f604 Introduce WP_List_Table::get_items_per_page(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15569 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 15:15:46 +00:00
scribu abe62a803f Don't suppress errors in _wp_meta_sql(). See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15568 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 14:54:55 +00:00
scribu 9344ecc8b5 fix wp_getAuthors in xmlrpc.php. See #14572 and [15566]
git-svn-id: https://develop.svn.wordpress.org/trunk@15567 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 14:49:52 +00:00
scribu ef3ee6e841 call get_users() from get_users_of_blog()
git-svn-id: https://develop.svn.wordpress.org/trunk@15566 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 14:35:55 +00:00
scribu 529a40e2b8 introduce _wp_meta_sql(). Preparation for adding blog_id to WP_User_Query. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15565 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 13:31:33 +00:00
Andrew Nacin af29b5d5cf phpdoc, @since, whitespace. Also require an argument in wp_insert_post(). props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15564 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 02:45:39 +00:00
Andrew Nacin 457c37ff01 Adjustments to [15549]. See #11624.
git-svn-id: https://develop.svn.wordpress.org/trunk@15563 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-04 15:51:04 +00:00
Andrew Nacin 65fdbfec3f Fix the delete_user meta cap.
git-svn-id: https://develop.svn.wordpress.org/trunk@15561 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-04 12:24:43 +00:00
Andrew Nacin d62e022459 Add a note about REMOTE_ADDR behind proxies.
git-svn-id: https://develop.svn.wordpress.org/trunk@15560 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-03 10:18:32 +00:00
Ryan Boren 21dd6b285a Do not run kses on display filters for front page views. see #14758
git-svn-id: https://develop.svn.wordpress.org/trunk@15559 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-02 15:06:07 +00:00
Ryan Boren b2351693de is_blog_admin(). fixes #14763
git-svn-id: https://develop.svn.wordpress.org/trunk@15558 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-02 15:03:39 +00:00
Mark Jaquith 400c32dd13 This file was mistakenly labeled as being GPLv2-only. fixes #14727
git-svn-id: https://develop.svn.wordpress.org/trunk@15557 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-02 04:47:57 +00:00
Ryan Boren 6f7289bfa5 Fix page taxonomy query string. Props t31os_. fixes #14591
git-svn-id: https://develop.svn.wordpress.org/trunk@15556 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-31 18:36:04 +00:00
Ryan Boren 22bd5efd46 Hide more meta boxes by default. fixes #14212
git-svn-id: https://develop.svn.wordpress.org/trunk@15555 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-31 18:27:59 +00:00
Ryan Boren a17a25fcef Make smilies links SSL aware. Props tech163. fixes #14360
git-svn-id: https://develop.svn.wordpress.org/trunk@15554 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-31 18:26:18 +00:00
Ryan Boren 98e7f76197 Link directly to comment in email notification. Props lancewillett. fixes #12797
git-svn-id: https://develop.svn.wordpress.org/trunk@15553 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-31 18:24:41 +00:00
Ryan Boren 6267682e7f Pass more info to notification filters. Props mdawaffe. fixes #14743
git-svn-id: https://develop.svn.wordpress.org/trunk@15552 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-31 18:19:15 +00:00
Ryan Boren 54bfddfbfa Cache to site_name instead of current_site_name. Props benward. fixes #14461
git-svn-id: https://develop.svn.wordpress.org/trunk@15551 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-31 18:17:20 +00:00
Ryan Boren 954dd7f59d Update last_changed when cleaning comment cache. fixes #14713
git-svn-id: https://develop.svn.wordpress.org/trunk@15550 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-30 19:59:16 +00:00
scribu b3ef955990 Don't use the global anymore. Fixes #11624
git-svn-id: https://develop.svn.wordpress.org/trunk@15549 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-28 11:57:28 +00:00
scribu fbdaa80fde Always set no_found_rows = true in get_posts(). Fixes #14528
git-svn-id: https://develop.svn.wordpress.org/trunk@15548 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-28 11:51:02 +00:00
scribu ad904f3307 update WP_Query docs. See #14600
git-svn-id: https://develop.svn.wordpress.org/trunk@15547 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-28 11:09:18 +00:00
Andrew Nacin b4369ec5b6 Use return_empty_array instead of create_function. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15546 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-28 04:54:27 +00:00
Ryan Boren 9b99bf5f5f Fix typo in [15544]
git-svn-id: https://develop.svn.wordpress.org/trunk@15545 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 16:53:26 +00:00
Nikolay Bachiyski 33cd9f11dd Make menus manipulation easier for plugin developers
* Add a wp_nav_menu_objects filter, which gets a sorted list of all menu node objects in the currently rendered menu
 * Add current, current_item_ancestor and current_item_parent boolean member variables to each menu node object, which are true when the item has the current-menu-item, current-menu-ancestor or current-menu-parent CSS class respectively


git-svn-id: https://develop.svn.wordpress.org/trunk@15544 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 16:13:39 +00:00
scribu 22640aa231 WP_User_Query constructor improvements. Props filosofo. Fixes #14709
git-svn-id: https://develop.svn.wordpress.org/trunk@15543 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 15:41:32 +00:00
scribu 33f73ce32f Deprecated get_editable_user_ids() altogether, along with similar, unused functions. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15542 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 01:07:21 +00:00
scribu a90bc8e1d4 Fix post_author_meta_box(). See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15541 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 00:24:41 +00:00
scribu 0b1b005b66 Deprecate unused get_author_user_ids()and get_editable_authors(). See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15540 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 00:22:29 +00:00
scribu 8993abd1be use get_users() in get_editable_user_ids() and cache result. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15539 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 00:18:57 +00:00