Ryan Boren
e541559b37
Theme searching. First pass. see #14936
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15644 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-22 15:28:03 +00:00
scribu
b7be962c6b
Make login css more flexible. Props joelhardi. Fixes #7763
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15643 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-22 15:26:16 +00:00
scribu
728285edbd
Introduce WP_List_Table::current_action() and use throughout admin list screens. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15642 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-22 00:10:39 +00:00
Ryan Boren
6121bb1234
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: https://develop.svn.wordpress.org/trunk@15641 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-21 19:41:35 +00:00
Andrew Nacin
6131f69f23
Provide an example for add_role() capabilities argument. props simonwheatley, fixes #14918 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15640 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-21 14:52:03 +00:00
Ryan Boren
1b0446409c
Revert [15637]. Still needed for PHP4.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15639 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-20 19:17:47 +00:00
Andrew Nacin
5963feeca6
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: https://develop.svn.wordpress.org/trunk@15638 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-20 19:13:47 +00:00
Ryan Boren
5207524203
Remove annoying, useless construcotrs. Props Rasmus. http://talks.php.net/show/confoo10/8
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15637 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-20 18:53:03 +00:00
Ryan Boren
d46e7dbfc0
Speed up is_serialized() with strpbrk(). Props Rasmus. see #14429
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15636 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-20 18:11:06 +00:00
Ryan Boren
df6d5550db
Simplify sanitize_key() and use it in more places. see #14910
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15635 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-20 15:28:58 +00:00
scribu
a6d9954621
Clarify code in wp_load_alloptions(). Props joelhardi. Fixes #14896
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15634 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-19 11:08:20 +00:00
scribu
523e35615c
Map 'approved' comment view to 'approve' comment status. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15633 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 19:51:53 +00:00
scribu
2e97d45693
WP_Terms_Table cleanup:
...
* use column_*() methods
* remove $taxonomy argument from single_row()
* don't calculate tag full name in admin-ajax.php
See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15632 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 19:30:53 +00:00
scribu
b55b06e466
Introduce get_ancestors(). Props filosofo. Fixes #12443
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15631 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 19:20:16 +00:00
scribu
82b8a56920
WP_Comments_Table cleanup:
...
* use column_*() methods
* remove extra arguments from single_row()
* introduce derived class WP_Post_Comments_Table for handling the post metabox comments
* use $pending_count property instead of $_comment_pending_count global
See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15630 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 17:46:29 +00:00
scribu
6c744c7278
Extra single_row_columns() out of single_row() for increased flexibility. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15629 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 17:21:32 +00:00
scribu
208ce10e09
Remove unused edit-*-rows.php files. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15628 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 17:17:29 +00:00
Andrew Nacin
17e249f359
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: https://develop.svn.wordpress.org/trunk@15627 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-17 22:35:05 +00:00
scribu
03a3e5c1d9
Don't require category__in, tag__in etc. to be arrays necessarily. Fixes #14892
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15626 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-17 22:27:22 +00:00
scribu
c1ce7ddc38
Remove extraneous sanitization of category_name. Leave it to wp_tax_query(). See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15625 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-17 17:07:11 +00:00
scribu
89382ae313
Allow plugins to manipulate the meta query args. See #14645
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15624 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-17 16:08:35 +00:00
scribu
d9039c38d7
Apply filter to wp_get_current_commenter(). Fixes #14878
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15623 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-16 20:48:18 +00:00
scribu
6a582df334
Add default display_rows() and single_row() methods to WP_List_Table. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15622 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-16 20:07:39 +00:00
scribu
98d1045606
use get_user_count() in get_sitestats()
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15621 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-15 20:13:31 +00:00
scribu
322e323b26
Clean up wp_list_authors(). See #10329
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15620 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-15 19:52:25 +00:00
scribu
30581c2d4d
Fix border radius in login form. Props filosofo. Fixes #14872
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15619 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-15 09:24:11 +00:00
Andrew Nacin
76a83d9086
Correct typo and use full blogs.dir path. props filosofo, fixes #14871 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15618 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-14 16:53:28 +00:00
Andrew Nacin
003a617439
Some docs and corrections to _wp_link_page().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15617 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-14 16:48:38 +00:00
Andrew Nacin
b75eb167cd
Make note of an optional argument. props hakre, fixes #14870 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15616 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-14 16:22:55 +00:00
scribu
6ffb0e718e
Calculate term count using $wp_query->tax_query. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15615 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-14 11:34:40 +00:00
Andrew Nacin
66874878a1
Don't show the default password nag on the profile screen. props duck_, fixes #14861 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15614 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-13 16:49:04 +00:00
scribu
5c95616ce8
Clean up taxonomy queries in WP_Query. See #12891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15613 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-13 16:44:14 +00:00
scribu
3e1de4ae9a
Update Incutio XML-RPC Library to latest version (1.7.4). Props hakre. Fixes #14703
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15612 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-13 16:36:08 +00:00
scribu
0b09ec156f
Apply filters consistently in get_*_template() functions. Fixes #14310
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15611 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-12 18:46:18 +00:00
potbot
6a594b3d11
POT, generated from r15609
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15610 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-12 16:21:34 +00:00
Andrew Nacin
63247d6dc3
Fix image size handling in Twenty Ten. props lancewillett, iandstewart, see #14303 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15609 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-12 15:21:29 +00:00
Andrew Nacin
fc00e5842f
More efficient is_super_admin(). Don't call new WP_User on the current user. props mdawaffe, fixes #14842 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15608 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-10 23:24:34 +00:00
Andrew Nacin
be0b363c5c
Fix UPLOADS constant. see #14840 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15607 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-10 20:29:19 +00:00
Andrew Nacin
32661cca41
Don't try to load WP in admin-ajax if we have no action to take.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15606 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-10 17:02:55 +00:00
scribu
7bf97e4ab2
Fix posts screen for contributors. Fixes #14822
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15605 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 22:22:36 +00:00
Peter Westwood
bb132059a3
Apply some bandaid to WP_Comments_Table::prepare_items() to cover more of the different ways we include post IDs in urls/ajax queries.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15604 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 20:34:40 +00:00
scribu
9d784b7329
Fix MS User search. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15603 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 10:20:07 +00:00
scribu
84771d91a8
Fix MS Sites nonce. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15602 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 10:17:31 +00:00
Mark Jaquith
80055bcec2
wp_dequeue_script() and wp_dequeue_style(). fixes #14815 . props scribu
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15601 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 04:42:47 +00:00
Andrew Nacin
5c05a437a9
Add force_filtered_html_on_import filter. fixes #14818 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15600 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 02:43:18 +00:00
scribu
23850cf615
Replace is_term() with is_tax(). See #14161
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15599 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-08 16:58:58 +00:00
scribu
14a8208e07
Clean up single_cat_title(), single_tag_title() and wp_title(). Fixes #14161
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15598 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-08 16:21:13 +00:00
scribu
67cb12cebb
Fix delete plugin links. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15597 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-08 12:15:50 +00:00
scribu
b1def7dad8
Introduce 'edit_comment' meta cap. Fixes #14520
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15596 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 23:35:28 +00:00
Andrew Nacin
7845df0f09
Return the character range removed in [15594]. fixes #14633 , props demetris.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15595 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 17:52:43 +00:00