Commit Graph

7055 Commits

Author SHA1 Message Date
scribu
47f98231a5 Restore previous filter order in WP_Query. See #14997
git-svn-id: http://svn.automattic.com/wordpress/trunk@15791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 13:45:53 +00:00
nacin
148dac95df s/showposts/posts_per_page/
git-svn-id: http://svn.automattic.com/wordpress/trunk@15788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 05:25:00 +00:00
scribu
119713f3da first pass at strength indicator on password reset. see #5919
git-svn-id: http://svn.automattic.com/wordpress/trunk@15782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-12 21:37:01 +00:00
scribu
08e984e5e8 move password-strength-meter.js into user-profile.js. See #5919
git-svn-id: http://svn.automattic.com/wordpress/trunk@15780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-12 20:29:19 +00:00
ryan
d082fbbb4f Allow deleting a format. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@15779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-12 19:43:54 +00:00
ryan
d753847050 has_post_format(). see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@15778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-12 19:25:58 +00:00
ryan
0982c3c0f9 Post formats, take one. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@15777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-12 18:33:14 +00:00
scribu
9b325e28ea Introduce wp_query_clauses filter. Fixes #14997
git-svn-id: http://svn.automattic.com/wordpress/trunk@15775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-11 15:04:44 +00:00
scribu
59a7f7f015 Remove redundant call to function_exists() in wp_nav_menu(). Fixes #15094
git-svn-id: http://svn.automattic.com/wordpress/trunk@15774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-11 13:21:08 +00:00
scribu
d1ba770236 don't re-urlencode taxonomy query vars. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@15773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-11 12:18:42 +00:00
nacin
57ccc147e2 Make it explicit that you can set fallback_cb to false in wp_nav_menu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-11 03:16:45 +00:00
scribu
f0d8d094e2 Allow string as first parameter to locate_template(). Props chrisbliss18 for initial patch. Fixes #15061
git-svn-id: http://svn.automattic.com/wordpress/trunk@15771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-10 22:10:36 +00:00
scribu
47b8974ca6 Make parse_reques() set empty variables. Props filosofo for initial patch. Fixes #10710
git-svn-id: http://svn.automattic.com/wordpress/trunk@15770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-10 20:02:26 +00:00
nacin
302259ee13 s/blog/site/ on the admin bar code. props markmcwilliams, see #14772.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 12:22:00 +00:00
scribu
ba8217c8df Fix warning caused by empty meta query. See #14645
git-svn-id: http://svn.automattic.com/wordpress/trunk@15768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 12:18:52 +00:00
nacin
7bb63ebe44 esc_html in WP_Object_Cache::stats(). fixes #15003.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 11:38:12 +00:00
scribu
e157f923ed Get rid of redundant $this->meta_query. See #14645
git-svn-id: http://svn.automattic.com/wordpress/trunk@15766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 10:48:13 +00:00
scribu
50dc04d43b Get rid of redundant ->tax_query. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@15765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 10:19:15 +00:00
dd32
089b75c67d Standardise on ->user->domain and ->user->account_domain being trailingslash'd. See #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@15760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 05:25:09 +00:00
ryan
76c787d4d2 Some more hierarchy loop detection.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-08 16:22:14 +00:00
nacin
b7bacd1bf2 s/Wether/Whether/
git-svn-id: http://svn.automattic.com/wordpress/trunk@15756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-08 02:35:06 +00:00
nacin
137796ddbd Add NOT LIKE/BETWEEN/IN. props AaronCampbell, fixes #9124.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-08 02:27:22 +00:00
scribu
b64336e0cd Remove debug cruft introduced by [15751]. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@15752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 21:50:32 +00:00
scribu
f5276df854 Add 'tax_query' as public query var. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@15751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 21:47:52 +00:00
westi
f964eed6b5 Avoid Notice if the query doesn't have a post set e.g. on a 404 . Fixes #15059 props chrisbliss18.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 21:23:50 +00:00
westi
7e5c6cb031 Ensure we don't generate incorrect content types when files are requested with query strings. Fixes #14450 props chrisbliss18.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 21:00:45 +00:00
ryan
7119110439 Unset global variables when they are no longer needed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 20:12:49 +00:00
ryan
9c31fd7c70 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: http://svn.automattic.com/wordpress/trunk@15746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 19:34:18 +00:00
scribu
c640cfb7ef More specific selector for checkbox columns. Props Cimmo for initial patch. Fixes #15051
git-svn-id: http://svn.automattic.com/wordpress/trunk@15743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 09:53:37 +00:00
nacin
5757866954 Sticky post support for post types, first pass. see #12702, props azizur.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 09:10:35 +00:00
markjaquith
dd6ea0186c Revert accidental inclusion in last commit... [15740]
git-svn-id: http://svn.automattic.com/wordpress/trunk@15741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 08:06:31 +00:00
markjaquith
df006b32e2 Fix an English fail.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 08:04:15 +00:00
nacin
5f0bc55c0b Some doc updates. see #15048.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 05:59:50 +00:00
nacin
38e017024d Verify that a widget is draggable before stripping its draggability. props filosofo, see #12863. Fixes widget creation for jQUI 1.8.5; should be fixed in jQUI 1.8.6.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 04:20:19 +00:00
scribu
6c0eb6bf79 Proper handling of array query variables. Props loushou. Fixes #14330
git-svn-id: http://svn.automattic.com/wordpress/trunk@15737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-06 23:18:42 +00:00
nacin
50120d23da Shift theme mods to be reliant on the theme slug instead of name. fixes #15048.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-06 21:00:17 +00:00
scribu
54304cc2d4 Prevent db error when dealing with unexistant parent term. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@15734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-06 12:06:23 +00:00
scribu
2a99093ba9 Better way of settings tax related query flags. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@15733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-06 11:13:37 +00:00
scribu
38888b588d Make hierarchical URLs work for any hierarchical taxonomy. See #12659
git-svn-id: http://svn.automattic.com/wordpress/trunk@15732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-06 11:04:03 +00:00
scribu
a8367fa6f2 Generalize taxonomy queries:
* transform wp_tax_query() into WP_Object_Query::get_tax_sql()
	* create parse_tax_query() method in WP_Query
	* add doc-block for $tax_query and $meta_query
