Commit Graph

6968 Commits

Author SHA1 Message Date
Andrew Nacin f445cbf975 Have get_boundary_post sort by post_date, not ID. props scribu, jk0. fixes #14035.
git-svn-id: https://develop.svn.wordpress.org/trunk@15660 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 08:31:16 +00:00
Dion Hulse ff7ef3edd4 Only show the Password Strength Meter when JavaScript is available. Fixes #14943
git-svn-id: https://develop.svn.wordpress.org/trunk@15659 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-25 10:58:01 +00:00
Ryan Boren 36d2d868d5 Feature filter visuals. First pass. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15656 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 18:50:31 +00:00
scribu d4eecd8787 get_objects_in_term(): include term children when querying by slug. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15654 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 14:08:07 +00:00
Dion Hulse b5f0bf47ac Do not generate invalid SQL for empty term archives. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15652 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 12:09:44 +00:00
Dion Hulse a59d598281 Use the correct term_id field in get_body_class().
git-svn-id: https://develop.svn.wordpress.org/trunk@15651 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 11:58:21 +00:00
scribu d004c99ea6 Consistently set $post_type to 'any' when a taxonomy query is involved. See [15649]. See #14589
git-svn-id: https://develop.svn.wordpress.org/trunk@15650 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-23 23:19:47 +00:00
scribu 9e37c78da3 Set $post_type to 'any' when taxonomies are involved (code resqued from r15613). See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15649 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-23 23:11:49 +00:00
Peter Westwood bf13c1921f Complete the move to a seperate class file for #14820 props filosofo.
Add support for replacing the class used. Fixes #14814 props filosofo.

