@@ -87,7 +87,7 @@ class WP_Script_Modules {
8787 * Each entry contains 'domain' and 'path' keys for the text domain
8888 * and the path to translation files respectively.
8989 *
90- * @since x.y.z
90+ * @since 7.0.0
9191 * @var array<string, array{domain: string, path: string}>
9292 */
9393 private $ translations = array ();
@@ -346,7 +346,7 @@ public function deregister( string $id ) {
346346 * The translations will be loaded and output as inline scripts before
347347 * the script modules are printed, calling `wp.i18n.setLocaleData()`.
348348 *
349- * @since x.y.z
349+ * @since 7.0.0
350350 *
351351 * @param string $id The identifier of the script module.
352352 * @param string $domain Optional. Text domain. Default 'default'.
@@ -373,7 +373,7 @@ public function set_translations( string $id, string $domain = 'default', string
373373 * the translated strings for each script module. This must run before
374374 * the script modules execute.
375375 *
376- * @since x.y.z
376+ * @since 7.0.0
377377 */
378378 public function print_script_module_translations (): void {
379379 // Collect all module IDs that will be on the page (enqueued + their dependencies).
@@ -935,7 +935,7 @@ private function sort_item_dependencies( string $id, array $import_types, array
935935 * This is used by {@see load_script_module_textdomain()} to determine
936936 * the relative path for loading translation files.
937937 *
938- * @since x.y.z
938+ * @since 7.0.0
939939 *
940940 * @param string $id The script module identifier.
941941 * @return string|false The script module source URL, or false if not registered.
0 commit comments