Commit Graph

14655 Commits

Author SHA1 Message Date
scribu 82a68a8979 Use isset() instead of '@'. Props Utkarsh. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15893 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:15:50 +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
Andrew Nacin a2061db4b5 Use correct class.
git-svn-id: https://develop.svn.wordpress.org/trunk@15889 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 14:20:40 +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
Ryan Boren e93f819e09 Move add site form to site-new.php. see #15174
git-svn-id: https://develop.svn.wordpress.org/trunk@15886 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 13:49:49 +00:00
Ryan Boren 238431b624 Add network/update-core.php. see #15162
git-svn-id: https://develop.svn.wordpress.org/trunk@15885 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 13:15:27 +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
Andrew Nacin c4d5a5e4a6 Encode the amp in the edit-tags menu link for pages. props blepoxp, see #14489 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15881 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 12:42:48 +00:00
Andrew Nacin 60526c0fc8 Doc blocks for wp-admin/network. see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@15880 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 11:21:13 +00:00
Andrew Nacin 333d76f339 Doc blocks for wp-admin/user. see #14696.
git-svn-id: https://develop.svn.wordpress.org/trunk@15879 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 11:14:22 +00:00
Andrew Nacin 82cd99503e Dashboard widgets in the network admin. props PeteMall. see #15163.
git-svn-id: https://develop.svn.wordpress.org/trunk@15878 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 10:06:17 +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
Ryan Boren 7734b05a71 Add update-core to network admin. Props PeteMall. see #15162
git-svn-id: https://develop.svn.wordpress.org/trunk@15871 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 16:38:00 +00:00
Andrew Nacin 5382542c1a Add some more network admin logic to the plugins list table. fixes #15166.
git-svn-id: https://develop.svn.wordpress.org/trunk@15870 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 16:09:55 +00:00
Andrew Nacin e745378cab Fix dashboard menu icon in network admin. props PeteMall, see #14435.
git-svn-id: https://develop.svn.wordpress.org/trunk@15869 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 14:52:10 +00:00
Andrew Nacin ba2d60c7fd Cast before implode. fixes #15167.
git-svn-id: https://develop.svn.wordpress.org/trunk@15868 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 14:22:47 +00:00
Ryan Boren 771bf8b862 Add plugin update notifications, plugin install, plugin update to the network admin screen. Props PeteMall. see #15129
git-svn-id: https://develop.svn.wordpress.org/trunk@15867 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 14:16:03 +00:00
Ryan Boren c9c814ab8c Improved self determination. Props PeteMall. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15866 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 14:08:29 +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 8c710ff5e8 Add files we've deleted thus far to update-core.
git-svn-id: https://develop.svn.wordpress.org/trunk@15859 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 11:56:04 +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 92bf5ec246 Remove wp-admin/sidebar.php. fixes #15164.
git-svn-id: https://develop.svn.wordpress.org/trunk@15857 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 09:58:21 +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
Ryan Boren 898e5b0268 Plugin editing for network admin. Props PeteMall. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15853 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 18:23:23 +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 43bfe31ce2 Prevent Notices in Incoming links widget. Fixes #14617
git-svn-id: https://develop.svn.wordpress.org/trunk@15849 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 10:52:46 +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 19f0fffed4 Remove debug cruft in [15844].
git-svn-id: https://develop.svn.wordpress.org/trunk@15845 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:59:26 +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