~ubuntu-branches/debian/sid/wordpress/sid

« back to all changes in this revision

Viewing changes to wp-includes/ms-default-filters.php

  • Committer: Package Import Robot
  • Author(s): Raphaël Hertzog
  • Date: 2013-11-13 20:41:09 UTC
  • mfrom: (1.2.30)
  • Revision ID: package-import@ubuntu.com-20131113204109-eab47hggfl05n16g
Tags: 3.7.1+dfsg-1
* New upstream release.
* Enable usage of php5-mysqlnd as an alternative to php5-mysql.
  Closes: #722552
* Improve wp-setup to cope with plugins/themes directories with
  spaces. Thanks to Oskar Liljeblad <oskar@osk.mine.nu> for the patch.
  Closes: #723074
* Refresh patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
add_action( 'init', 'maybe_add_existing_user_to_blog' );
19
19
add_action( 'wpmu_new_user', 'newuser_notify_siteadmin' );
20
20
add_action( 'wpmu_activate_user', 'add_new_user_to_blog', 10, 3 );
21
 
add_action( 'sanitize_user', 'strtolower' );
 
21
add_filter( 'sanitize_user', 'strtolower' );
22
22
 
23
23
// Blogs
24
24
add_filter( 'wpmu_validate_blog_signup', 'signup_nonce_check' );
37
37
add_action( 'publish_post', 'update_posts_count' );
38
38
add_action( 'delete_post', '_update_blog_date_on_post_delete' );
39
39
add_action( 'transition_post_status', '_update_blog_date_on_post_publish', 10, 3 );
 
40
 
 
41
// Counts
40
42
add_action( 'admin_init', 'wp_schedule_update_network_counts');
41
43
add_action( 'update_network_counts', 'wp_update_network_counts');
 
44
foreach ( array( 'user_register', 'deleted_user', 'wpmu_new_user', 'make_spam_user', 'make_ham_user' ) as $action )
 
45
        add_action( $action, 'wp_maybe_update_network_user_counts' );
 
46
foreach ( array( 'make_spam_blog', 'make_ham_blog', 'archive_blog', 'unarchive_blog', 'make_delete_blog', 'make_undelete_blog' ) as $action )
 
47
        add_action( $action, 'wp_maybe_update_network_site_counts' );
 
48
unset( $action );
42
49
 
43
50
// Files
44
51
add_filter( 'wp_upload_bits', 'upload_is_file_too_big' );