Changeset 17228 for trunk/wp-includes/ms-functions.php
- Timestamp:
- 01/06/2011 04:11:14 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-functions.php
r17218 r17228 456 456 * at wp-admin/network/settings.php. The check is only run on 457 457 * self-registrations; user creation at wp-admin/network/users.php 458 * bypasses this check. 458 * bypasses this check. 459 459 * 460 460 * @since MU … … 613 613 * effectively an override of this limitation. 614 614 * 615 * Filter 'wpmu_validate_blog_signup' if you want to modify 615 * Filter 'wpmu_validate_blog_signup' if you want to modify 616 616 * the way that WordPress validates new site signups. 617 617 * … … 1578 1578 * Check an array of MIME types against a whitelist. 1579 1579 * 1580 * WordPress ships with a set of allowed upload filetypes, 1580 * WordPress ships with a set of allowed upload filetypes, 1581 1581 * which is defined in wp-includes/functions.php in 1582 1582 * get_allowed_mime_types(). This function is used to filter 1583 * that list against the filetype whitelist provided by Multisite 1584 * Super Admins at wp-admin/network/settings.php. 1583 * that list against the filetype whitelist provided by Multisite 1584 * Super Admins at wp-admin/network/settings.php. 1585 1585 * 1586 1586 * @since MU … … 1807 1807 * @since MU 1808 1808 * @uses add_existing_user_to_blog() 1809 */ 1809 */ 1810 1810 function maybe_add_existing_user_to_blog() { 1811 1811 if ( false === strpos( $_SERVER[ 'REQUEST_URI' ], '/newbloguser/' ) ) … … 1833 1833 * @since MU 1834 1834 * @uses add_user_to_blog() 1835 * 1835 * 1836 1836 * @param array $details 1837 */ 1837 */ 1838 1838 function add_existing_user_to_blog( $details = false ) { 1839 1839 global $blog_id; … … 1850 1850 * 1851 1851 * @since MU 1852 * 1852 * 1853 1853 * @param int $user_id 1854 1854 * @param string $email 1855 1855 * @param array $meta 1856 */ 1856 */ 1857 1857 function add_new_user_to_blog( $user_id, $email, $meta ) { 1858 1858 global $current_site; … … 1870 1870 * 1871 1871 * @since MU 1872 */ 1872 */ 1873 1873 function fix_phpmailer_messageid( $phpmailer ) { 1874 1874 global $current_site; … … 1885 1885 * @param string $username 1886 1886 * @return bool 1887 */ 1887 */ 1888 1888 function is_user_spammy( $username = 0 ) { 1889 1889 if ( $username == 0 ) { … … 1908 1908 * @param int $value The new public value 1909 1909 * @return bool 1910 */ 1910 */ 1911 1911 function update_blog_public( $old_value, $value ) { 1912 1912 global $wpdb; … … 1923 1923 * 1924 1924 * @return int 1925 */ 1925 */ 1926 1926 function get_dashboard_blog() { 1927 1927 if ( $blog = get_site_option( 'dashboard_blog' ) ) … … 1941 1941 * @param int $blog_id Optional. Defaults to current blog. 1942 1942 * @return bool 1943 */ 1943 */ 1944 1944 function is_user_option_local( $key, $user_id = 0, $blog_id = 0 ) { 1945 1945 global $wpdb; … … 1965 1965 * 1966 1966 * @return bool 1967 */ 1967 */ 1968 1968 function users_can_register_signup_filter() { 1969 1969 $registration = get_site_option('registration'); … … 1982 1982 * @param string $text 1983 1983 * @return string 1984 */ 1984 */ 1985 1985 function welcome_user_msg_filter( $text ) { 1986 1986 if ( !$text ) {
Note: See TracChangeset
for help on using the changeset viewer.