Edit File by line
/home/barbar84/public_h.../wp-admin/includes
File: ms.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Multisite administration functions.
[2] Fix | Delete
*
[3] Fix | Delete
* @package WordPress
[4] Fix | Delete
* @subpackage Multisite
[5] Fix | Delete
* @since 3.0.0
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
/**
[9] Fix | Delete
* Determine if uploaded file exceeds space quota.
[10] Fix | Delete
*
[11] Fix | Delete
* @since 3.0.0
[12] Fix | Delete
*
[13] Fix | Delete
* @param array $file $_FILES array for a given file.
[14] Fix | Delete
* @return array $_FILES array with 'error' key set if file exceeds quota. 'error' is empty otherwise.
[15] Fix | Delete
*/
[16] Fix | Delete
function check_upload_size( $file ) {
[17] Fix | Delete
if ( get_site_option( 'upload_space_check_disabled' ) ) {
[18] Fix | Delete
return $file;
[19] Fix | Delete
}
[20] Fix | Delete
[21] Fix | Delete
if ( '0' != $file['error'] ) { // There's already an error.
[22] Fix | Delete
return $file;
[23] Fix | Delete
}
[24] Fix | Delete
[25] Fix | Delete
if ( defined( 'WP_IMPORTING' ) ) {
[26] Fix | Delete
return $file;
[27] Fix | Delete
}
[28] Fix | Delete
[29] Fix | Delete
$space_left = get_upload_space_available();
[30] Fix | Delete
[31] Fix | Delete
$file_size = filesize( $file['tmp_name'] );
[32] Fix | Delete
if ( $space_left < $file_size ) {
[33] Fix | Delete
/* translators: %s: Required disk space in kilobytes. */
[34] Fix | Delete
$file['error'] = sprintf( __( 'Not enough space to upload. %s KB needed.' ), number_format( ( $file_size - $space_left ) / KB_IN_BYTES ) );
[35] Fix | Delete
}
[36] Fix | Delete
[37] Fix | Delete
if ( $file_size > ( KB_IN_BYTES * get_site_option( 'fileupload_maxk', 1500 ) ) ) {
[38] Fix | Delete
/* translators: %s: Maximum allowed file size in kilobytes. */
[39] Fix | Delete
$file['error'] = sprintf( __( 'This file is too big. Files must be less than %s KB in size.' ), get_site_option( 'fileupload_maxk', 1500 ) );
[40] Fix | Delete
}
[41] Fix | Delete
[42] Fix | Delete
if ( upload_is_user_over_quota( false ) ) {
[43] Fix | Delete
$file['error'] = __( 'You have used your space quota. Please delete files before uploading.' );
[44] Fix | Delete
}
[45] Fix | Delete
[46] Fix | Delete
if ( '0' != $file['error'] && ! isset( $_POST['html-upload'] ) && ! wp_doing_ajax() ) {
[47] Fix | Delete
wp_die( $file['error'] . ' <a href="javascript:history.go(-1)">' . __( 'Back' ) . '</a>' );
[48] Fix | Delete
}
[49] Fix | Delete
[50] Fix | Delete
return $file;
[51] Fix | Delete
}
[52] Fix | Delete
[53] Fix | Delete
/**
[54] Fix | Delete
* Delete a site.
[55] Fix | Delete
*
[56] Fix | Delete
* @since 3.0.0
[57] Fix | Delete
* @since 5.1.0 Use wp_delete_site() internally to delete the site row from the database.
[58] Fix | Delete
*
[59] Fix | Delete
* @global wpdb $wpdb WordPress database abstraction object.
[60] Fix | Delete
*
[61] Fix | Delete
* @param int $blog_id Site ID.
[62] Fix | Delete
* @param bool $drop True if site's database tables should be dropped. Default false.
[63] Fix | Delete
*/
[64] Fix | Delete
function wpmu_delete_blog( $blog_id, $drop = false ) {
[65] Fix | Delete
global $wpdb;
[66] Fix | Delete
[67] Fix | Delete
$switch = false;
[68] Fix | Delete
if ( get_current_blog_id() != $blog_id ) {
[69] Fix | Delete
$switch = true;
[70] Fix | Delete
switch_to_blog( $blog_id );
[71] Fix | Delete
}
[72] Fix | Delete
[73] Fix | Delete
$blog = get_site( $blog_id );
[74] Fix | Delete
[75] Fix | Delete
$current_network = get_network();
[76] Fix | Delete
[77] Fix | Delete
// If a full blog object is not available, do not destroy anything.
[78] Fix | Delete
if ( $drop && ! $blog ) {
[79] Fix | Delete
$drop = false;
[80] Fix | Delete
}
[81] Fix | Delete
[82] Fix | Delete
// Don't destroy the initial, main, or root blog.
[83] Fix | Delete
if ( $drop && ( 1 == $blog_id || is_main_site( $blog_id ) || ( $blog->path == $current_network->path && $blog->domain == $current_network->domain ) ) ) {
[84] Fix | Delete
$drop = false;
[85] Fix | Delete
}
[86] Fix | Delete
[87] Fix | Delete
$upload_path = trim( get_option( 'upload_path' ) );
[88] Fix | Delete
[89] Fix | Delete
// If ms_files_rewriting is enabled and upload_path is empty, wp_upload_dir is not reliable.
[90] Fix | Delete
if ( $drop && get_site_option( 'ms_files_rewriting' ) && empty( $upload_path ) ) {
[91] Fix | Delete
$drop = false;
[92] Fix | Delete
}
[93] Fix | Delete
[94] Fix | Delete
if ( $drop ) {
[95] Fix | Delete
wp_delete_site( $blog_id );
[96] Fix | Delete
} else {
[97] Fix | Delete
/** This action is documented in wp-includes/ms-blogs.php */
[98] Fix | Delete
do_action_deprecated( 'delete_blog', array( $blog_id, false ), '5.1.0' );
[99] Fix | Delete
[100] Fix | Delete
$users = get_users(
[101] Fix | Delete
array(
[102] Fix | Delete
'blog_id' => $blog_id,
[103] Fix | Delete
'fields' => 'ids',
[104] Fix | Delete
)
[105] Fix | Delete
);
[106] Fix | Delete
[107] Fix | Delete
// Remove users from this blog.
[108] Fix | Delete
if ( ! empty( $users ) ) {
[109] Fix | Delete
foreach ( $users as $user_id ) {
[110] Fix | Delete
remove_user_from_blog( $user_id, $blog_id );
[111] Fix | Delete
}
[112] Fix | Delete
}
[113] Fix | Delete
[114] Fix | Delete
update_blog_status( $blog_id, 'deleted', 1 );
[115] Fix | Delete
[116] Fix | Delete
/** This action is documented in wp-includes/ms-blogs.php */
[117] Fix | Delete
do_action_deprecated( 'deleted_blog', array( $blog_id, false ), '5.1.0' );
[118] Fix | Delete
}
[119] Fix | Delete
[120] Fix | Delete
if ( $switch ) {
[121] Fix | Delete
restore_current_blog();
[122] Fix | Delete
}
[123] Fix | Delete
}
[124] Fix | Delete
[125] Fix | Delete
/**
[126] Fix | Delete
* Delete a user from the network and remove from all sites.
[127] Fix | Delete
*
[128] Fix | Delete
* @since 3.0.0
[129] Fix | Delete
*
[130] Fix | Delete
* @todo Merge with wp_delete_user()?
[131] Fix | Delete
*
[132] Fix | Delete
* @global wpdb $wpdb WordPress database abstraction object.
[133] Fix | Delete
*
[134] Fix | Delete
* @param int $id The user ID.
[135] Fix | Delete
* @return bool True if the user was deleted, otherwise false.
[136] Fix | Delete
*/
[137] Fix | Delete
function wpmu_delete_user( $id ) {
[138] Fix | Delete
global $wpdb;
[139] Fix | Delete
[140] Fix | Delete
if ( ! is_numeric( $id ) ) {
[141] Fix | Delete
return false;
[142] Fix | Delete
}
[143] Fix | Delete
[144] Fix | Delete
$id = (int) $id;
[145] Fix | Delete
$user = new WP_User( $id );
[146] Fix | Delete
[147] Fix | Delete
if ( ! $user->exists() ) {
[148] Fix | Delete
return false;
[149] Fix | Delete
}
[150] Fix | Delete
[151] Fix | Delete
// Global super-administrators are protected, and cannot be deleted.
[152] Fix | Delete
$_super_admins = get_super_admins();
[153] Fix | Delete
if ( in_array( $user->user_login, $_super_admins, true ) ) {
[154] Fix | Delete
return false;
[155] Fix | Delete
}
[156] Fix | Delete
[157] Fix | Delete
/**
[158] Fix | Delete
* Fires before a user is deleted from the network.
[159] Fix | Delete
*
[160] Fix | Delete
* @since MU (3.0.0)
[161] Fix | Delete
* @since 5.5.0 Added the `$user` parameter.
[162] Fix | Delete
*
[163] Fix | Delete
* @param int $id ID of the user about to be deleted from the network.
[164] Fix | Delete
* @param WP_User $user WP_User object of the user about to be deleted from the network.
[165] Fix | Delete
*/
[166] Fix | Delete
do_action( 'wpmu_delete_user', $id, $user );
[167] Fix | Delete
[168] Fix | Delete
$blogs = get_blogs_of_user( $id );
[169] Fix | Delete
[170] Fix | Delete
if ( ! empty( $blogs ) ) {
[171] Fix | Delete
foreach ( $blogs as $blog ) {
[172] Fix | Delete
switch_to_blog( $blog->userblog_id );
[173] Fix | Delete
remove_user_from_blog( $id, $blog->userblog_id );
[174] Fix | Delete
[175] Fix | Delete
$post_ids = $wpdb->get_col( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE post_author = %d", $id ) );
[176] Fix | Delete
foreach ( (array) $post_ids as $post_id ) {
[177] Fix | Delete
wp_delete_post( $post_id );
[178] Fix | Delete
}
[179] Fix | Delete
[180] Fix | Delete
// Clean links.
[181] Fix | Delete
$link_ids = $wpdb->get_col( $wpdb->prepare( "SELECT link_id FROM $wpdb->links WHERE link_owner = %d", $id ) );
[182] Fix | Delete
[183] Fix | Delete
if ( $link_ids ) {
[184] Fix | Delete
foreach ( $link_ids as $link_id ) {
[185] Fix | Delete
wp_delete_link( $link_id );
[186] Fix | Delete
}
[187] Fix | Delete
}
[188] Fix | Delete
[189] Fix | Delete
restore_current_blog();
[190] Fix | Delete
}
[191] Fix | Delete
}
[192] Fix | Delete
[193] Fix | Delete
$meta = $wpdb->get_col( $wpdb->prepare( "SELECT umeta_id FROM $wpdb->usermeta WHERE user_id = %d", $id ) );
[194] Fix | Delete
foreach ( $meta as $mid ) {
[195] Fix | Delete
delete_metadata_by_mid( 'user', $mid );
[196] Fix | Delete
}
[197] Fix | Delete
[198] Fix | Delete
$wpdb->delete( $wpdb->users, array( 'ID' => $id ) );
[199] Fix | Delete
[200] Fix | Delete
clean_user_cache( $user );
[201] Fix | Delete
[202] Fix | Delete
/** This action is documented in wp-admin/includes/user.php */
[203] Fix | Delete
do_action( 'deleted_user', $id, null, $user );
[204] Fix | Delete
[205] Fix | Delete
return true;
[206] Fix | Delete
}
[207] Fix | Delete
[208] Fix | Delete
/**
[209] Fix | Delete
* Check whether a site has used its allotted upload space.
[210] Fix | Delete
*
[211] Fix | Delete
* @since MU (3.0.0)
[212] Fix | Delete
*
[213] Fix | Delete
* @param bool $echo Optional. If $echo is set and the quota is exceeded, a warning message is echoed. Default is true.
[214] Fix | Delete
* @return bool True if user is over upload space quota, otherwise false.
[215] Fix | Delete
*/
[216] Fix | Delete
function upload_is_user_over_quota( $echo = true ) {
[217] Fix | Delete
if ( get_site_option( 'upload_space_check_disabled' ) ) {
[218] Fix | Delete
return false;
[219] Fix | Delete
}
[220] Fix | Delete
[221] Fix | Delete
$space_allowed = get_space_allowed();
[222] Fix | Delete
if ( ! is_numeric( $space_allowed ) ) {
[223] Fix | Delete
$space_allowed = 10; // Default space allowed is 10 MB.
[224] Fix | Delete
}
[225] Fix | Delete
$space_used = get_space_used();
[226] Fix | Delete
[227] Fix | Delete
if ( ( $space_allowed - $space_used ) < 0 ) {
[228] Fix | Delete
if ( $echo ) {
[229] Fix | Delete
printf(
[230] Fix | Delete
/* translators: %s: Allowed space allocation. */
[231] Fix | Delete
__( 'Sorry, you have used your space allocation of %s. Please delete some files to upload more files.' ),
[232] Fix | Delete
size_format( $space_allowed * MB_IN_BYTES )
[233] Fix | Delete
);
[234] Fix | Delete
}
[235] Fix | Delete
return true;
[236] Fix | Delete
} else {
[237] Fix | Delete
return false;
[238] Fix | Delete
}
[239] Fix | Delete
}
[240] Fix | Delete
[241] Fix | Delete
/**
[242] Fix | Delete
* Displays the amount of disk space used by the current site. Not used in core.
[243] Fix | Delete
*
[244] Fix | Delete
* @since MU (3.0.0)
[245] Fix | Delete
*/
[246] Fix | Delete
function display_space_usage() {
[247] Fix | Delete
$space_allowed = get_space_allowed();
[248] Fix | Delete
$space_used = get_space_used();
[249] Fix | Delete
[250] Fix | Delete
$percent_used = ( $space_used / $space_allowed ) * 100;
[251] Fix | Delete
[252] Fix | Delete
$space = size_format( $space_allowed * MB_IN_BYTES );
[253] Fix | Delete
?>
[254] Fix | Delete
<strong>
[255] Fix | Delete
<?php
[256] Fix | Delete
/* translators: Storage space that's been used. 1: Percentage of used space, 2: Total space allowed in megabytes or gigabytes. */
[257] Fix | Delete
printf( __( 'Used: %1$s%% of %2$s' ), number_format( $percent_used ), $space );
[258] Fix | Delete
?>
[259] Fix | Delete
</strong>
[260] Fix | Delete
<?php
[261] Fix | Delete
}
[262] Fix | Delete
[263] Fix | Delete
/**
[264] Fix | Delete
* Get the remaining upload space for this site.
[265] Fix | Delete
*
[266] Fix | Delete
* @since MU (3.0.0)
[267] Fix | Delete
*
[268] Fix | Delete
* @param int $size Current max size in bytes
[269] Fix | Delete
* @return int Max size in bytes
[270] Fix | Delete
*/
[271] Fix | Delete
function fix_import_form_size( $size ) {
[272] Fix | Delete
if ( upload_is_user_over_quota( false ) ) {
[273] Fix | Delete
return 0;
[274] Fix | Delete
}
[275] Fix | Delete
$available = get_upload_space_available();
[276] Fix | Delete
return min( $size, $available );
[277] Fix | Delete
}
[278] Fix | Delete
[279] Fix | Delete
/**
[280] Fix | Delete
* Displays the site upload space quota setting form on the Edit Site Settings screen.
[281] Fix | Delete
*
[282] Fix | Delete
* @since 3.0.0
[283] Fix | Delete
*
[284] Fix | Delete
* @param int $id The ID of the site to display the setting for.
[285] Fix | Delete
*/
[286] Fix | Delete
function upload_space_setting( $id ) {
[287] Fix | Delete
switch_to_blog( $id );
[288] Fix | Delete
$quota = get_option( 'blog_upload_space' );
[289] Fix | Delete
restore_current_blog();
[290] Fix | Delete
[291] Fix | Delete
if ( ! $quota ) {
[292] Fix | Delete
$quota = '';
[293] Fix | Delete
}
[294] Fix | Delete
[295] Fix | Delete
?>
[296] Fix | Delete
<tr>
[297] Fix | Delete
<th><label for="blog-upload-space-number"><?php _e( 'Site Upload Space Quota' ); ?></label></th>
[298] Fix | Delete
<td>
[299] Fix | Delete
<input type="number" step="1" min="0" style="width: 100px" name="option[blog_upload_space]" id="blog-upload-space-number" aria-describedby="blog-upload-space-desc" value="<?php echo $quota; ?>" />
[300] Fix | Delete
<span id="blog-upload-space-desc"><span class="screen-reader-text"><?php _e( 'Size in megabytes' ); ?></span> <?php _e( 'MB (Leave blank for network default)' ); ?></span>
[301] Fix | Delete
</td>
[302] Fix | Delete
</tr>
[303] Fix | Delete
<?php
[304] Fix | Delete
}
[305] Fix | Delete
[306] Fix | Delete
/**
[307] Fix | Delete
* Cleans the user cache for a specific user.
[308] Fix | Delete
*
[309] Fix | Delete
* @since 3.0.0
[310] Fix | Delete
*
[311] Fix | Delete
* @param int $id The user ID.
[312] Fix | Delete
* @return int|false The ID of the refreshed user or false if the user does not exist.
[313] Fix | Delete
*/
[314] Fix | Delete
function refresh_user_details( $id ) {
[315] Fix | Delete
$id = (int) $id;
[316] Fix | Delete
[317] Fix | Delete
$user = get_userdata( $id );
[318] Fix | Delete
if ( ! $user ) {
[319] Fix | Delete
return false;
[320] Fix | Delete
}
[321] Fix | Delete
[322] Fix | Delete
clean_user_cache( $user );
[323] Fix | Delete
[324] Fix | Delete
return $id;
[325] Fix | Delete
}
[326] Fix | Delete
[327] Fix | Delete
/**
[328] Fix | Delete
* Returns the language for a language code.
[329] Fix | Delete
*
[330] Fix | Delete
* @since 3.0.0
[331] Fix | Delete
*
[332] Fix | Delete
* @param string $code Optional. The two-letter language code. Default empty.
[333] Fix | Delete
* @return string The language corresponding to $code if it exists. If it does not exist,
[334] Fix | Delete
* then the first two letters of $code is returned.
[335] Fix | Delete
*/
[336] Fix | Delete
function format_code_lang( $code = '' ) {
[337] Fix | Delete
$code = strtolower( substr( $code, 0, 2 ) );
[338] Fix | Delete
$lang_codes = array(
[339] Fix | Delete
'aa' => 'Afar',
[340] Fix | Delete
'ab' => 'Abkhazian',
[341] Fix | Delete
'af' => 'Afrikaans',
[342] Fix | Delete
'ak' => 'Akan',
[343] Fix | Delete
'sq' => 'Albanian',
[344] Fix | Delete
'am' => 'Amharic',
[345] Fix | Delete
'ar' => 'Arabic',
[346] Fix | Delete
'an' => 'Aragonese',
[347] Fix | Delete
'hy' => 'Armenian',
[348] Fix | Delete
'as' => 'Assamese',
[349] Fix | Delete
'av' => 'Avaric',
[350] Fix | Delete
'ae' => 'Avestan',
[351] Fix | Delete
'ay' => 'Aymara',
[352] Fix | Delete
'az' => 'Azerbaijani',
[353] Fix | Delete
'ba' => 'Bashkir',
[354] Fix | Delete
'bm' => 'Bambara',
[355] Fix | Delete
'eu' => 'Basque',
[356] Fix | Delete
'be' => 'Belarusian',
[357] Fix | Delete
'bn' => 'Bengali',
[358] Fix | Delete
'bh' => 'Bihari',
[359] Fix | Delete
'bi' => 'Bislama',
[360] Fix | Delete
'bs' => 'Bosnian',
[361] Fix | Delete
'br' => 'Breton',
[362] Fix | Delete
'bg' => 'Bulgarian',
[363] Fix | Delete
'my' => 'Burmese',
[364] Fix | Delete
'ca' => 'Catalan; Valencian',
[365] Fix | Delete
'ch' => 'Chamorro',
[366] Fix | Delete
'ce' => 'Chechen',
[367] Fix | Delete
'zh' => 'Chinese',
[368] Fix | Delete
'cu' => 'Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic',
[369] Fix | Delete
'cv' => 'Chuvash',
[370] Fix | Delete
'kw' => 'Cornish',
[371] Fix | Delete
'co' => 'Corsican',
[372] Fix | Delete
'cr' => 'Cree',
[373] Fix | Delete
'cs' => 'Czech',
[374] Fix | Delete
'da' => 'Danish',
[375] Fix | Delete
'dv' => 'Divehi; Dhivehi; Maldivian',
[376] Fix | Delete
'nl' => 'Dutch; Flemish',
[377] Fix | Delete
'dz' => 'Dzongkha',
[378] Fix | Delete
'en' => 'English',
[379] Fix | Delete
'eo' => 'Esperanto',
[380] Fix | Delete
'et' => 'Estonian',
[381] Fix | Delete
'ee' => 'Ewe',
[382] Fix | Delete
'fo' => 'Faroese',
[383] Fix | Delete
'fj' => 'Fijjian',
[384] Fix | Delete
'fi' => 'Finnish',
[385] Fix | Delete
'fr' => 'French',
[386] Fix | Delete
'fy' => 'Western Frisian',
[387] Fix | Delete
'ff' => 'Fulah',
[388] Fix | Delete
'ka' => 'Georgian',
[389] Fix | Delete
'de' => 'German',
[390] Fix | Delete
'gd' => 'Gaelic; Scottish Gaelic',
[391] Fix | Delete
'ga' => 'Irish',
[392] Fix | Delete
'gl' => 'Galician',
[393] Fix | Delete
'gv' => 'Manx',
[394] Fix | Delete
'el' => 'Greek, Modern',
[395] Fix | Delete
'gn' => 'Guarani',
[396] Fix | Delete
'gu' => 'Gujarati',
[397] Fix | Delete
'ht' => 'Haitian; Haitian Creole',
[398] Fix | Delete
'ha' => 'Hausa',
[399] Fix | Delete
'he' => 'Hebrew',
[400] Fix | Delete
'hz' => 'Herero',
[401] Fix | Delete
'hi' => 'Hindi',
[402] Fix | Delete
'ho' => 'Hiri Motu',
[403] Fix | Delete
'hu' => 'Hungarian',
[404] Fix | Delete
'ig' => 'Igbo',
[405] Fix | Delete
'is' => 'Icelandic',
[406] Fix | Delete
'io' => 'Ido',
[407] Fix | Delete
'ii' => 'Sichuan Yi',
[408] Fix | Delete
'iu' => 'Inuktitut',
[409] Fix | Delete
'ie' => 'Interlingue',
[410] Fix | Delete
'ia' => 'Interlingua (International Auxiliary Language Association)',
[411] Fix | Delete
'id' => 'Indonesian',
[412] Fix | Delete
'ik' => 'Inupiaq',
[413] Fix | Delete
'it' => 'Italian',
[414] Fix | Delete
'jv' => 'Javanese',
[415] Fix | Delete
'ja' => 'Japanese',
[416] Fix | Delete
'kl' => 'Kalaallisut; Greenlandic',
[417] Fix | Delete
'kn' => 'Kannada',
[418] Fix | Delete
'ks' => 'Kashmiri',
[419] Fix | Delete
'kr' => 'Kanuri',
[420] Fix | Delete
'kk' => 'Kazakh',
[421] Fix | Delete
'km' => 'Central Khmer',
[422] Fix | Delete
'ki' => 'Kikuyu; Gikuyu',
[423] Fix | Delete
'rw' => 'Kinyarwanda',
[424] Fix | Delete
'ky' => 'Kirghiz; Kyrgyz',
[425] Fix | Delete
'kv' => 'Komi',
[426] Fix | Delete
'kg' => 'Kongo',
[427] Fix | Delete
'ko' => 'Korean',
[428] Fix | Delete
'kj' => 'Kuanyama; Kwanyama',
[429] Fix | Delete
'ku' => 'Kurdish',
[430] Fix | Delete
'lo' => 'Lao',
[431] Fix | Delete
'la' => 'Latin',
[432] Fix | Delete
'lv' => 'Latvian',
[433] Fix | Delete
'li' => 'Limburgan; Limburger; Limburgish',
[434] Fix | Delete
'ln' => 'Lingala',
[435] Fix | Delete
'lt' => 'Lithuanian',
[436] Fix | Delete
'lb' => 'Luxembourgish; Letzeburgesch',
[437] Fix | Delete
'lu' => 'Luba-Katanga',
[438] Fix | Delete
'lg' => 'Ganda',
[439] Fix | Delete
'mk' => 'Macedonian',
[440] Fix | Delete
'mh' => 'Marshallese',
[441] Fix | Delete
'ml' => 'Malayalam',
[442] Fix | Delete
'mi' => 'Maori',
[443] Fix | Delete
'mr' => 'Marathi',
[444] Fix | Delete
'ms' => 'Malay',
[445] Fix | Delete
'mg' => 'Malagasy',
[446] Fix | Delete
'mt' => 'Maltese',
[447] Fix | Delete
'mo' => 'Moldavian',
[448] Fix | Delete
'mn' => 'Mongolian',
[449] Fix | Delete
'na' => 'Nauru',
[450] Fix | Delete
'nv' => 'Navajo; Navaho',
[451] Fix | Delete
'nr' => 'Ndebele, South; South Ndebele',
[452] Fix | Delete
'nd' => 'Ndebele, North; North Ndebele',
[453] Fix | Delete
'ng' => 'Ndonga',
[454] Fix | Delete
'ne' => 'Nepali',
[455] Fix | Delete
'nn' => 'Norwegian Nynorsk; Nynorsk, Norwegian',
[456] Fix | Delete
'nb' => 'Bokmål, Norwegian, Norwegian Bokmål',
[457] Fix | Delete
'no' => 'Norwegian',
[458] Fix | Delete
'ny' => 'Chichewa; Chewa; Nyanja',
[459] Fix | Delete
'oc' => 'Occitan, Provençal',
[460] Fix | Delete
'oj' => 'Ojibwa',
[461] Fix | Delete
'or' => 'Oriya',
[462] Fix | Delete
'om' => 'Oromo',
[463] Fix | Delete
'os' => 'Ossetian; Ossetic',
[464] Fix | Delete
'pa' => 'Panjabi; Punjabi',
[465] Fix | Delete
'fa' => 'Persian',
[466] Fix | Delete
'pi' => 'Pali',
[467] Fix | Delete
'pl' => 'Polish',
[468] Fix | Delete
'pt' => 'Portuguese',
[469] Fix | Delete
'ps' => 'Pushto',
[470] Fix | Delete
'qu' => 'Quechua',
[471] Fix | Delete
'rm' => 'Romansh',
[472] Fix | Delete
'ro' => 'Romanian',
[473] Fix | Delete
'rn' => 'Rundi',
[474] Fix | Delete
'ru' => 'Russian',
[475] Fix | Delete
'sg' => 'Sango',
[476] Fix | Delete
'sa' => 'Sanskrit',
[477] Fix | Delete
'sr' => 'Serbian',
[478] Fix | Delete
'hr' => 'Croatian',
[479] Fix | Delete
'si' => 'Sinhala; Sinhalese',
[480] Fix | Delete
'sk' => 'Slovak',
[481] Fix | Delete
'sl' => 'Slovenian',
[482] Fix | Delete
'se' => 'Northern Sami',
[483] Fix | Delete
'sm' => 'Samoan',
[484] Fix | Delete
'sn' => 'Shona',
[485] Fix | Delete
'sd' => 'Sindhi',
[486] Fix | Delete
'so' => 'Somali',
[487] Fix | Delete
'st' => 'Sotho, Southern',
[488] Fix | Delete
'es' => 'Spanish; Castilian',
[489] Fix | Delete
'sc' => 'Sardinian',
[490] Fix | Delete
'ss' => 'Swati',
[491] Fix | Delete
'su' => 'Sundanese',
[492] Fix | Delete
'sw' => 'Swahili',
[493] Fix | Delete
'sv' => 'Swedish',
[494] Fix | Delete
'ty' => 'Tahitian',
[495] Fix | Delete
'ta' => 'Tamil',
[496] Fix | Delete
'tt' => 'Tatar',
[497] Fix | Delete
'te' => 'Telugu',
[498] Fix | Delete
'tg' => 'Tajik',
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function