diff --git a/wp-includes/l10n.php b/wp-includes/l10n.php index b46607ae61..d1afbe4832 100644 --- a/wp-includes/l10n.php +++ b/wp-includes/l10n.php @@ -1469,32 +1469,3 @@ function is_locale_switched() { return $wp_locale_switcher->is_switched(); } - -/** - * Returns Jed-formatted localization data. - * - * @since 5.0.0 - * - * @param string $domain Translation domain. - * @return array Jed-formatted localization data. - */ -function wp_get_jed_locale_data( $domain ) { - $translations = get_translations_for_domain( $domain ); - - $locale = array( - '' => array( - 'domain' => $domain, - 'lang' => determine_locale(), - ), - ); - - if ( ! empty( $translations->headers['Plural-Forms'] ) ) { - $locale['']['plural_forms'] = $translations->headers['Plural-Forms']; - } - - foreach ( $translations->entries as $msgid => $entry ) { - $locale[ $msgid ] = $entry->translations; - } - - return $locale; -} diff --git a/wp-includes/version.php b/wp-includes/version.php index 3deb49198a..8912e0181a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-beta5-43909'; +$wp_version = '5.0-beta5-43910'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.