Commit Graph

7089 Commits

Author SHA1 Message Date
ryan
a2ec5bfafa Introduce schedule_event filter. fixes #15146
git-svn-id: http://svn.automattic.com/wordpress/trunk@15837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 20:50:35 +00:00
ryan
72a9626c15 Allow flagging of a blog as mature via a URL. Move some actions into update_blog_status(). Props Viper007Bond. fixes #14385
git-svn-id: http://svn.automattic.com/wordpress/trunk@15836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 18:53:47 +00:00
ryan
bb6b103711 Remove get_current_screen() call
git-svn-id: http://svn.automattic.com/wordpress/trunk@15835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 18:23:46 +00:00
ryan
580bf5eead 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: http://svn.automattic.com/wordpress/trunk@15834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 17:58:36 +00:00
ryan
54ae23aa08 Cache invalidation for get_blogs_of_user(). fixes #14379
git-svn-id: http://svn.automattic.com/wordpress/trunk@15833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 17:11:00 +00:00
dd32
a034198225 Use $wpdb->prepare in wp_old_slug_redirect(). See #15140
git-svn-id: http://svn.automattic.com/wordpress/trunk@15832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 11:44:19 +00:00
dd32
7c046687ec Save _wp_old_slug for all published post_type's, brings old-slug redirection to Posts and CPT's. See #15140
git-svn-id: http://svn.automattic.com/wordpress/trunk@15831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 11:24:29 +00:00
scribu
af29ce4440 Apply filter in plugin_basename(). Props vladimir_kolesnikov. Fixes #13550
git-svn-id: http://svn.automattic.com/wordpress/trunk@15829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-17 13:47:40 +00:00
nacin
d91842f870 Allow disabling of custom header uploads via remove_theme_support. props jorbin, fixes #14837.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-17 07:12:34 +00:00
dd32
ddae2a0b15 Prevent notices on non-existent Term locations (such as /tag/404-non-existant-term/)
git-svn-id: http://svn.automattic.com/wordpress/trunk@15827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-17 06:14:58 +00:00
dd32
f76743d01a Remove missed tokens in [15825]. See #12659
git-svn-id: http://svn.automattic.com/wordpress/trunk@15826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-17 06:10:53 +00:00
dd32
81924ad20b Merge Category/Tag URL creation/rewriting into general Taxonomy system. Removes the legacy handling for these url's. See #12659
git-svn-id: http://svn.automattic.com/wordpress/trunk@15825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-17 05:41:22 +00:00
dd32
baa0935d9a Move hierarchical_url to $args['rewrite']['hierarchical']
git-svn-id: http://svn.automattic.com/wordpress/trunk@15824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-17 04:36:26 +00:00
azaozz
c62d0b2e1b Editor: stop inserting empty paragraphs before/after captioned images, see #15095
git-svn-id: http://svn.automattic.com/wordpress/trunk@15822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-16 22:11:31 +00:00
nacin
98f3c14240 jQuery 1.4.3. props demetris. fixes #15135.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-16 14:05:58 +00:00
nacin
7ef6752c9d Custom post type archives, second pass. see #13818.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-15 19:44:57 +00:00
ryan
3df9f849ce nav_menu and post_format taxonomies should not be public. fixes #15107
git-svn-id: http://svn.automattic.com/wordpress/trunk@15818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-15 14:53:55 +00:00
ryan
3706be0956 Remove dead code from get_next_posts_link(). Props filosofo. fixes #14850
git-svn-id: http://svn.automattic.com/wordpress/trunk@15817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-15 14:43:31 +00:00
ryan
fd2896de77 Improve regex performance in wptexturize(). Props mdawaffe. fixes #15093
git-svn-id: http://svn.automattic.com/wordpress/trunk@15816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-15 14:34:38 +00:00
westi
1ca31b7365 Group the quicktags js. Fixes #15124.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-15 13:43:34 +00:00
nacin
dbd2431a55 Remove debug cruft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-15 08:55:06 +00:00
nacin
21f2b80f97 Use map_meta_cap for multisite super admins in current_user_can_for_blog. props jamescollins, see #15122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-15 06:47:40 +00:00
westi
1bc8d5c12f 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: http://svn.automattic.com/wordpress/trunk@15808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 18:47:39 +00:00
ryan
0a01e66745 Prevent post and term hierarchy loops. Props mdawaffe. fixes #14662
git-svn-id: http://svn.automattic.com/wordpress/trunk@15806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 15:09:04 +00:00
nacin
142f9230f0 Use correct variable. see #13818.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 11:31:48 +00:00
nacin
eb8762d626 Custom post type archives. see #13818.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 10:39:47 +00:00
scribu
605476f2d0 Rename get_edit_term_url() to get_edit_term_link() for consistency. See #9702
git-svn-id: http://svn.automattic.com/wordpress/trunk@15801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 08:47:41 +00:00
scribu
76ffe532d4 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: http://svn.automattic.com/wordpress/trunk@15800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 07:35:13 +00:00
ryan
6ffa9e31d3 Don't hide empty terms when determing exclude trees. Props layotte. fixes #14446
git-svn-id: http://svn.automattic.com/wordpress/trunk@15797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 20:12:20 +00:00
scribu
b43424f94e Don't look in in WP->parse_request(). See #15112
git-svn-id: http://svn.automattic.com/wordpress/trunk@15796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 16:55:58 +00:00
scribu
22643b9464 Sacrifice DRY for readability in WP_Query. Props nacin for initial patch. See #14997
git-svn-id: http://svn.automattic.com/wordpress/trunk@15795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 16:37:01 +00:00
scribu
a9e671a75c Add posts_clauses_request filter too. Props hakre. See #14997
git-svn-id: http://svn.automattic.com/wordpress/trunk@15794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 15:49:26 +00:00
scribu
810b3a215f Don't attempt to convert objects to strings in WP->parse_request(). Fixes #14330
git-svn-id: http://svn.automattic.com/wordpress/trunk@15793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 15:21:19 +00:00
scribu
c9190d87d5 Introduce edit_term_link() and get_term_url(). Props yoast. Fixes #9702
git-svn-id: http://svn.automattic.com/wordpress/trunk@15792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 14:54:21 +00:00
scribu
47f98231a5 Restore previous filter order in WP_Query. See #14997
git-svn-id: http://svn.automattic.com/wordpress/trunk@15791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 13:45:53 +00:00
nacin
148dac95df s/showposts/posts_per_page/
git-svn-id: http://svn.automattic.com/wordpress/trunk@15788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-13 05:25:00 +00:00
scribu
119713f3da first pass at strength indicator on password reset. see #5919
git-svn-id: http://svn.automattic.com/wordpress/trunk@15782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-12 21:37:01 +00:00
scribu
08e984e5e8 move password-strength-meter.js into user-profile.js. See #5919
git-svn-id: http://svn.automattic.com/wordpress/trunk@15780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-12 20:29:19 +00:00
ryan
d082fbbb4f Allow deleting a format. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@15779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-12 19:43:54 +00:00
ryan
d753847050 has_post_format(). see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@15778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-12 19:25:58 +00:00
ryan
0982c3c0f9 Post formats, take one. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@15777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-12 18:33:14 +00:00
scribu
9b325e28ea Introduce wp_query_clauses filter. Fixes #14997
git-svn-id: http://svn.automattic.com/wordpress/trunk@15775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-11 15:04:44 +00:00
scribu
59a7f7f015 Remove redundant call to function_exists() in wp_nav_menu(). Fixes #15094
git-svn-id: http://svn.automattic.com/wordpress/trunk@15774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-11 13:21:08 +00:00
scribu
d1ba770236 don't re-urlencode taxonomy query vars. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@15773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-11 12:18:42 +00:00
nacin
57ccc147e2 Make it explicit that you can set fallback_cb to false in wp_nav_menu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-11 03:16:45 +00:00
scribu
f0d8d094e2 Allow string as first parameter to locate_template(). Props chrisbliss18 for initial patch. Fixes #15061
git-svn-id: http://svn.automattic.com/wordpress/trunk@15771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-10 22:10:36 +00:00
scribu
47b8974ca6 Make parse_reques() set empty variables. Props filosofo for initial patch. Fixes #10710
git-svn-id: http://svn.automattic.com/wordpress/trunk@15770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-10 20:02:26 +00:00
nacin
302259ee13 s/blog/site/ on the admin bar code. props markmcwilliams, see #14772.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 12:22:00 +00:00
scribu
ba8217c8df Fix warning caused by empty meta query. See #14645
git-svn-id: http://svn.automattic.com/wordpress/trunk@15768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 12:18:52 +00:00
nacin
7bb63ebe44 esc_html in WP_Object_Cache::stats(). fixes #15003.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-09 11:38:12 +00:00