See #15032. See #12891.


git-svn-id: http://svn.automattic.com/wordpress/trunk@15731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-06 10:40:30 +00:00
scribu
ef709f8953 further meta query optimization. props aaroncampbell. fixes #9124
git-svn-id: http://svn.automattic.com/wordpress/trunk@15730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-05 23:06:20 +00:00
scribu
7630099b45 Revert part of [15713] to prevent notices. See #14645
git-svn-id: http://svn.automattic.com/wordpress/trunk@15729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-05 22:42:47 +00:00
azaozz
57fdacc00e Properly reference tinyMCEPreInit in wp-tinymce.js.gz, fixes #15027
git-svn-id: http://svn.automattic.com/wordpress/trunk@15728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-05 17:43:20 +00:00
scribu
62176cc636 Don't revalidate $meta_type in get_meta_sql(). Props Viper007Bond. See #9124
git-svn-id: http://svn.automattic.com/wordpress/trunk@15726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 22:51:31 +00:00
scribu
be24b1998b Use elseif in get_meta_sql(). Props Viper007Bond. See #9124
git-svn-id: http://svn.automattic.com/wordpress/trunk@15725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 22:47:04 +00:00
scribu
390ec67a52 Enhance get_meta_sql. Props aaroncampbell. Fixes #9124
git-svn-id: http://svn.automattic.com/wordpress/trunk@15724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 21:37:08 +00:00
scribu
31797f691a Move _wp_search_sql() into WP_Object_Query. Introduce WP_Comment_Search. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@15723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 21:05:31 +00:00
nacin
38b834c848 Use separate ajax spinners for the Save Draft and Publish buttons on the post form. fixes #14582 with initial patch from wojtek.szkutnik.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 20:53:04 +00:00
scribu
8d138e0c4c Put the simple meta query first, so that orderby=meta_value works even when using 'meta_query'. See #15031
git-svn-id: http://svn.automattic.com/wordpress/trunk@15721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 20:19:21 +00:00
nacin
7ee6aecd1b Account for Twenty Ten in theme name collisions and properly fall back to TT in get_current_theme(). fixes #15719, props tonyf12.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 19:50:13 +00:00