Commit Graph

14233 Commits

Author SHA1 Message Date
Andrew Nacin
1c24b9d9e8 Remove debug cruft. see [15662].
git-svn-id: https://develop.svn.wordpress.org/trunk@15663 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 09:19:17 +00:00
Andrew Nacin
7639bd04c7 Prevent the $title global from being stomped. Caused by merger of manage_columns_prefs() into screen_meta() in [15653]. see #14952, see #14776. The global is apparent cruft as the function doesn't use it.
git-svn-id: https://develop.svn.wordpress.org/trunk@15662 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 09:16:38 +00:00
Andrew Nacin
6aea75f676 Add a post type class to screen icons. props jfarthing84 for initial patch. see #14959.
git-svn-id: https://develop.svn.wordpress.org/trunk@15661 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 08:51:34 +00:00
Andrew Nacin
f445cbf975 Have get_boundary_post sort by post_date, not ID. props scribu, jk0. fixes #14035.
git-svn-id: https://develop.svn.wordpress.org/trunk@15660 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 08:31:16 +00:00
Dion Hulse
ff7ef3edd4 Only show the Password Strength Meter when JavaScript is available. Fixes #14943
git-svn-id: https://develop.svn.wordpress.org/trunk@15659 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-25 10:58:01 +00:00
Ryan Boren
0f59f34cc0 Fix header positioning in IE9. Props iandstewart. fixes #14883
git-svn-id: https://develop.svn.wordpress.org/trunk@15658 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 19:56:56 +00:00
scribu
60adebf724 Remove misplaced code introduced in [15653]. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15657 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 19:38:21 +00:00
Ryan Boren
36d2d868d5 Feature filter visuals. First pass. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15656 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 18:50:31 +00:00
Ryan Boren
beb20a5bd5 get_theme_feature_list() replaces install_themes_feature_list(). Does translation and works if feature_list is not accessible from api.wordpress.org. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15655 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 15:28:28 +00:00
scribu
d4eecd8787 get_objects_in_term(): include term children when querying by slug. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15654 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 14:08:07 +00:00
scribu
861c929165 Column headers revamp:
* undeprecate get_column_headers()
	* undeprecate get_hidden_columns()
	* in WP_List_Table, rename get_column_headers() to get_column_info()
	* remove $taxonomy argument from single_row()
	* merge manage_columns_prefs() into screen_meta()
Fixes #14952. Fixes #14776.


git-svn-id: https://develop.svn.wordpress.org/trunk@15653 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 13:35:06 +00:00
Dion Hulse
b5f0bf47ac Do not generate invalid SQL for empty term archives. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15652 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 12:09:44 +00:00
Dion Hulse
a59d598281 Use the correct term_id field in get_body_class().
git-svn-id: https://develop.svn.wordpress.org/trunk@15651 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 11:58:21 +00:00
scribu
d004c99ea6 Consistently set $post_type to 'any' when a taxonomy query is involved. See [15649]. See #14589
git-svn-id: https://develop.svn.wordpress.org/trunk@15650 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-23 23:19:47 +00:00
scribu
9e37c78da3 Set $post_type to 'any' when taxonomies are involved (code resqued from r15613). See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15649 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-23 23:11:49 +00:00
Peter Westwood
bf13c1921f Complete the move to a seperate class file for #14820 props filosofo.
Add support for replacing the class used. Fixes #14814 props filosofo.

git-svn-id: https://develop.svn.wordpress.org/trunk@15648 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-23 21:38:28 +00:00
Peter Westwood
620f094eb7 First part of #14820. Copy the file to preserve history. Props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@15647 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-23 21:22:21 +00:00
Ryan Boren
73f10a4468 Options list for current theme. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15646 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-22 17:23:38 +00:00
Ryan Boren
45c4e0dc1b Options list for current theme. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15645 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-22 17:23:00 +00:00
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