mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-13 21:30:26 +00:00
Docs: Promote many bool types to true or false where only that value is used.
See #51800 git-svn-id: https://develop.svn.wordpress.org/trunk@49927 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -668,7 +668,7 @@ function wp_validate_site_data( $errors, $data, $old_site = null ) {
|
||||
* @type array $meta Custom site metadata $key => $value pairs to use.
|
||||
* Default empty array.
|
||||
* }
|
||||
* @return bool|WP_Error True on success, or error object on failure.
|
||||
* @return true|WP_Error True on success, or error object on failure.
|
||||
*/
|
||||
function wp_initialize_site( $site_id, array $args = array() ) {
|
||||
global $wpdb, $wp_roles;
|
||||
@@ -799,7 +799,7 @@ function wp_initialize_site( $site_id, array $args = array() ) {
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param int|WP_Site $site_id Site ID or object.
|
||||
* @return bool|WP_Error True on success, or error object on failure.
|
||||
* @return true|WP_Error True on success, or error object on failure.
|
||||
*/
|
||||
function wp_uninitialize_site( $site_id ) {
|
||||
global $wpdb;
|
||||
|
||||
Reference in New Issue
Block a user