Commit Graph

14233 Commits

Author SHA1 Message Date
scribu
c4a14ee8d9 Get rid of redundant ->tax_query. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15765 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 10:19:15 +00:00
scribu
eb59a85d22 Add WP_List_Table columns before all others. Fixes #15075
git-svn-id: https://develop.svn.wordpress.org/trunk@15764 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 09:39:16 +00:00
Andrew Nacin
70d68a8cb7 svn add attachment.php. see #15078, r15762.
git-svn-id: https://develop.svn.wordpress.org/trunk@15763 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 09:19:37 +00:00
Andrew Nacin
099000c367 Use get_template_part() for single.php, attachment.php, page.php, and our page template in Twenty Ten. Introduces loop-page/single/attachment.php. props koopersmith, fixes #15078.
git-svn-id: https://develop.svn.wordpress.org/trunk@15762 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 09:17:42 +00:00
Andrew Nacin
71dec45612 Fix some notices. props mrmist, fixes #15079. Also some standards fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@15761 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 08:59:57 +00:00
Dion Hulse
f8be3f9fd1 Standardise on ->user->domain and ->user->account_domain being trailingslash'd. See #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15760 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 05:25:09 +00:00
Andrew Nacin
17b2091b43 s/Backend/Dashboard/. props markmcwilliams, fixes #14585.
git-svn-id: https://develop.svn.wordpress.org/trunk@15759 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 02:11:10 +00:00
Ryan Boren
3a8fb669cb Some more hierarchy loop detection.
git-svn-id: https://develop.svn.wordpress.org/trunk@15758 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-08 16:22:14 +00:00
Andrew Nacin
617945e60c Update via ajax the sample output of custom date/times on options-general. fixes #12636.
git-svn-id: https://develop.svn.wordpress.org/trunk@15757 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-08 03:29:57 +00:00
Andrew Nacin
a1cd90933d s/Wether/Whether/
git-svn-id: https://develop.svn.wordpress.org/trunk@15756 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-08 02:35:06 +00:00
Andrew Nacin
b040a1790a Add NOT LIKE/BETWEEN/IN. props AaronCampbell, fixes #9124.
git-svn-id: https://develop.svn.wordpress.org/trunk@15755 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-08 02:27:22 +00:00
scribu
500d2be317 Revert part of [15753]. See [12914]. See #14666
git-svn-id: https://develop.svn.wordpress.org/trunk@15754 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 22:58:45 +00:00
scribu
63d011c9dc Introduce remove_menu_page() and remove_submenu_page(). Fixes #12718
git-svn-id: https://develop.svn.wordpress.org/trunk@15753 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 22:35:31 +00:00
scribu
ccbf85c82d Remove debug cruft introduced by [15751]. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15752 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 21:50:32 +00:00
scribu
f4ed3e239c Add 'tax_query' as public query var. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15751 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 21:47:52 +00:00
Peter Westwood
3e66b217cc Avoid Notice if the query doesn't have a post set e.g. on a 404 . Fixes #15059 props chrisbliss18.
git-svn-id: https://develop.svn.wordpress.org/trunk@15750 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 21:23:50 +00:00
Peter Westwood
bf878cad07 Ensure we don't generate incorrect content types when files are requested with query strings. Fixes #14450 props chrisbliss18.
git-svn-id: https://develop.svn.wordpress.org/trunk@15749 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 21:00:45 +00:00
scribu
7005ab8841 Revive WP_User_Search as deprecated. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15748 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 20:13:11 +00:00
Ryan Boren
1b7b0e1d7f Unset global variables when they are no longer needed.
git-svn-id: https://develop.svn.wordpress.org/trunk@15747 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 20:12:49 +00:00
Ryan Boren
9ee8b20f30 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: https://develop.svn.wordpress.org/trunk@15746 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 19:34:18 +00:00
scribu
3950973583 Fix irrelevant error message on plugin activation again. Props andy. Fixes #7671
git-svn-id: https://develop.svn.wordpress.org/trunk@15744 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 15:27:47 +00:00
scribu
eb178ad876 More specific selector for checkbox columns. Props Cimmo for initial patch. Fixes #15051
git-svn-id: https://develop.svn.wordpress.org/trunk@15743 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 09:53:37 +00:00
Andrew Nacin
d8596259e2 Sticky post support for post types, first pass. see #12702, props azizur.
git-svn-id: https://develop.svn.wordpress.org/trunk@15742 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 09:10:35 +00:00
Mark Jaquith
4689663e64 Revert accidental inclusion in last commit... [15740]
git-svn-id: https://develop.svn.wordpress.org/trunk@15741 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 08:06:31 +00:00
Mark Jaquith
dfa0e20a64 Fix an English fail.
git-svn-id: https://develop.svn.wordpress.org/trunk@15740 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 08:04:15 +00:00
Andrew Nacin
07fca17d6d Some doc updates. see #15048.
git-svn-id: https://develop.svn.wordpress.org/trunk@15739 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 05:59:50 +00:00
Andrew Nacin
6c9318e763 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: https://develop.svn.wordpress.org/trunk@15738 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 04:20:19 +00:00
scribu
b6c2c3003c Proper handling of array query variables. Props loushou. Fixes #14330
git-svn-id: https://develop.svn.wordpress.org/trunk@15737 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-06 23:18:42 +00:00
Andrew Nacin
202ec80a4d Shift theme mods to be reliant on the theme slug instead of name. fixes #15048.
git-svn-id: https://develop.svn.wordpress.org/trunk@15736 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-06 21:00:17 +00:00
scribu
5c6ec6cd85 Fix password reset procedure. See #5919
git-svn-id: https://develop.svn.wordpress.org/trunk@15735 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-06 19:02:43 +00:00
scribu
bfacb144ae Prevent db error when dealing with unexistant parent term. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15734 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-06 12:06:23 +00:00
scribu
7cd352d4b8 Better way of settings tax related query flags. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15733 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-06 11:13:37 +00:00
scribu
d6e6296b89 Make hierarchical URLs work for any hierarchical taxonomy. See #12659
git-svn-id: https://develop.svn.wordpress.org/trunk@15732 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-06 11:04:03 +00:00
scribu
448f74675a 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: https://develop.svn.wordpress.org/trunk@15731 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-06 10:40:30 +00:00
scribu
5a14ba3fa3 further meta query optimization. props aaroncampbell. fixes #9124
git-svn-id: https://develop.svn.wordpress.org/trunk@15730 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-05 23:06:20 +00:00
scribu
39d1200d5c Revert part of [15713] to prevent notices. See #14645
git-svn-id: https://develop.svn.wordpress.org/trunk@15729 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-05 22:42:47 +00:00
Andrew Ozz
dc54187c8a Properly reference tinyMCEPreInit in wp-tinymce.js.gz, fixes #15027
git-svn-id: https://develop.svn.wordpress.org/trunk@15728 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-05 17:43:20 +00:00
Ryan Boren
e40c09a140 Move themes_api() to theme.php so that it is available to themes.php. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15727 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-05 13:24:41 +00:00
scribu
73261c879f Don't revalidate $meta_type in get_meta_sql(). Props Viper007Bond. See #9124
git-svn-id: https://develop.svn.wordpress.org/trunk@15726 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 22:51:31 +00:00
scribu
ee22465376 Use elseif in get_meta_sql(). Props Viper007Bond. See #9124
git-svn-id: https://develop.svn.wordpress.org/trunk@15725 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 22:47:04 +00:00
scribu
4685506671 Enhance get_meta_sql. Props aaroncampbell. Fixes #9124
git-svn-id: https://develop.svn.wordpress.org/trunk@15724 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 21:37:08 +00:00
scribu
12fdf54fdd Move _wp_search_sql() into WP_Object_Query. Introduce WP_Comment_Search. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@15723 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 21:05:31 +00:00
Andrew Nacin
4360f8c1a4 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: https://develop.svn.wordpress.org/trunk@15722 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 20:53:04 +00:00
scribu
7b01cbcc6e Put the simple meta query first, so that orderby=meta_value works even when using 'meta_query'. See #15031
git-svn-id: https://develop.svn.wordpress.org/trunk@15721 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 20:19:21 +00:00
Andrew Nacin
24294c1c83 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: https://develop.svn.wordpress.org/trunk@15720 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 19:50:13 +00:00
Ryan Boren
01094c2d95 Fix user edit urls for network admin
git-svn-id: https://develop.svn.wordpress.org/trunk@15719 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 19:29:14 +00:00
Ryan Boren
81896473cf Revert [15717]; it had extra bits in it
git-svn-id: https://develop.svn.wordpress.org/trunk@15718 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 19:28:31 +00:00
Ryan Boren
6eba2ab51d Fix user edit urls for network admin
git-svn-id: https://develop.svn.wordpress.org/trunk@15717 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 19:26:40 +00:00
Ryan Boren
0afda4b179 require_once to avoid error from admin bar snack menu include
git-svn-id: https://develop.svn.wordpress.org/trunk@15716 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 19:25:39 +00:00
scribu
a811171a0c Introduce WP_Object_Query. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@15715 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 18:57:13 +00:00