Commit Graph

14408 Commits

Author SHA1 Message Date
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
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 0911aa3e1a Use submit_button() in more places. See #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@15830 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 18:24:34 +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
Dion Hulse cc59063ea9 The Hook that never was. Use correct / Revert back-compat hookname changes in [15820]. See #12285
git-svn-id: https://develop.svn.wordpress.org/trunk@15823 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-16 23:50:09 +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
scribu 85c1dd25c5 Get rid of old link category management files. Fixes #12285
git-svn-id: https://develop.svn.wordpress.org/trunk@15820 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-16 13:26:54 +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
Ryan Boren b92ecce757 Nav menu phpdoc updates. Props Utkarsh. fixes #15125
git-svn-id: https://develop.svn.wordpress.org/trunk@15815 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 14:05:33 +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
Ryan Boren 3cc3e289d3 Require plugin.php earlier so all pluggables can get at it. Props skeltoac. fixes #15042
git-svn-id: https://develop.svn.wordpress.org/trunk@15811 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 20:39:23 +00:00
scribu baa3e083c7 Introduce submit_button(). Props markjaquith for initial patch. See #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@15810 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 19:58:06 +00:00
Ryan Boren f94d3abee4 Remove undismissable 'new themes must be activated' super admin notice.
git-svn-id: https://develop.svn.wordpress.org/trunk@15809 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 19:07:05 +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 e81d40fa7f Hook up theme filter. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15807 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 18:37:08 +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
scribu 3bd3ec6455 Add hook in custom header admin page. Props blepoxp. Fixes #15119
git-svn-id: https://develop.svn.wordpress.org/trunk@15805 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 14:02:06 +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
Andrew Nacin 2e864d29ad Pass screen context to favorite_actions filter. props whoismanu, fixes #15117.
git-svn-id: https://develop.svn.wordpress.org/trunk@15802 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 09:53:04 +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 8da08f0073 Fix notice when creating users. Props coffee2code. fixes #14286
git-svn-id: https://develop.svn.wordpress.org/trunk@15799 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 20:26:43 +00:00
Ryan Boren f850029280 Don't show a term's descendants in the parent selector. Props mdawaffe. fixes #14663
git-svn-id: https://develop.svn.wordpress.org/trunk@15798 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 20:15:04 +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