git-svn-id: https://develop.svn.wordpress.org/trunk@15648 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-23 21:38:28 +00:00
Peter Westwood 620f094eb7 First part of #14820. Copy the file to preserve history. Props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@15647 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-23 21:22:21 +00:00
scribu b7be962c6b Make login css more flexible. Props joelhardi. Fixes #7763
git-svn-id: https://develop.svn.wordpress.org/trunk@15643 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-22 15:26:16 +00:00
Ryan Boren 6121bb1234 Don't fetch theme_roots transient on every page load. Avoid it altogether if there is only one theme dir. fixes #14911
git-svn-id: https://develop.svn.wordpress.org/trunk@15641 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-21 19:41:35 +00:00
Andrew Nacin 6131f69f23 Provide an example for add_role() capabilities argument. props simonwheatley, fixes #14918.
git-svn-id: https://develop.svn.wordpress.org/trunk@15640 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-21 14:52:03 +00:00
Ryan Boren 1b0446409c Revert [15637]. Still needed for PHP4.
git-svn-id: https://develop.svn.wordpress.org/trunk@15639 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-20 19:17:47 +00:00
Andrew Nacin 5963feeca6 Always include wp-db.php. Prevents a conditional include and allows db dropins to cleanly extend the wpdb class. Move require_wp_db() to load.php for consistency with bootloader helpers. fixes #14508.
git-svn-id: https://develop.svn.wordpress.org/trunk@15638 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-20 19:13:47 +00:00
Ryan Boren 5207524203 Remove annoying, useless construcotrs. Props Rasmus. http://talks.php.net/show/confoo10/8
git-svn-id: https://develop.svn.wordpress.org/trunk@15637 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-20 18:53:03 +00:00
Ryan Boren d46e7dbfc0 Speed up is_serialized() with strpbrk(). Props Rasmus. see #14429
git-svn-id: https://develop.svn.wordpress.org/trunk@15636 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-20 18:11:06 +00:00
Ryan Boren df6d5550db Simplify sanitize_key() and use it in more places. see #14910
git-svn-id: https://develop.svn.wordpress.org/trunk@15635 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-20 15:28:58 +00:00
scribu a6d9954621 Clarify code in wp_load_alloptions(). Props joelhardi. Fixes #14896
git-svn-id: https://develop.svn.wordpress.org/trunk@15634 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-19 11:08:20 +00:00
scribu b55b06e466 Introduce get_ancestors(). Props filosofo. Fixes #12443
git-svn-id: https://develop.svn.wordpress.org/trunk@15631 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 19:20:16 +00:00
Andrew Nacin 17e249f359 Fix logic inversion in r15626. see #14892. Also note that r15626 fixed a s/is_category/is_tag/ typo introduced in r6011, on line 1340.
git-svn-id: https://develop.svn.wordpress.org/trunk@15627 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-17 22:35:05 +00:00
scribu 03a3e5c1d9 Don't require category__in, tag__in etc. to be arrays necessarily. Fixes #14892
git-svn-id: https://develop.svn.wordpress.org/trunk@15626 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-17 22:27:22 +00:00
scribu c1ce7ddc38 Remove extraneous sanitization of category_name. Leave it to wp_tax_query(). See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15625 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-17 17:07:11 +00:00
scribu 89382ae313 Allow plugins to manipulate the meta query args. See #14645
git-svn-id: https://develop.svn.wordpress.org/trunk@15624 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-17 16:08:35 +00:00
scribu d9039c38d7 Apply filter to wp_get_current_commenter(). Fixes #14878
git-svn-id: https://develop.svn.wordpress.org/trunk@15623 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-16 20:48:18 +00:00
scribu 98d1045606 use get_user_count() in get_sitestats()
git-svn-id: https://develop.svn.wordpress.org/trunk@15621 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-15 20:13:31 +00:00
scribu 322e323b26 Clean up wp_list_authors(). See #10329
git-svn-id: https://develop.svn.wordpress.org/trunk@15620 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-15 19:52:25 +00:00
scribu 30581c2d4d Fix border radius in login form. Props filosofo. Fixes #14872
git-svn-id: https://develop.svn.wordpress.org/trunk@15619 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-15 09:24:11 +00:00
Andrew Nacin 003a617439 Some docs and corrections to _wp_link_page().
git-svn-id: https://develop.svn.wordpress.org/trunk@15617 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-14 16:48:38 +00:00
Andrew Nacin b75eb167cd Make note of an optional argument. props hakre, fixes #14870.
git-svn-id: https://develop.svn.wordpress.org/trunk@15616 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-14 16:22:55 +00:00
scribu 6ffb0e718e Calculate term count using $wp_query->tax_query. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15615 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-14 11:34:40 +00:00
scribu 5c95616ce8 Clean up taxonomy queries in WP_Query. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15613 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-13 16:44:14 +00:00
scribu 3e1de4ae9a Update Incutio XML-RPC Library to latest version (1.7.4). Props hakre. Fixes #14703
git-svn-id: https://develop.svn.wordpress.org/trunk@15612 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-13 16:36:08 +00:00
scribu 0b09ec156f Apply filters consistently in get_*_template() functions. Fixes #14310
git-svn-id: https://develop.svn.wordpress.org/trunk@15611 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-12 18:46:18 +00:00
Andrew Nacin fc00e5842f More efficient is_super_admin(). Don't call new WP_User on the current user. props mdawaffe, fixes #14842.
git-svn-id: https://develop.svn.wordpress.org/trunk@15608 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-10 23:24:34 +00:00
Andrew Nacin be0b363c5c Fix UPLOADS constant. see #14840.
git-svn-id: https://develop.svn.wordpress.org/trunk@15607 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-10 20:29:19 +00:00
Mark Jaquith 80055bcec2 wp_dequeue_script() and wp_dequeue_style(). fixes #14815. props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@15601 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 04:42:47 +00:00
Andrew Nacin 5c05a437a9 Add force_filtered_html_on_import filter. fixes #14818.
git-svn-id: https://develop.svn.wordpress.org/trunk@15600 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 02:43:18 +00:00
scribu 23850cf615 Replace is_term() with is_tax(). See #14161
git-svn-id: https://develop.svn.wordpress.org/trunk@15599 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-08 16:58:58 +00:00
scribu 14a8208e07 Clean up single_cat_title(), single_tag_title() and wp_title(). Fixes #14161
git-svn-id: https://develop.svn.wordpress.org/trunk@15598 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-08 16:21:13 +00:00
scribu b1def7dad8 Introduce 'edit_comment' meta cap. Fixes #14520
git-svn-id: https://develop.svn.wordpress.org/trunk@15596 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 23:35:28 +00:00
Andrew Nacin 7845df0f09 Return the character range removed in [15594]. fixes #14633, props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@15595 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 17:52:43 +00:00
Andrew Nacin 50194d0c51 Speak in full, clear sentences. props mrmist, fixes #14633.
git-svn-id: https://develop.svn.wordpress.org/trunk@15594 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 15:28:56 +00:00
Andrew Nacin ab35b9ca6d Pass some context to the pre_comment_approved hook. props coffee2code, fixes #14802.
git-svn-id: https://develop.svn.wordpress.org/trunk@15592 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 14:36:35 +00:00
Andrew Nacin 9f77e4b6a0 Only run update checks on the main site. fixes #14554.
git-svn-id: https://develop.svn.wordpress.org/trunk@15591 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 13:43:32 +00:00
Andrew Nacin 9494e4ce7e Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15590 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 11:21:11 +00:00
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