| @@ -76,15 +76,15 @@ | ||
| 76 | 76 | * |
| 77 | 77 | * Retrieve the theme. |
| 78 | 78 | * |
| 79 | 79 | * @since 1.0.0 |
| 80 | - * @deprecated 3.1.0 Use `get_theme()` method instead. | |
| 81 | 80 | * @access protected |
| 81 | + * @deprecated 3.1.0 | |
| 82 | 82 | * |
| 83 | 83 | * @return \WP_Theme WordPress theme object. |
| 84 | 84 | */ |
| 85 | 85 | protected function _get_theme() { |
| 86 | - Plugin::$instance->modules_manager->get_modules( 'dev-tools' )->deprecation->deprecated_function( __METHOD__, '3.1.0', 'get_theme()' ); | |
| 86 | + Plugin::$instance->modules_manager->get_modules( 'dev-tools' )->deprecation->deprecated_function( __METHOD__, '3.1.0', __CLASS__ . '::get_theme()' ); | |
| 87 | 87 | |
| 88 | 88 | return $this->get_theme(); |
| 89 | 89 | } |
| 90 | 90 | |
| @@ -203,9 +203,9 @@ | ||
| 203 | 203 | |
| 204 | 204 | if ( ! $is_child_theme ) { |
| 205 | 205 | $result['recommendation'] = sprintf( |
| 206 | 206 | /* translators: %s: WordPress child themes documentation. */ |
| 207 | - __( 'If you want to modify the source code of your theme, we recommend using a <a href="%s">child theme</a>.', 'elementor' ), | |
| 207 | + _x( 'If you want to modify the source code of your theme, we recommend using a <a href="%s">child theme</a>.', 'System Info', 'elementor' ), | |
| 208 | 208 | 'https://go.elementor.com/wordpress-child-themes/' |
| 209 | 209 | ); |
| 210 | 210 | } |
| 211 | 211 | |