I18N: Improve docblocks after [57337].

Props mukesh27.
See #59656.
Built from https://develop.svn.wordpress.org/trunk@57344


git-svn-id: http://core.svn.wordpress.org/trunk@56850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Pascal Birchler 2024-01-24 07:57:14 +00:00
parent 7f22c4d4ea
commit 417bf8d365
4 changed files with 3 additions and 5 deletions

View File

@ -225,7 +225,6 @@ class WP_Textdomain_Registry {
* @type string $version The version of a theme, plugin, or core. * @type string $version The version of a theme, plugin, or core.
* } * }
* } * }
* @return void
*/ */
public function invalidate_mo_files_cache( $upgrader, $hook_extra ) { public function invalidate_mo_files_cache( $upgrader, $hook_extra ) {
if ( if (

View File

@ -284,7 +284,6 @@ abstract class WP_Translation_File {
*/ */
abstract protected function parse_file(); abstract protected function parse_file();
/** /**
* Exports translation contents as a string. * Exports translation contents as a string.
* *

View File

@ -80,8 +80,8 @@ class WP_Translations {
* *
* @since 6.5.0 * @since 6.5.0
* *
* @param string $original Original string to translate from MO file. Might contain * @param string $original Original string to translate from MO file. Might contain
* 0x04 as context separator or 0x00 as singular/plural separator. * 0x04 as context separator or 0x00 as singular/plural separator.
* @param string $translations Translation strings from MO file. * @param string $translations Translation strings from MO file.
* @return Translation_Entry Entry instance. * @return Translation_Entry Entry instance.
*/ */

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.