Commit Graph

5979 Commits

Author SHA1 Message Date
nacin c345aa4b0b Allow get_(previous|adjacent|next)_post() to be used on attachment and !single templates. props jobjorn, fixes #10867
git-svn-id: http://svn.automattic.com/wordpress/trunk@13475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 00:00:43 +00:00
nacin bdd5e1755a get_bloginfo('wpurl') should use site_url(), not get_option('siteurl'). see #9008
git-svn-id: http://svn.automattic.com/wordpress/trunk@13474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 23:22:56 +00:00
wpmuguru fcf6942d33 more menu improvements, props ptahdunbar, see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 23:06:56 +00:00
nacin 6df81f3d95 Escape mod_$theme option name. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 20:26:37 +00:00
nacin 56c3658154 Add some whitespace to get_body_class(). props coffee2code. Clarify fallback parameter in sanitize_html_class(). see #11331
git-svn-id: http://svn.automattic.com/wordpress/trunk@13468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 20:06:35 +00:00
nacin 9ee57d58a4 Standardize filters for single_(post|cat|tag|month)_title() on strip_tags() and wptexturize(). fixes #10900 props scribu
git-svn-id: http://svn.automattic.com/wordpress/trunk@13467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 18:57:04 +00:00
nacin d662f07784 Deprecate get_profile() for get_the_author_meta(). fixes #10695, props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 18:11:45 +00:00
nacin 325b5f6737 Pass post ID to post_class filter, even when calling post_class() without parameters in the loop. fixes #11878
git-svn-id: http://svn.automattic.com/wordpress/trunk@13462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 17:49:49 +00:00
wpmuguru 1c87155b6d warnings cleanup on archived/suspended sites, fixes #12396
git-svn-id: http://svn.automattic.com/wordpress/trunk@13461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 17:48:37 +00:00
wpmuguru 21f661bdf0 warnings cleanup, dont show removed user in edit site, fixes #12409
git-svn-id: http://svn.automattic.com/wordpress/trunk@13460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 17:27:34 +00:00
nacin 1cade6654c Allow multiple To: recipients in wp_mail(). Improve handling of \r\n in headers and multiple CC/BCC headers. fixes #10420
git-svn-id: http://svn.automattic.com/wordpress/trunk@13456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 16:10:45 +00:00
nacin 1a511e40e1 Add wpdb::replace() for replace queries. props AaronCampbell fixes #10864
git-svn-id: http://svn.automattic.com/wordpress/trunk@13454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 15:45:09 +00:00
nacin 9797dacaa0 add_editor_style() third pass. better performance and better child theme support. see #11512
git-svn-id: http://svn.automattic.com/wordpress/trunk@13453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 07:36:35 +00:00
dd32 af48ab61de New files svn:eol-style: native.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 03:37:38 +00:00
nacin 59b2461dcf add_editor_style(), second pass. Accept an array of stylesheets, also allow multiple calls to the function. Support child themes. See #9015 see #11512
git-svn-id: http://svn.automattic.com/wordpress/trunk@13444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 21:07:41 +00:00
nacin 45748141c0 Introduce add_editor_style() to easily register a stylesheet for the visual editor. see #11512 see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 20:12:06 +00:00
nacin 84269822eb Small fix to [13433], see #10788
git-svn-id: http://svn.automattic.com/wordpress/trunk@13439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 19:26:51 +00:00
nacin 1ef299159c Introduce add_permastruct() and flush_rewrite_rules(), wrappers for the corresponding WP_Rewrite methods. Fixes #10912 props scribu
git-svn-id: http://svn.automattic.com/wordpress/trunk@13438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 19:23:58 +00:00
nacin 90fe1465d3 s/cancelled/canceled/
git-svn-id: http://svn.automattic.com/wordpress/trunk@13437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 19:12:27 +00:00
nacin 90a8933105 One less variable assignment in timer_start and timer_start. props hakre fixes #12389
git-svn-id: http://svn.automattic.com/wordpress/trunk@13436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 19:09:29 +00:00
nacin da2634030a Add comment_duplicate_trigger hook that is fired when a duplicate comment is detected. Fixes #12188
git-svn-id: http://svn.automattic.com/wordpress/trunk@13434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 19:06:09 +00:00
nacin c277384459 Consistently pass unserialized values to hooks in update_site_option(). Change add_option() and add_site_option() to do the same. Any plugin using maybe_unserialize() would continue to work as the value would no longer need to be unserialized. fixes #10788
git-svn-id: http://svn.automattic.com/wordpress/trunk@13433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 18:51:37 +00:00
nacin f1f86f16e3 Remove explicit references to the post ID from moderation and comment e-mails. Fixes #12388
git-svn-id: http://svn.automattic.com/wordpress/trunk@13432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 17:18:59 +00:00
nacin 4b88d15411 Add pre_insert_term hook to wp_insert_term(). fixes #10943 props sirzooro
git-svn-id: http://svn.automattic.com/wordpress/trunk@13430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 07:40:35 +00:00
nacin a208566e67 Suppress potential is_readable() warning. Fixes #12148 props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@13429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 07:25:10 +00:00
nacin a8e56e49ec Use is_ssl() in place of manual SERVER['HTTPS'] == 'on' checks. fixes #11885
git-svn-id: http://svn.automattic.com/wordpress/trunk@13427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 06:21:47 +00:00
nacin dbdc7a9e83 @since version numbers and other docs for wp-db. props hakre see #12362
git-svn-id: http://svn.automattic.com/wordpress/trunk@13426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 06:14:26 +00:00
nacin 8b4e58529b A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
git-svn-id: http://svn.automattic.com/wordpress/trunk@13425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 05:46:08 +00:00
nacin bf207bc6e6 Reject numeric page slugs as they don't work, and force a suffix. Props miqrogroove see #11917
git-svn-id: http://svn.automattic.com/wordpress/trunk@13424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 04:53:30 +00:00
nacin 0b66fc91e0 Clean up redundant defined() check. Props TobiasBg fixes #12375
git-svn-id: http://svn.automattic.com/wordpress/trunk@13422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 00:37:20 +00:00
wpmuguru 4dc6a43f96 always call set_blog_id after blog lookup, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 00:05:11 +00:00
ryan a3ae373902 Note theme support for custom background, header, and menus. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 22:04:59 +00:00
westi e2f5b1f6c9 Switch from POST_BY_EMAIL constant to enable post-by-email when multisite to a filter. See #12381.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 22:01:30 +00:00
ryan 2551152255 Allow themes to specify a menu fllback other than wp_page_menu(). see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 22:00:26 +00:00
westi e3cba9ffe7 '>"
git-svn-id: http://svn.automattic.com/wordpress/trunk@13414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:57:38 +00:00
westi 34d3291d32 Disable update service editing by default for multisite. See #12229.
Introduce __return_false for simple filtering. See #12381.

