Commit Graph

6920 Commits

Author SHA1 Message Date
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 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 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 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
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
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 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
scribu 072ea8728b Fix weird wrapping of sorting arrow in Chrome. Fixes #14706
git-svn-id: https://develop.svn.wordpress.org/trunk@15538 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-26 22:11:04 +00:00
Ryan Boren b03d626909 Remove WP_USE_MULTIPLE_DB. Introduce init_charset() and set_charset(). fixes #14672
git-svn-id: https://develop.svn.wordpress.org/trunk@15537 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-26 18:34:18 +00:00
Mark Jaquith ae2f607f53 Leonard Lin was kind enough to relicense his balanceTags() function as "GPL (any version)" instead of "GPL v2.0." http://github.com/lhl/balanceTags/blob/master/README
git-svn-id: https://develop.svn.wordpress.org/trunk@15536 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-26 15:43:32 +00:00
Ryan Boren a4ce5b114b is_* WP_Query methods. Props mdawaffe. fixes #14494
git-svn-id: https://develop.svn.wordpress.org/trunk@15531 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 18:05:33 +00:00
scribu 4b4c95799a Rename admin-table.js to list-table.js
git-svn-id: https://develop.svn.wordpress.org/trunk@15530 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 01:59:13 +00:00
scribu b14febd290 munge admin-table.js & minify jquery.query
git-svn-id: https://develop.svn.wordpress.org/trunk@15526 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 21:44:25 +00:00
scribu 83d019c1d9 Move list table deprecated functions to wp-admin/includes/deprecated.php
git-svn-id: https://develop.svn.wordpress.org/trunk@15515 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-21 16:33:56 +00:00
scribu 7bbfb4b5f1 Deprecate get_hidden_columns(). Fixes #14651
git-svn-id: https://develop.svn.wordpress.org/trunk@15514 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-21 16:30:18 +00:00
scribu b8eb1b6863 Add register_column_headers() and print_column_headers() to deprecated.php to prevent fatal errors in plugins. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15510 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-19 00:26:48 +00:00
scribu 2c7897bd78 Use adminTable to refill #the-extra-comment-list. See #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15509 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-19 00:06:51 +00:00
scribu 9685e25bad refactor admin-table.js code
git-svn-id: https://develop.svn.wordpress.org/trunk@15507 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 21:02:24 +00:00
Mark Jaquith ad944bb822 Do not attempt to clear post cache for post ID 0... that will recursively destroy your server
git-svn-id: https://develop.svn.wordpress.org/trunk@15503 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 06:50:53 +00:00
scribu 6d510588aa Safer hierarchical display check. Fixes #14600; See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15501 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-16 01:36:21 +00:00
scribu aa7117dfe5 Round th corners. Based on patch by wedsxcrfv. Fixes #14613
git-svn-id: https://develop.svn.wordpress.org/trunk@15498 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-15 11:02:31 +00:00
scribu 37401689c5 Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596; See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15496 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 23:21:05 +00:00
scribu d570886128 Fix ajaxification in network area by using ajaxurl. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15495 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 00:45:40 +00:00
scribu fb9394167f Ajaxify list-type screens in the admin. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15491 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-11 21:54:51 +00:00