Changeset 53248 for trunk/src/wp-includes/ms-functions.php
- Timestamp:
- 04/24/2022 09:26:51 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r53131 r53248 30 30 31 31 /** 32 * Get one of a user's active blogs32 * Gets one of a user's active blogs. 33 33 * 34 34 * Returns the user's primary blog, if they have one and … … 102 102 103 103 /** 104 * The number of active sites on yourinstallation.104 * Gets the number of active sites on the installation. 105 105 * 106 106 * The count is cached and updated twice daily. This is not a live count. … … 211 211 212 212 /** 213 * Remove a user from a blog.213 * Removes a user from a blog. 214 214 * 215 215 * Use the {@see 'remove_user_from_blog'} action to fire an event when … … 302 302 303 303 /** 304 * Get the permalink for a post on another blog.304 * Gets the permalink for a post on another blog. 305 305 * 306 306 * @since MU (3.0.0) 1.0 … … 319 319 320 320 /** 321 * Get a blog's numeric ID from its URL.321 * Gets a blog's numeric ID from its URL. 322 322 * 323 323 * On a subdirectory installation like example.com/blog1/, … … 426 426 427 427 /** 428 * Sanitize and validatedata required for a user sign-up.428 * Sanitizes and validates data required for a user sign-up. 429 429 * 430 430 * Verifies the validity and uniqueness of user names and user email addresses, … … 765 765 766 766 /** 767 * Record site signup information for future activation.767 * Records site signup information for future activation. 768 768 * 769 769 * @since MU (3.0.0) … … 831 831 832 832 /** 833 * Record user signup information for future activation.833 * Records user signup information for future activation. 834 834 * 835 835 * This function is used when user registration is open but … … 894 894 895 895 /** 896 * Send a confirmation request email to a user when they sign up for a new site. The new site will not become active896 * Sends a confirmation request email to a user when they sign up for a new site. The new site will not become active 897 897 * until the confirmation link is clicked. 898 898 * … … 1032 1032 1033 1033 /** 1034 * Send a confirmation request email to a user when they sign up for a new user account (without signing up for a site1034 * Sends a confirmation request email to a user when they sign up for a new user account (without signing up for a site 1035 1035 * at the same time). The user account will not become active until the confirmation link is clicked. 1036 1036 * … … 1141 1141 1142 1142 /** 1143 * Activate a signup.1143 * Activates a signup. 1144 1144 * 1145 1145 * Hook to {@see 'wpmu_activate_user'} or {@see 'wpmu_activate_blog'} for events … … 1291 1291 1292 1292 /** 1293 * Create a user.1293 * Creates a user. 1294 1294 * 1295 1295 * This function runs when a user self-registers as well as when … … 1330 1330 1331 1331 /** 1332 * Create a site.1332 * Creates a site. 1333 1333 * 1334 1334 * This function runs when a user self-registers a new site as well … … 1806 1806 1807 1807 /** 1808 * Notif ya user that their account activation has been successful.1808 * Notifies a user that their account activation has been successful. 1809 1809 * 1810 1810 * Filter {@see 'wpmu_welcome_user_notification'} to disable or bypass. … … 1898 1898 1899 1899 /** 1900 * Get the current network.1900 * Gets the current network. 1901 1901 * 1902 1902 * Returns an object containing the 'id', 'domain', 'path', and 'site_name' … … 1917 1917 1918 1918 /** 1919 * Get a user's most recent post.1919 * Gets a user's most recent post. 1920 1920 * 1921 1921 * Walks through each of a user's blogs to find the post with … … 1969 1969 1970 1970 /** 1971 * Check an array of MIME types against a list of allowed types.1971 * Checks an array of MIME types against a list of allowed types. 1972 1972 * 1973 1973 * WordPress ships with a set of allowed upload filetypes, … … 1996 1996 1997 1997 /** 1998 * Update a blog's post count.1998 * Updates a blog's post count. 1999 1999 * 2000 2000 * WordPress MS stores a blog's post count as an option so as … … 2142 2142 2143 2143 /** 2144 * Ensure that the current site's domain is listed in the allowed redirect host list.2144 * Ensures that the current site's domain is listed in the allowed redirect host list. 2145 2145 * 2146 2146 * @see wp_validate_redirect() … … 2159 2159 2160 2160 /** 2161 * Check whether an upload is too big.2161 * Checks whether an upload is too big. 2162 2162 * 2163 2163 * @since MU (3.0.0) … … 2182 2182 2183 2183 /** 2184 * Add a nonce field to the signup page.2184 * Adds a nonce field to the signup page. 2185 2185 * 2186 2186 * @since MU (3.0.0) … … 2193 2193 2194 2194 /** 2195 * Process the signup nonce created in signup_nonce_fields().2195 * Processes the signup nonce created in signup_nonce_fields(). 2196 2196 * 2197 2197 * @since MU (3.0.0) … … 2213 2213 2214 2214 /** 2215 * Correct 404 redirects when NOBLOGREDIRECT is defined.2215 * Corrects 404 redirects when NOBLOGREDIRECT is defined. 2216 2216 * 2217 2217 * @since MU (3.0.0) … … 2242 2242 2243 2243 /** 2244 * Add a new user to a blog by visiting /newbloguser/{key}/.2244 * Adds a new user to a blog by visiting /newbloguser/{key}/. 2245 2245 * 2246 2246 * This will only work when the user's details are saved as an option … … 2290 2290 2291 2291 /** 2292 * Add a user to a blog based on details from maybe_add_existing_user_to_blog().2292 * Adds a user to a blog based on details from maybe_add_existing_user_to_blog(). 2293 2293 * 2294 2294 * @since MU (3.0.0) … … 2352 2352 2353 2353 /** 2354 * Correct From host on outgoing mail to match the site domain2354 * Corrects From host on outgoing mail to match the site domain 2355 2355 * 2356 2356 * @since MU (3.0.0) … … 2363 2363 2364 2364 /** 2365 * Check to seewhether a user is marked as a spammer, based on user login.2365 * Determines whether a user is marked as a spammer, based on user login. 2366 2366 * 2367 2367 * @since MU (3.0.0) … … 2384 2384 2385 2385 /** 2386 * Update this blog's 'public' setting in the global blogs table.2386 * Updates this blog's 'public' setting in the global blogs table. 2387 2387 * 2388 2388 * Public blogs have a setting of 1, private blogs are 0. … … 2398 2398 2399 2399 /** 2400 * Checkwhether users can self-register, based on Network settings.2400 * Determines whether users can self-register, based on Network settings. 2401 2401 * 2402 2402 * @since MU (3.0.0) … … 2410 2410 2411 2411 /** 2412 * Ensure that the welcome message is not empty. Currently unused.2412 * Ensures that the welcome message is not empty. Currently unused. 2413 2413 * 2414 2414 * @since MU (3.0.0) … … 2442 2442 2443 2443 /** 2444 * Whether to force SSL on content.2444 * Determines whether to force SSL on content. 2445 2445 * 2446 2446 * @since 2.8.5 … … 2484 2484 2485 2485 /** 2486 * Schedule update of the network-wide counts for the current network.2486 * Schedules update of the network-wide counts for the current network. 2487 2487 * 2488 2488 * @since 3.1.0 … … 2499 2499 2500 2500 /** 2501 * Update the network-wide counts for the current network.2501 * Updates the network-wide counts for the current network. 2502 2502 * 2503 2503 * @since 3.1.0 … … 2512 2512 2513 2513 /** 2514 * Update the count of sites for the current network.2514 * Updates the count of sites for the current network. 2515 2515 * 2516 2516 * If enabled through the {@see 'enable_live_network_counts'} filter, update the sites count … … 2543 2543 2544 2544 /** 2545 * Update the network-wide users count.2545 * Updates the network-wide users count. 2546 2546 * 2547 2547 * If enabled through the {@see 'enable_live_network_counts'} filter, update the users count … … 2565 2565 2566 2566 /** 2567 * Update the network-wide site count.2567 * Updates the network-wide site count. 2568 2568 * 2569 2569 * @since 3.7.0 … … 2593 2593 2594 2594 /** 2595 * Update the network-wide user count.2595 * Updates the network-wide user count. 2596 2596 * 2597 2597 * @since 3.7.0 … … 2716 2716 2717 2717 /** 2718 * Whether or not we have a large network.2718 * Determines whether or not we have a large network. 2719 2719 * 2720 2720 * The default criteria for a large network is either more than 10,000 users or more than 10,000 sites. … … 2793 2793 2794 2794 /** 2795 * Send a confirmation request email when a change of network admin email address is attempted.2795 * Sends a confirmation request email when a change of network admin email address is attempted. 2796 2796 * 2797 2797 * The new network admin address will not become active until confirmed. … … 2881 2881 2882 2882 /** 2883 * Send an email to the old network admin email address when the network admin email address changes.2883 * Sends an email to the old network admin email address when the network admin email address changes. 2884 2884 * 2885 2885 * @since 4.9.0
Note: See TracChangeset
for help on using the changeset viewer.