git-svn-id: http://svn.automattic.com/wordpress/trunk@13413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:56:28 +00:00
ryan 5a9eb8e363 Switch live() binding to a single selector. Props mdawaffe. fixes #12369
git-svn-id: http://svn.automattic.com/wordpress/trunk@13411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:46:53 +00:00
westi 7ab6035d59 Return a 404 error if the request feed type doesn't exist not a 500. Fixes #12341 props aaroncampbell.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:16:07 +00:00
ryan 5de87dcff1 Order menus by ID so that the lowest ID is always used when guessing which menu to use in wp_nav_menu(). see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:13:13 +00:00
ryan b77baf5afb Create a default menu containing the first 15 top-level pages. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:06:44 +00:00
ryan 46ae8913d3 Pass taxonomy when looking for duplicate term slug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 21:04:02 +00:00
ryan a8a6d742e1 Default header selector, first pass. see #12343
git-svn-id: http://svn.automattic.com/wordpress/trunk@13403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 19:18:44 +00:00
wpmuguru e8503ab54a move nav menu css/js to nav-menu prefix, See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 17:10:00 +00:00
ryan b61d45fa11 s/Custom Menu/Menu/. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 16:57:57 +00:00
dd32 9d54f38d89 Restore backwards compatibility in automatic_feed_links() to deregister the extra feeds. Props Viper007Bond. See #12364
git-svn-id: http://svn.automattic.com/wordpress/trunk@13399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 11:09:34 +00:00
dd32 f51247ef50 Deprecate automatic_feed_links() in favor of add_theme_support('automatic-feed-links'). Props Viper007Bond. Fixes #12364
git-svn-id: http://svn.automattic.com/wordpress/trunk@13398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 08:56:19 +00:00
markjaquith 280a19ff6c Use custom fields for custom URL and new window data. Links no longer automatically open in a new window. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 08:48:17 +00:00
dd32 cb8fd85d1e Prefer $comment::comment_post_ID over $post global. Fixes #12217
git-svn-id: http://svn.automattic.com/wordpress/trunk@13396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 07:56:25 +00:00
markjaquith 18c313559f Nav Menu enhancements. Whole item is clickable to add. Refactored CSS. Scrollbar when more than 7 menu items. props ptahdunbar. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 05:40:03 +00:00
wpmuguru 4378b20de3 Warnings, code & UI/UX cleanup, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 23:12:51 +00:00