Commit Graph

5982 Commits

Author SHA1 Message Date
Dion Hulse 4b4c0c6cd2 Dont clobber taxonomy intersections/unions. Only redirects to the canonical url if only one term has been queried. Props scribu for some of the commit. See #8948
git-svn-id: https://develop.svn.wordpress.org/trunk@13480 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 02:49:01 +00:00
Andrew Nacin 6f3f1d0806 Add filter to the args in wp_link_pages(). fixes #12158 props greenshady
git-svn-id: https://develop.svn.wordpress.org/trunk@13479 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 01:46:39 +00:00
Andrew Nacin 98a2f10711 Add filter to the links in paginate_links(). fixes #10826, props johnjamesjacoby
git-svn-id: https://develop.svn.wordpress.org/trunk@13478 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 01:42:25 +00:00
Andrew Nacin 5b05536235 Allow get_(previous|adjacent|next)_post() to be used on attachment and !single templates. props jobjorn, fixes #10867
git-svn-id: https://develop.svn.wordpress.org/trunk@13475 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 00:00:43 +00:00
Andrew Nacin da5a212bff get_bloginfo('wpurl') should use site_url(), not get_option('siteurl'). see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@13474 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:22:56 +00:00
Ron Rennick ed52a823cc more menu improvements, props ptahdunbar, see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13473 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:06:56 +00:00
Andrew Nacin 7c2178caba Escape mod_$theme option name. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13469 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 20:26:37 +00:00
Andrew Nacin a7a3e94381 Add some whitespace to get_body_class(). props coffee2code. Clarify fallback parameter in sanitize_html_class(). see #11331
git-svn-id: https://develop.svn.wordpress.org/trunk@13468 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 20:06:35 +00:00
Andrew Nacin d448472adf Standardize filters for single_(post|cat|tag|month)_title() on strip_tags() and wptexturize(). fixes #10900 props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@13467 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:57:04 +00:00
Andrew Nacin f015c58d27 Deprecate get_profile() for get_the_author_meta(). fixes #10695, props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@13464 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:11:45 +00:00
Andrew Nacin 7eea49d9d1 Pass post ID to post_class filter, even when calling post_class() without parameters in the loop. fixes #11878
git-svn-id: https://develop.svn.wordpress.org/trunk@13462 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:49:49 +00:00
Ron Rennick 97da99aa6a warnings cleanup on archived/suspended sites, fixes #12396
git-svn-id: https://develop.svn.wordpress.org/trunk@13461 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:48:37 +00:00
Ron Rennick 60a2d570c0 warnings cleanup, dont show removed user in edit site, fixes #12409
git-svn-id: https://develop.svn.wordpress.org/trunk@13460 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:27:34 +00:00
Andrew Nacin 545d58b699 Allow multiple To: recipients in wp_mail(). Improve handling of \r\n in headers and multiple CC/BCC headers. fixes #10420
git-svn-id: https://develop.svn.wordpress.org/trunk@13456 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:10:45 +00:00
Andrew Nacin 44051cfdb6 Add wpdb::replace() for replace queries. props AaronCampbell fixes #10864
git-svn-id: https://develop.svn.wordpress.org/trunk@13454 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 15:45:09 +00:00
Andrew Nacin bd51cf8b51 add_editor_style() third pass. better performance and better child theme support. see #11512
git-svn-id: https://develop.svn.wordpress.org/trunk@13453 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 07:36:35 +00:00
Dion Hulse bc2c6922cb New files svn:eol-style: native.
git-svn-id: https://develop.svn.wordpress.org/trunk@13448 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 03:37:38 +00:00
Andrew Nacin 394430fbbe 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: https://develop.svn.wordpress.org/trunk@13444 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 21:07:41 +00:00
Andrew Nacin 33798863d4 Introduce add_editor_style() to easily register a stylesheet for the visual editor. see #11512 see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13441 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 20:12:06 +00:00
Andrew Nacin a62faa1ccf Small fix to [13433], see #10788
git-svn-id: https://develop.svn.wordpress.org/trunk@13439 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:26:51 +00:00
Andrew Nacin e122f6d181 Introduce add_permastruct() and flush_rewrite_rules(), wrappers for the corresponding WP_Rewrite methods. Fixes #10912 props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@13438 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:23:58 +00:00
Andrew Nacin d2cfae455e s/cancelled/canceled/
git-svn-id: https://develop.svn.wordpress.org/trunk@13437 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:12:27 +00:00
Andrew Nacin b20651cc65 One less variable assignment in timer_start and timer_start. props hakre fixes #12389
git-svn-id: https://develop.svn.wordpress.org/trunk@13436 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:09:29 +00:00
Andrew Nacin 8f6c9e395f Add comment_duplicate_trigger hook that is fired when a duplicate comment is detected. Fixes #12188
git-svn-id: https://develop.svn.wordpress.org/trunk@13434 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:06:09 +00:00
Andrew Nacin 8271d92017 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: https://develop.svn.wordpress.org/trunk@13433 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 18:51:37 +00:00
Andrew Nacin 19f50392f9 Remove explicit references to the post ID from moderation and comment e-mails. Fixes #12388
git-svn-id: https://develop.svn.wordpress.org/trunk@13432 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 17:18:59 +00:00
Andrew Nacin 4464b5d33c Add pre_insert_term hook to wp_insert_term(). fixes #10943 props sirzooro
git-svn-id: https://develop.svn.wordpress.org/trunk@13430 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 07:40:35 +00:00
Andrew Nacin aeebb3c2af Suppress potential is_readable() warning. Fixes #12148 props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@13429 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 07:25:10 +00:00
Andrew Nacin e7fa18385a Use is_ssl() in place of manual SERVER['HTTPS'] == 'on' checks. fixes #11885
git-svn-id: https://develop.svn.wordpress.org/trunk@13427 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 06:21:47 +00:00
Andrew Nacin 9a033bf679 @since version numbers and other docs for wp-db. props hakre see #12362
git-svn-id: https://develop.svn.wordpress.org/trunk@13426 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 06:14:26 +00:00
Andrew Nacin 9b78314c05 A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
git-svn-id: https://develop.svn.wordpress.org/trunk@13425 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 05:46:08 +00:00
Andrew Nacin e3b9237738 Reject numeric page slugs as they don't work, and force a suffix. Props miqrogroove see #11917
git-svn-id: https://develop.svn.wordpress.org/trunk@13424 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 04:53:30 +00:00
Andrew Nacin f62e8796d9 Clean up redundant defined() check. Props TobiasBg fixes #12375
git-svn-id: https://develop.svn.wordpress.org/trunk@13422 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 00:37:20 +00:00
Ron Rennick c02cd1ebc8 always call set_blog_id after blog lookup, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13421 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 00:05:11 +00:00
Ryan Boren 61ffa682c1 Note theme support for custom background, header, and menus. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13417 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:04:59 +00:00
Peter Westwood 9ad6dd41c7 Switch from POST_BY_EMAIL constant to enable post-by-email when multisite to a filter. See #12381.
git-svn-id: https://develop.svn.wordpress.org/trunk@13416 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:01:30 +00:00
Ryan Boren 3e8d636d4d Allow themes to specify a menu fllback other than wp_page_menu(). see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13415 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:00:26 +00:00
Peter Westwood d25e3fdf2c '>"
git-svn-id: https://develop.svn.wordpress.org/trunk@13414 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:57:38 +00:00
Peter Westwood fd0925a920 Disable update service editing by default for multisite. See #12229.
Introduce __return_false for simple filtering. See #12381.

