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
scribu
ec8503802e
Strip redundant 'meta_' from 'meta_query' keys. See #14645
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15714 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 18:26:26 +00:00
scribu
68f22e028e
Recognize meta_query as a query var. Props aaroncampbell. Fixes #14645
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15713 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 17:51:17 +00:00
Andrew Nacin
7cac913b3b
Restore wp_delete_category. props blepoxp, fixes #15008 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15712 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 16:28:01 +00:00
Ryan Boren
27d9e24a11
jQuery UI 1.8.5. Props demetris. fixes #12863
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15711 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 16:19:18 +00:00
Ryan Boren
344af33b21
Streamline password reset process. Allow user to input new password. Props scribu. see #5919
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15710 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 15:32:54 +00:00
scribu
078cda9275
Fix menu box search. Fixes #14335
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15709 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 14:17:34 +00:00
Dion Hulse
21bf2e613d
Fix canonical redirection for permalinks containing %category% with nested categories and paging. Fixes #13471 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15707 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 11:30:11 +00:00
Dion Hulse
9f034ad032
Revert part of [15703]. The Metadata API doesnt unserialize everything.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15706 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 11:00:36 +00:00
Dion Hulse
6ace731ac8
Introduce hierarchical taxonomy URL's, Can be enabled by setting 'hierarchical_url' to true upon taxonomy registration. See #12659
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15705 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 10:37:25 +00:00
Dion Hulse
996e0020b2
Forgot to change a variable name in [15703]
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15704 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 10:03:05 +00:00
Dion Hulse
6c9b29e6f3
Simplify get_user_metavalues() to entirely rely upon the Metadata API, Removes a direct SQL Query. de-serializing is handled by the Metadata API now.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15703 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 09:59:53 +00:00
Dion Hulse
761ad85a17
Fix a hard-coded database table typo. s/wp_users/$wpdb->users/
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15702 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 09:43:02 +00:00
Dion Hulse
3d2e3625d4
Do not load Taxonomy cache & Postmeta cache in get_boundary_post(). Fixes #15028
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15701 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 09:17:18 +00:00
Dion Hulse
d837eb9f8f
Cache terms under more scenario's in update_post_caches(). Fixes #15026
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15700 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 08:56:04 +00:00
Andrew Nacin
8e067e926c
Initialize a variable. fixes #15025 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15699 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 08:48:43 +00:00
Dion Hulse
5255794ad1
get_user_metavalues(): Use cached user objects when querying for a single user, Prevents duplicate usermeta queries from Adminbar. Whitespace & s/AS/as/. See #14772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15698 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 07:38:32 +00:00
Dion Hulse
0d9b6a856a
Preserve search terms on plugin management pages during actions. Fixes #14905 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15697 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 04:26:58 +00:00