scribu
|
41cdb90eb9
|
Make login css more flexible. Props joelhardi. Fixes #7763
git-svn-id: http://svn.automattic.com/wordpress/trunk@15643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-22 15:26:16 +00:00 |
ryan
|
f3d45472d2
|
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: http://svn.automattic.com/wordpress/trunk@15641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-21 19:41:35 +00:00 |
nacin
|
669b7b3e87
|
Provide an example for add_role() capabilities argument. props simonwheatley, fixes #14918.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-21 14:52:03 +00:00 |
ryan
|
2d360ad164
|
Revert [15637]. Still needed for PHP4.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-20 19:17:47 +00:00 |
nacin
|
9e97f25249
|
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: http://svn.automattic.com/wordpress/trunk@15638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-20 19:13:47 +00:00 |
ryan
|
bef67a04e2
|
Remove annoying, useless construcotrs. Props Rasmus. http://talks.php.net/show/confoo10/8
git-svn-id: http://svn.automattic.com/wordpress/trunk@15637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-20 18:53:03 +00:00 |
ryan
|
dbe85a7f46
|
Speed up is_serialized() with strpbrk(). Props Rasmus. see #14429
git-svn-id: http://svn.automattic.com/wordpress/trunk@15636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-20 18:11:06 +00:00 |
ryan
|
6b351163ef
|
Simplify sanitize_key() and use it in more places. see #14910
git-svn-id: http://svn.automattic.com/wordpress/trunk@15635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-20 15:28:58 +00:00 |
scribu
|
c2100074d3
|
Clarify code in wp_load_alloptions(). Props joelhardi. Fixes #14896
git-svn-id: http://svn.automattic.com/wordpress/trunk@15634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-19 11:08:20 +00:00 |
scribu
|
dea3a23691
|
Introduce get_ancestors(). Props filosofo. Fixes #12443
git-svn-id: http://svn.automattic.com/wordpress/trunk@15631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-18 19:20:16 +00:00 |
nacin
|
75cdf1c0c4
|
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: http://svn.automattic.com/wordpress/trunk@15627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-17 22:35:05 +00:00 |
scribu
|
168659371d
|
Don't require category__in, tag__in etc. to be arrays necessarily. Fixes #14892
git-svn-id: http://svn.automattic.com/wordpress/trunk@15626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-17 22:27:22 +00:00 |
scribu
|
17c867e74b
|
Remove extraneous sanitization of category_name. Leave it to wp_tax_query(). See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@15625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-17 17:07:11 +00:00 |
scribu
|
367e4916ee
|
Allow plugins to manipulate the meta query args. See #14645
git-svn-id: http://svn.automattic.com/wordpress/trunk@15624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-17 16:08:35 +00:00 |
scribu
|
d66d93ccab
|
Apply filter to wp_get_current_commenter(). Fixes #14878
git-svn-id: http://svn.automattic.com/wordpress/trunk@15623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-16 20:48:18 +00:00 |
scribu
|
91ab066e89
|
use get_user_count() in get_sitestats()
git-svn-id: http://svn.automattic.com/wordpress/trunk@15621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-15 20:13:31 +00:00 |
scribu
|
95ccbb88cf
|
Clean up wp_list_authors(). See #10329
git-svn-id: http://svn.automattic.com/wordpress/trunk@15620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-15 19:52:25 +00:00 |
scribu
|
abf924be2b
|
Fix border radius in login form. Props filosofo. Fixes #14872
git-svn-id: http://svn.automattic.com/wordpress/trunk@15619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-15 09:24:11 +00:00 |
nacin
|
2671e9cc72
|
Some docs and corrections to _wp_link_page().
git-svn-id: http://svn.automattic.com/wordpress/trunk@15617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-14 16:48:38 +00:00 |
nacin
|
3ad167f45d
|
Make note of an optional argument. props hakre, fixes #14870.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-14 16:22:55 +00:00 |
scribu
|
692b43a71b
|
Calculate term count using $wp_query->tax_query. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@15615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-14 11:34:40 +00:00 |
scribu
|
2030231f66
|
Clean up taxonomy queries in WP_Query. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@15613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-13 16:44:14 +00:00 |
scribu
|
ec7490bc41
|
Update Incutio XML-RPC Library to latest version (1.7.4). Props hakre. Fixes #14703
git-svn-id: http://svn.automattic.com/wordpress/trunk@15612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-13 16:36:08 +00:00 |
scribu
|
4c7deb41e7
|
Apply filters consistently in get_*_template() functions. Fixes #14310
git-svn-id: http://svn.automattic.com/wordpress/trunk@15611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-12 18:46:18 +00:00 |
nacin
|
ca725961c5
|
More efficient is_super_admin(). Don't call new WP_User on the current user. props mdawaffe, fixes #14842.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-10 23:24:34 +00:00 |
nacin
|
4850c82d1c
|
Fix UPLOADS constant. see #14840.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-10 20:29:19 +00:00 |
markjaquith
|
ab8bf0a05e
|
wp_dequeue_script() and wp_dequeue_style(). fixes #14815. props scribu
git-svn-id: http://svn.automattic.com/wordpress/trunk@15601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-09 04:42:47 +00:00 |
nacin
|
7e30a69c07
|
Add force_filtered_html_on_import filter. fixes #14818.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-09 02:43:18 +00:00 |
scribu
|
2570a9e7df
|
Replace is_term() with is_tax(). See #14161
git-svn-id: http://svn.automattic.com/wordpress/trunk@15599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-08 16:58:58 +00:00 |
scribu
|
6feafae8a1
|
Clean up single_cat_title(), single_tag_title() and wp_title(). Fixes #14161
git-svn-id: http://svn.automattic.com/wordpress/trunk@15598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-08 16:21:13 +00:00 |
scribu
|
449d62100e
|
Introduce 'edit_comment' meta cap. Fixes #14520
git-svn-id: http://svn.automattic.com/wordpress/trunk@15596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-07 23:35:28 +00:00 |
nacin
|
4e283a8047
|
Return the character range removed in [15594]. fixes #14633, props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-07 17:52:43 +00:00 |
nacin
|
d66295976c
|
Speak in full, clear sentences. props mrmist, fixes #14633.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-07 15:28:56 +00:00 |
nacin
|
aa0f906c84
|
Pass some context to the pre_comment_approved hook. props coffee2code, fixes #14802.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-07 14:36:35 +00:00 |
nacin
|
806f2d56a1
|
Only run update checks on the main site. fixes #14554.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-07 13:43:32 +00:00 |
nacin
|
5a20c05d27
|
Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-07 11:21:11 +00:00 |
markjaquith
|
4d44c562e4
|
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: http://svn.automattic.com/wordpress/trunk@15589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-07 04:46:08 +00:00 |
markjaquith
|
07c704aad2
|
Duplicate Save button for nav menus at the bottom. fixes #14265. props duck_
git-svn-id: http://svn.automattic.com/wordpress/trunk@15588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-07 04:40:53 +00:00 |
markjaquith
|
b01b411b45
|
Support custom post type links in wp_list_pages(). fixes #14177. props scribu
git-svn-id: http://svn.automattic.com/wordpress/trunk@15587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-07 04:31:07 +00:00 |
markjaquith
|
48ca617449
|
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: http://svn.automattic.com/wordpress/trunk@15586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-07 04:29:00 +00:00 |
markjaquith
|
722fde708c
|
More efficient calendar queries. fixes #8351. props vladimir_kolesnikov
git-svn-id: http://svn.automattic.com/wordpress/trunk@15585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-07 04:22:56 +00:00 |
markjaquith
|
e7c4ac4014
|
When doing current page highlighting logic, apply untrailingslashit() to everything so that slash additions or omissions still match. fixes #14208. props filosofo
git-svn-id: http://svn.automattic.com/wordpress/trunk@15584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-07 04:17:37 +00:00 |
markjaquith
|
437a0f5cbb
|
Do not cache terms indefinitely... use TTL of one day. fixes #11431. props Denis-de-Bernardy
git-svn-id: http://svn.automattic.com/wordpress/trunk@15583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-07 04:13:01 +00:00 |
scribu
|
f2c9a08521
|
Don't hardcode the pagination base. Fixes #12507
git-svn-id: http://svn.automattic.com/wordpress/trunk@15582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-07 01:18:42 +00:00 |
scribu
|
80e2918946
|
Use _wp_meta_sql() in WP_Query. See #14572. See #14645
git-svn-id: http://svn.automattic.com/wordpress/trunk@15581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-06 11:28:59 +00:00 |
scribu
|
c27d704999
|
Use multiple JOINs instead of CASE in _wp_meta_sql(). See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-06 11:04:50 +00:00 |
scribu
|
6fd94cd065
|
Rewrite WP_User_Query to use JOIN instead of subquery. See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-06 08:09:41 +00:00 |
scribu
|
7d0891ad85
|
Use get_users() in wp_dropdown_users(). See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-05 18:47:25 +00:00 |
scribu
|
7b26cd223f
|
Fix meta query in WP_User_Query. See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-05 15:30:10 +00:00 |
scribu
|
babd60d5d5
|
Don't suppress errors in _wp_meta_sql(). See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-09-05 14:54:55 +00:00 |