git-svn-id: https://develop.svn.wordpress.org/trunk@13413 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:56:28 +00:00
Ryan Boren cf9c66c4a5 Switch live() binding to a single selector. Props mdawaffe. fixes #12369
git-svn-id: https://develop.svn.wordpress.org/trunk@13411 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:46:53 +00:00
Peter Westwood fcd36216e0 Return a 404 error if the request feed type doesn't exist not a 500. Fixes #12341 props aaroncampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@13408 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:16:07 +00:00
Ryan Boren 2cc6791fe7 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: https://develop.svn.wordpress.org/trunk@13407 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:13:13 +00:00
Ryan Boren 60cb61e54f Create a default menu containing the first 15 top-level pages. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13406 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:06:44 +00:00
Ryan Boren 4d3733bef0 Pass taxonomy when looking for duplicate term slug.
git-svn-id: https://develop.svn.wordpress.org/trunk@13405 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:04:02 +00:00
Ryan Boren 4ee18ae484 Default header selector, first pass. see #12343
git-svn-id: https://develop.svn.wordpress.org/trunk@13403 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 19:18:44 +00:00
Ron Rennick 899906649c move nav menu css/js to nav-menu prefix, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13402 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 17:10:00 +00:00
Ryan Boren 0489d40810 s/Custom Menu/Menu/. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13401 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 16:57:57 +00:00
Dion Hulse 1fa94a6e1e Restore backwards compatibility in automatic_feed_links() to deregister the extra feeds. Props Viper007Bond. See #12364
git-svn-id: https://develop.svn.wordpress.org/trunk@13399 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 11:09:34 +00:00
Dion Hulse 49dce31f70 Deprecate automatic_feed_links() in favor of add_theme_support('automatic-feed-links'). Props Viper007Bond. Fixes #12364
git-svn-id: https://develop.svn.wordpress.org/trunk@13398 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 08:56:19 +00:00
Mark Jaquith 618803a53e Use custom fields for custom URL and new window data. Links no longer automatically open in a new window. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13397 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 08:48:17 +00:00