equal
deleted
inserted
replaced
50 /* translators: 1: Project name (plugin, theme, or WordPress), 2: Language. */ |
50 /* translators: 1: Project name (plugin, theme, or WordPress), 2: Language. */ |
51 printf( '<h2>' . __( 'Updating translations for %1$s (%2$s)…' ) . '</h2>', $name, $this->language_update->language ); |
51 printf( '<h2>' . __( 'Updating translations for %1$s (%2$s)…' ) . '</h2>', $name, $this->language_update->language ); |
52 } |
52 } |
53 |
53 |
54 /** |
54 /** |
55 * @param string|WP_Error $error |
55 * @since 5.9.0 Renamed `$error` to `$errors` for PHP 8 named parameter support. |
|
56 * |
|
57 * @param string|WP_Error $errors Errors. |
56 */ |
58 */ |
57 public function error( $error ) { |
59 public function error( $errors ) { |
58 echo '<div class="lp-error">'; |
60 echo '<div class="lp-error">'; |
59 parent::error( $error ); |
61 parent::error( $errors ); |
60 echo '</div>'; |
62 echo '</div>'; |
61 } |
63 } |
62 |
64 |
63 /** |
65 /** |
64 */ |
66 */ |