Commit Graph

12242 Commits

Author SHA1 Message Date
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
Ron Rennick bff2814d07 warnings cleanup edit user, props dd32, see #12387
git-svn-id: https://develop.svn.wordpress.org/trunk@13463 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:07:25 +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 5c8e788197 Use ABSPATH because we can. props miqrogroove see #12411
git-svn-id: https://develop.svn.wordpress.org/trunk@13459 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:44:26 +00:00
Andrew Nacin ddb16a0d4a Use ABSPATH because we can. props miqrogroove see #12411
git-svn-id: https://develop.svn.wordpress.org/trunk@13458 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:35:41 +00:00
Andrew Nacin 6e071efc20 Fix include paths. props nadavvin fixes #12411
git-svn-id: https://develop.svn.wordpress.org/trunk@13457 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 16:15:46 +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 3a0b94a917 Fix typos. props TobiasBg fixes #12398
git-svn-id: https://develop.svn.wordpress.org/trunk@13455 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 15:53:06 +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
Mark Jaquith 039b7de070 Plugin activation attempt goes through a function to show the same errors as the test. props miqrogroove. fixes #12089
git-svn-id: https://develop.svn.wordpress.org/trunk@13452 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 07:24:41 +00:00
Andrew Nacin 92c03dc898 Restore manage_pages_columns filter in wp_manage_posts_columns(). Pass post type to manage_posts_columns, and add a manage_{$post_type}_posts_columns filter. fixes #12398
git-svn-id: https://develop.svn.wordpress.org/trunk@13451 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 06:45:23 +00:00
Dion Hulse 279f93647a Add Tag::Cat converters to the Tools page. Props ninjaWR. Add Tag->Cat converter links on Manage Tags page. Fixes #8634
git-svn-id: https://develop.svn.wordpress.org/trunk@13450 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 04:04:36 +00:00
Dion Hulse a8e7d29ca1 set svn:eol-style:native on remaining Core files. Props Denis-de-Bernardy. Fixes #12403
git-svn-id: https://develop.svn.wordpress.org/trunk@13449 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 03:43:09 +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
Ron Rennick e9ab8b9216 sanitize domains in ms-options, fixes #11775
git-svn-id: https://develop.svn.wordpress.org/trunk@13447 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 23:36:26 +00:00
Andrew Nacin 4c74091898 Show a notice when changing a multisite's site admin email. props jorbin. Introduce an .inline class that can be used with div.updated and div.error, to prevent the message from being moved to the top of the page. see #12192
git-svn-id: https://develop.svn.wordpress.org/trunk@13446 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 21:19:10 +00:00
Ron Rennick 8513d92a8b cleanup warnings - add site, See #12140
git-svn-id: https://develop.svn.wordpress.org/trunk@13445 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 21:13:24 +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
Ron Rennick e0307be84c add second set of Network admin buttons, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13443 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 20:23:25 +00:00
Ron Rennick 8c7c126923 switch super admin to network admin in multisite UI, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13442 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 20:16:16 +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
Ron Rennick 280e43154d remove WP rewrite rules from multisite options-permalink, props ocean90, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13440 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:59:04 +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
Ron Rennick 6afc78b158 more multisite UI rebranding, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13435 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:08:01 +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
Ron Rennick d4c1df745e prevent admins from removing themselves and main super admin from super admin list, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13431 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 17:16:31 +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 36da22d334 Add a sanity check in install.php, accounting for whether PHP is running. fixes #11728
git-svn-id: https://develop.svn.wordpress.org/trunk@13428 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 06:31:40 +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 69915544d2 Don't use deprecated functions. Fixes #12377 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@13423 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 00:41:23 +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
Peter Westwood a85f6a4122 Just pass the comment object to get_avatar in floated_admin_avatar rather than duplicating logic. Fixes #12291 props Otto42.
git-svn-id: https://develop.svn.wordpress.org/trunk@13420 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:19:03 +00:00
Ron Rennick 4b53dbcf81 move super admin list maintenance from ms-options to ms-users, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13419 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:11:54 +00:00
Peter Westwood 38b009d86c 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@13418 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:06:10 +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