Andrew Nacin
dfa3d5561d
Improve the line height on div.updated, div.error. props joelhardi, fixes #14891 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16010 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 11:57:55 +00:00
Andrew Nacin
8db82e5ea1
Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16009 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:46:24 +00:00
Andrew Nacin
8e7e99047e
Fix some encoding issues. props hakre, fixes #14735 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16005 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 09:54:17 +00:00
Andrew Nacin
71c59b865a
Add a 'Sticky' filter on the edit posts page. Add post_in and post_not_in as private query vars in the WP class to support this. fixes #8466 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16003 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:27:45 +00:00
Peter Westwood
b4818a8af8
Remove the ghetto code and use the script loader properly on the login page.
...
Ensure that we actually have convertEntities available on the login page.
Introduce a login_footer action.
Hook in the script loader to the login_header and login_footer actions.
See #5919 , #15124 .
git-svn-id: https://develop.svn.wordpress.org/trunk@16000 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 06:57:10 +00:00
Peter Westwood
b138a1b60a
Bring back a seperate js file for the password strength meter and correctly mark it as a dependancy of the user profile code. See #5919 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15998 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 06:39:20 +00:00
Andrew Nacin
bcbb15ca21
Return empty array in wp_get_sidebars_widgets() if no sidebars are defined. fixes #14876 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15994 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 01:56:54 +00:00
Andrew Nacin
ad18a5dc4b
Standardize on 'Display as dropdown' and list those before post counts in default widgets. fixes #15096 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15993 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 01:52:59 +00:00
Andrew Nacin
e7f4600080
jQuery 1.4.4 preview as of Wed Oct 27 00:55:02 2010. see #15227 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15991 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 00:58:41 +00:00
Andrew Nacin
8b0d9c5856
More pedantry.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15990 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 00:33:29 +00:00
Andrew Nacin
a484cb25a0
Bool cast preg_match, in readable form. see #9824 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15989 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 00:30:49 +00:00
Andrew Nacin
2fa2485d20
Bool cast preg_match. see #9824 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15988 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 00:27:08 +00:00
scribu
f196a4932c
Don't trigger verbose page rules if permalink begins with fixed string. Fixes #9824
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15987 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 00:25:03 +00:00
scribu
f9fa7ecc39
Round bottom-right corner of the screen options dropdown. Fixes #15226
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15986 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 22:15:58 +00:00
Andrew Nacin
2fb5876e7e
Specify feed type in the_category_rss() call. props benward, fixes #14451 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15984 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 20:15:18 +00:00
scribu
d9abf82f7c
Add filters to *_metadata() functions. Props sc0ttkclark. Fixes #14766
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15983 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 19:11:27 +00:00
scribu
1c9a241148
Introduce 'fields' query var to WP_Query. See #14777
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15982 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 19:01:55 +00:00
Andrew Nacin
fb3a8f92bf
Don't sort plugin descriptions column. Make on state for sortable columns black, not the typical link orange. fixes #15224 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15981 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 18:15:47 +00:00
Peter Westwood
4b88dd0f93
Expose the media options over XML-RPC. Fixes #15153 props koke.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15980 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 17:46:29 +00:00
Peter Westwood
dd57d9fd93
4th argument of wp.getOptions is optional so don't notice if it's not supplied.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15975 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 14:43:20 +00:00
Ryan Boren
c9d26cd5b3
Refactor wp_get_recent_posts to use get_posts(). Props blepoxp. fixes #14389
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15973 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 13:50:38 +00:00
Ryan Boren
06780d1fb0
Fix infinite recursion caused by malformed URLs. Props mdawaffe. fixes #14655
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15972 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 13:44:03 +00:00
Andrew Nacin
90b2bbe16e
Allow page rewrites to be disabled. see #13818 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15970 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 07:12:06 +00:00
Andrew Nacin
fcb14d6104
Also look for SUBDOMAIN_INSTALL in is_multisite(). props wpmuguru, fixes #14536 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15968 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 03:45:13 +00:00
Andrew Nacin
9c39f8bcf2
Fix custom background selector for IE7. props duck_, fixes #14152 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15966 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 03:42:14 +00:00
Andrew Nacin
f48506bb8f
Remove redundant filter. props coffee2code. fixes #14285 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15964 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 03:34:28 +00:00
Ryan Boren
ae76af21a9
Generalize seletion for h2 and h3 tabs. Props chrisbliss18 fixes #15154
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15962 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 20:45:58 +00:00
Andrew Nacin
b0208b5a8c
Importer and exporter overhaul, mega props duck.
...
Exporter overhaul:
* Add author information to export
* Greater usage of slug identifiers
* Don't export auto-drafts, spam comments, or edit lock/last meta keys
* Inline documentation improvements
* Remove filtering for now (@todo)
* Bump WXR version to 1.1, but remain back compat in the importer
Importer overhaul (http://plugins.trac.wordpress.org/changeset/304249 ):
* Use an XML parser where available (SimpleXML, XML Parser)
* Proper import support for navigation menus
* Many bug fixes, specifically improvements to category and custom taxonomy handling
* Better author/user mapping
Fixes #5447 #5460 #7400 #7973 #8471 #9237 #10319 #11118 #11144 #11354 #11574 #12685 #13364 #13394 #13453 #13454 #13627 #14306 #14442 #14524 #14750 #15055 #15091 #15108 .
See #15197 .
git-svn-id: https://develop.svn.wordpress.org/trunk@15961 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 20:43:52 +00:00
Peter Westwood
8913638185
Attempt at a fix for url encoding issues with UTF8 chars. See #10249 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15960 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 14:50:58 +00:00
Andrew Nacin
d8672ca5d8
Pass comment ID from comment_text to get_comment_text. Also add the comment object as context to the filter. fixes #14261
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15957 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 03:11:01 +00:00
Ryan Boren
8df8490fde
Idempotence for sanitize_user(). Make sanitize_key() match its phpdoc. Props duck_ fixes #15198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15948 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 20:33:54 +00:00
Andrew Nacin
787da5c464
Allow fields with a paragraph tag to align to top in the form-table on settings pages. see #15205 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15945 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 18:07:20 +00:00
Andrew Nacin
a719899fca
Rearrange wp-load include. see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15943 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 03:56:10 +00:00
Andrew Nacin
4738e732ae
Remove dead arguments. see [15937], see #13818 , props dd32.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15942 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 03:27:01 +00:00
Andrew Nacin
46458ec3ca
Compress scripts and bump for [15939] [15940]. see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15941 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 03:03:52 +00:00
Andrew Nacin
f34a8de8ec
Internal linking, first pass. props koopersmith, see #11420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15940 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 02:58:42 +00:00
Andrew Nacin
cd50525faa
Don't show the admin bar in the plugin/theme installers. Inserts condition directly into iframe_header(). Allows show_admin_bar() to be called after init by unsetting wp_admin_bar, thus preventing render once those hooks are fired. see #14772 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15938 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 19:49:25 +00:00
Andrew Nacin
6eb9fbbd39
Remove post_type params from is_archive(). use is_post_type_archive() for full context. see #13818 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15937 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 19:20:47 +00:00
Andrew Nacin
6d7366d5fc
Move the CPT archive flag outside of the rewrite argument, into its own has_archive. has_archive controls more than just URL rewriting, it also handles whether ?post_type= is treated as a CPT archive. feeds remain in rewrite as ?feed= would work regardless. see #13818 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15936 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 18:29:22 +00:00
Andrew Nacin
4d0164db91
Remove some capability_type code in WP_Query. Only build faux caps if we're querying for multiple post types or if the post type object can't be found. see #14122 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15935 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 18:16:41 +00:00
Andrew Nacin
7a0720ec5e
Allow capability_type to be an array, for odd plural situations such as story/storys/stories. After registration it reverts to a singular string. Lots of documentation for meta capabilities and post types, also some cleanups for register_post_type documentation. see #14122 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15934 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 18:03:26 +00:00
Andrew Nacin
234efcf413
Use a consistent variable.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15933 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 17:51:18 +00:00
Andrew Nacin
cfde537391
Don't make redundant str_replace calls in link-template. props duck_.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15932 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 17:13:52 +00:00
scribu
f61e045d4d
Also convert uppercase letters in Latin Extended-B. See #9591
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15931 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 15:36:16 +00:00
scribu
e05be05ad8
remove_accents(): Nordic characters fixes. Props einare. Fixes #4739 . See #9591
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15930 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 13:00:21 +00:00
scribu
ed9a39abab
Introduce sanitize_title_for_query(). See #9591
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15929 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 12:55:55 +00:00
scribu
3081a12de2
Introduce _qv_basename() and apply it to hierarchical taxonomies. See #9591 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15923 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 22:54:05 +00:00
scribu
c87a8235ca
Remove debugging code in wp_check_term_hierarchy_for_loops(). See #14662
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15922 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 21:31:57 +00:00
scribu
890c0ead1c
Remove misplaced code in WP_Query::parse_tax_query(). See #12659
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15921 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 21:17:09 +00:00
Ryan Boren
efdb066697
Do not set role if it is the same. Props nickmomrik. fixes #14708
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15919 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 19:38:20 +00:00
Ryan Boren
f2dbc7d273
Fix media dialog keyPress handling. Props mdawaffe. fixes #14394
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15918 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 19:23:00 +00:00
Ryan Boren
fc73604019
Actions for adding and deleting meta. Props wojtek.szkutnik mitchoyoshitaka. fixes #14173
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15917 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 19:18:33 +00:00
Ryan Boren
3e32b5318a
Use underscore separator
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15916 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 19:10:23 +00:00
Ryan Boren
1926094622
Fix attribute spacing. Props Utkarsh. see #14772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15915 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 18:59:06 +00:00
Ryan Boren
3507043ba1
Remove redundant logged in check. Props neoxx. see #14772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15914 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 18:42:26 +00:00
Dion Hulse
80fc91b2ed
Support wildcard domains in WP_PROXY_BYPASS_HOSTS and WP_ACCESSIBLE_HOSTS. Fixes #14636
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15911 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 10:27:35 +00:00
Andrew Nacin
146a8cf16c
Revisions and attachments should also generate meta capabilities as part of their cap object. see #14122 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15909 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 00:25:14 +00:00
Andrew Nacin
7e48ac3e78
Pruning shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15904 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 19:55:28 +00:00
Andrew Nacin
6a5a1b338b
s/ms-options/settings. props PeteMall, fixes #14826 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15899 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 17:09:15 +00:00
Andrew Nacin
96052a12a5
Only dumb down delete_others_posts if it deserves to exist. fixes a notice. see #14122 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15897 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 16:28:35 +00:00
Andrew Nacin
6d20960c97
Pass user object through _wp_get_user_contactmethods() to the user_contactmethods filter. props aaroncampbell, fixes #15186 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15896 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:42:06 +00:00
Andrew Nacin
c5b02e9685
Clean up get_post_type_capabilities. Don't bother with new capabilities for edit_others_posts and delete_others_posts if the post type does not support authors.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15892 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:05:10 +00:00
Andrew Nacin
3732810a25
Only check the post author if the post type supports authors. see #14122 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15891 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 14:55:15 +00:00
Andrew Nacin
71ebaa6170
Rough first pass on map_meta_cap for custom post types. see #14122 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15890 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 14:40:04 +00:00
scribu
8315655230
Revert accidental changes to WP_Query made in [15887]. See #14163
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15888 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 14:06:52 +00:00
scribu
a3ef15ffc0
Allow filtering comments by user_id via URL. Props neoxx. Fixes #14163
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15887 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 14:03:25 +00:00
Andrew Nacin
142fcc3a35
Fix html in WP_Object_Cache::stats. props Utkarsh, fixes #15183 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15884 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 13:15:24 +00:00
Andrew Nacin
f77e992298
Kill off get_users_of_blog args argument.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15883 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 13:12:05 +00:00
Ryan Boren
682376a2ae
Use get_users() instead of get_users_of_blog(). Props scribu. see #15053
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15882 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 13:08:47 +00:00
Mark Jaquith
9a7f5ef8df
Push capital P filter back behind the wpautop one to catch Wordpress after opening HTML tag
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15877 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 22:44:15 +00:00
Ryan Boren
76b207939d
Add query args argument to get_users_of_blog(). Limit number of users fetched for user lists in sites table and edit blog form. see #15053
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15876 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 20:43:32 +00:00
Ryan Boren
4c3535a58d
Update network-wide active user and blog counts via a cron job to avoid costly count queries. see #15170
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15875 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 20:22:14 +00:00
scribu
188f3458f9
Fix tax=term1+term2 queries. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15874 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 19:00:57 +00:00
Andrew Nacin
4568da6764
Make get_users arg optional. props duck_. see #14572 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15873 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 17:21:06 +00:00
Ryan Boren
386694bb79
Schedule update checks from an init hook. see #15148
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15872 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 16:50:57 +00:00
Peter Westwood
18fb594129
Fix variable mis-name.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15865 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 13:38:50 +00:00
Ryan Boren
debdb6e258
Equal equal equal. see #14772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15864 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 13:27:55 +00:00
Ryan Boren
74ef68d6ce
show_admin_bar(). see #14772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15863 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 13:23:39 +00:00
Ryan Boren
8dcf52eeec
admin_bar_init action. see #14772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15862 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 13:07:54 +00:00
scribu
49a2a5e3dd
Get rid of $taxonomy_query_vars altogether. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15861 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 12:12:31 +00:00
scribu
2b08f69b50
Fix 'taxonomy' and 'term' query var logic. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15860 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 12:07:23 +00:00
Andrew Nacin
0aba879b95
Remove Lucida Grande from the sans serif font stack. fixes #8352 , props iammattthomas.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15858 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 10:30:28 +00:00
Andrew Nacin
95ac3fc067
Body classes for custom taxonomies and terms. props nkuttler, fixes #15017 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15856 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 09:32:16 +00:00
scribu
5242abafb1
Make $id arg optional in the_terms(). Fixes #15160
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15855 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 22:46:26 +00:00
scribu
3b3a5e8461
Correct dockblock for the_terms()
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15854 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 22:41:34 +00:00
scribu
c5520dab32
Don't stomp on posts_per_page in get_posts(). Props bobbyblade. Fixes #15150
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15852 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 17:08:32 +00:00
Ryan Boren
15cda12c28
Lose get_ordered_blogs_of_user() and set_visibility(). Not using them yet. see #14772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15851 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 15:32:33 +00:00
scribu
6b80426cfa
Re-add the ability to filter by 'taxonomy' and 'term' query vars. Fixes #13582 . See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15850 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 14:41:30 +00:00
Dion Hulse
1027248cee
Limit wp_old_slug_redirect() to redirecting to only posts of the same post_type kind. See #15140
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15848 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 10:27:34 +00:00
Dion Hulse
f5b6addcdb
Fix current-cat & current-cat-parent classes for Category listings for non-category taxonomies. General cleanup of wp_list_categories() sanity checking. Props TheDeadMedic for the initial taxonomy patch. Fixes #15143
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15847 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 10:10:11 +00:00
Andrew Nacin
443d5fc7d8
Doc fixes for wp_find_hierarchy_loop. props mdawaffe, fixes #14662 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15846 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 08:16:10 +00:00
Andrew Nacin
22ba9295bf
Introduce show_in_menu for register_post_type. Allows post types to be a submenu. Accepts boolean and also a parent base. With help from duck_. fixes #14145 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15844 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:58:02 +00:00
Andrew Nacin
fb4e38b0e7
Pinking shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:48:22 +00:00
Andrew Nacin
fc71934f11
Full @since's for 3.1.0.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15842 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:38:42 +00:00
Andrew Nacin
44bf886cb9
Inline docs for _get_last_post_time helper.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15841 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:35:12 +00:00
Andrew Nacin
8a4fe8b2a0
Restore jQ noConflict. props filosofo, fixes #15147 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15840 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:26:52 +00:00
scribu
dfbe420d9c
Get rid of wp_cache_key(), as it's not really that useful. See [15838]
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15839 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 21:54:39 +00:00
scribu
e62f41c374
Fix custom post type feed when no regular posts present. Props aaroncampbell for initial patch. Fixes #14922
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15838 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 21:06:49 +00:00
Ryan Boren
d5bd0ffd71
Introduce schedule_event filter. fixes #15146
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15837 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 20:50:35 +00:00
Ryan Boren
122a2981c4
Allow flagging of a blog as mature via a URL. Move some actions into update_blog_status(). Props Viper007Bond. fixes #14385
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15836 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 18:53:47 +00:00
Ryan Boren
77b8718db9
Remove get_current_screen() call
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15835 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 18:23:46 +00:00
Ryan Boren
8b610e7c83
Allow turning off the admin bar via WP_SHOW_ADMIN_BAR constant, no_admin_bar() function, or show_admin_bar filter. see #14772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15834 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 17:58:36 +00:00
Ryan Boren
cdafd5fe89
Cache invalidation for get_blogs_of_user(). fixes #14379
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15833 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 17:11:00 +00:00
Dion Hulse
5a1373ddd6
Use $wpdb->prepare in wp_old_slug_redirect(). See #15140
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15832 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 11:44:19 +00:00
Dion Hulse
846ef7d8c3
Save _wp_old_slug for all published post_type's, brings old-slug redirection to Posts and CPT's. See #15140
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15831 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 11:24:29 +00:00
scribu
9cd7bdec08
Apply filter in plugin_basename(). Props vladimir_kolesnikov. Fixes #13550
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15829 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 13:47:40 +00:00
Andrew Nacin
b7ffec08f8
Allow disabling of custom header uploads via remove_theme_support. props jorbin, fixes #14837 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15828 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 07:12:34 +00:00
Dion Hulse
a5da762a4e
Prevent notices on non-existent Term locations (such as /tag/404-non-existant-term/)
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15827 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 06:14:58 +00:00
Dion Hulse
20e3b23a80
Remove missed tokens in [15825]. See #12659
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15826 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 06:10:53 +00:00
Dion Hulse
d7b230ca26
Merge Category/Tag URL creation/rewriting into general Taxonomy system. Removes the legacy handling for these url's. See #12659
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15825 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 05:41:22 +00:00
Dion Hulse
a47b78e95b
Move hierarchical_url to $args['rewrite']['hierarchical']
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15824 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 04:36:26 +00:00
Andrew Ozz
839bad194f
Editor: stop inserting empty paragraphs before/after captioned images, see #15095
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15822 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-16 22:11:31 +00:00
Andrew Nacin
e2ecc45d62
jQuery 1.4.3. props demetris. fixes #15135 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15821 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-16 14:05:58 +00:00
Andrew Nacin
38092bb128
Custom post type archives, second pass. see #13818 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15819 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 19:44:57 +00:00
Ryan Boren
227e02298a
nav_menu and post_format taxonomies should not be public. fixes #15107
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15818 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 14:53:55 +00:00
Ryan Boren
fe2b97b594
Remove dead code from get_next_posts_link(). Props filosofo. fixes #14850
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15817 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 14:43:31 +00:00
Ryan Boren
d66fa94a75
Improve regex performance in wptexturize(). Props mdawaffe. fixes #15093
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15816 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 14:34:38 +00:00
Peter Westwood
8e5e7a83aa
Group the quicktags js. Fixes #15124 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15814 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 13:43:34 +00:00
Andrew Nacin
85d1a2b5b4
Remove debug cruft.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15813 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 08:55:06 +00:00
Andrew Nacin
dde4381c70
Use map_meta_cap for multisite super admins in current_user_can_for_blog. props jamescollins, see #15122 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15812 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 06:47:40 +00:00
Peter Westwood
1da3c94e55
Display mysql_connect errors when WP_DEBUG is enabled. Fixes #14654 props lloydbudd and hakre
...
Always die if we can't connect to the db no point in going any futher.
git-svn-id: https://develop.svn.wordpress.org/trunk@15808 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 18:47:39 +00:00
Ryan Boren
8e1da911a2
Prevent post and term hierarchy loops. Props mdawaffe. fixes #14662
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15806 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 15:09:04 +00:00
Andrew Nacin
cb3396d39c
Use correct variable. see #13818 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15804 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 11:31:48 +00:00
Andrew Nacin
86ab32a196
Custom post type archives. see #13818 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15803 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 10:39:47 +00:00
scribu
ba394c63a4
Rename get_edit_term_url() to get_edit_term_link() for consistency. See #9702
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15801 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 08:47:41 +00:00
scribu
2e0bd92a09
get_edit_term_link() improvements:
...
* add optional $object_type parameter
* make $term_id and $taxonomy parameters mandatory
* pass all relevant information to the filter
* use in WP_Terms_Table
See #9702
git-svn-id: https://develop.svn.wordpress.org/trunk@15800 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 07:35:13 +00:00
Ryan Boren
cd1fc3faa2
Don't hide empty terms when determing exclude trees. Props layotte. fixes #14446
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15797 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 20:12:20 +00:00
scribu
50a6be80d4
Don't look in in WP->parse_request(). See #15112
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15796 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 16:55:58 +00:00
scribu
ea756a6b40
Sacrifice DRY for readability in WP_Query. Props nacin for initial patch. See #14997
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15795 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 16:37:01 +00:00
scribu
d5e50c918b
Add posts_clauses_request filter too. Props hakre. See #14997
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15794 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 15:49:26 +00:00
scribu
0ed3d0b176
Don't attempt to convert objects to strings in WP->parse_request(). Fixes #14330
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15793 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 15:21:19 +00:00
scribu
057abe87e0
Introduce edit_term_link() and get_term_url(). Props yoast. Fixes #9702
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15792 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 14:54:21 +00:00
scribu
6d33bb68e9
Restore previous filter order in WP_Query. See #14997
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15791 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 13:45:53 +00:00
Andrew Nacin
5e37bb785a
s/showposts/posts_per_page/
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15788 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 05:25:00 +00:00
scribu
e87af16398
first pass at strength indicator on password reset. see #5919
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15782 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 21:37:01 +00:00
scribu
33077f83fa
move password-strength-meter.js into user-profile.js. See #5919
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15780 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 20:29:19 +00:00
Ryan Boren
40dade4c0e
Allow deleting a format. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15779 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 19:43:54 +00:00
Ryan Boren
0ccec0d6f1
has_post_format(). see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15778 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 19:25:58 +00:00
Ryan Boren
b1beb9c211
Post formats, take one. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15777 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 18:33:14 +00:00
scribu
53d8aaf3fc
Introduce wp_query_clauses filter. Fixes #14997
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15775 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-11 15:04:44 +00:00
scribu
b3bcb5f77e
Remove redundant call to function_exists() in wp_nav_menu(). Fixes #15094
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15774 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-11 13:21:08 +00:00
scribu
253cc18443
don't re-urlencode taxonomy query vars. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15773 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-11 12:18:42 +00:00
Andrew Nacin
2657fa5a5b
Make it explicit that you can set fallback_cb to false in wp_nav_menu.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15772 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-11 03:16:45 +00:00
scribu
e5354a9e00
Allow string as first parameter to locate_template(). Props chrisbliss18 for initial patch. Fixes #15061
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15771 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-10 22:10:36 +00:00
scribu
6e89ca7bff
Make parse_reques() set empty variables. Props filosofo for initial patch. Fixes #10710
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15770 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-10 20:02:26 +00:00
Andrew Nacin
e47fb410bc
s/blog/site/ on the admin bar code. props markmcwilliams, see #14772 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15769 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 12:22:00 +00:00
scribu
a080a0a289
Fix warning caused by empty meta query. See #14645
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15768 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 12:18:52 +00:00
Andrew Nacin
69b3664fe0
esc_html in WP_Object_Cache::stats(). fixes #15003 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15767 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 11:38:12 +00:00
scribu
a3ee8cac1a
Get rid of redundant $this->meta_query. See #14645
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15766 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 10:48:13 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
c20a7fc441
Do not load adminbar css in media uploader. See #14772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15696 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 04:16:33 +00:00
Dion Hulse
57f3dab19d
Do not show admin bar in update iframes. See #14772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15695 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 04:11:34 +00:00
Dion Hulse
7feec6e344
Fix return false; for Adminbar Blog info.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15694 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 03:15:35 +00:00