Skip to content

Commit

Permalink
I18N: Improve docblocks after [57337].
Browse files Browse the repository at this point in the history
Props mukesh27.
See #59656.
Built from https://develop.svn.wordpress.org/trunk@57344


git-svn-id: https://core.svn.wordpress.org/trunk@56850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
swissspidy committed Jan 24, 2024
1 parent d24aed3 commit ee4ca41
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion wp-includes/class-wp-textdomain-registry.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ public function get_language_files_from_path( $path ) {
* @type string $version The version of a theme, plugin, or core.
* }
* }
* @return void
*/
public function invalidate_mo_files_cache( $upgrader, $hook_extra ) {
if (
Expand Down
1 change: 0 additions & 1 deletion wp-includes/l10n/class-wp-translation-file.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ protected function import( WP_Translation_File $source ): bool {
*/
abstract protected function parse_file();


/**
* Exports translation contents as a string.
*
Expand Down
4 changes: 2 additions & 2 deletions wp-includes/l10n/class-wp-translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ public function __get( string $name ) {
*
* @since 6.5.0
*
* @param string $original Original string to translate from MO file. Might contain
* 0x04 as context separator or 0x00 as singular/plural separator.
* @param string $original Original string to translate from MO file. Might contain
* 0x04 as context separator or 0x00 as singular/plural separator.
* @param string $translations Translation strings from MO file.
* @return Translation_Entry Entry instance.
*/
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.5-alpha-57343';
$wp_version = '6.5-alpha-57344';

/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
Expand Down

0 comments on commit ee4ca41

Please sign in to comment.