← All changes
|
modules/safe-mode/mu-plugin/elementor-safe-mode.php
+3
-2
4.2.0-beta2
→
3.13.2
View file →
| @@ -1,5 +1,6 @@ | ||
| 1 | 1 | <?php |
| 2 | + | |
| 2 | 3 | /** |
| 3 | 4 | * Plugin Name: Elementor Safe Mode |
| 4 | 5 | * Description: Safe Mode allows you to troubleshoot issues by only loading the editor, without loading the theme or any other plugin. |
| 5 | 6 | * Plugin URI: https://elementor.com/?utm_source=safe-mode&utm_campaign=plugin-uri&utm_medium=wp-dash |
| @@ -23,9 +24,9 @@ | ||
| 23 | 24 | * GNU General Public License for more details. |
| 24 | 25 | */ |
| 25 | 26 | |
| 26 | 27 | if ( ! defined( 'ABSPATH' ) ) { |
| 27 | - exit; // Exit if accessed directly. | |
| 28 | + exit; // Exit if accessed directly | |
| 28 | 29 | } |
| 29 | 30 | |
| 30 | 31 | class Safe_Mode { |
| 31 | 32 | |
| @@ -101,9 +102,9 @@ | ||
| 101 | 102 | */ |
| 102 | 103 | public function plugin_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ) { |
| 103 | 104 | if ( basename( __FILE__ ) === $plugin_file ) { |
| 104 | 105 | $row_meta = [ |
| 105 | - 'docs' => '<a href="https://go.elementor.com/safe-mode/" target="_blank">' . esc_html__( 'Learn More', 'elementor' ) . '</a>', | |
| 106 | + 'docs' => '<a href="https://go.elementor.com/safe-mode/" aria-label="' . esc_attr( esc_html__( 'Learn More', 'elementor' ) ) . '" target="_blank">' . esc_html__( 'Learn More', 'elementor' ) . '</a>', | |
| 106 | 107 | ]; |
| 107 | 108 | |
| 108 | 109 | $plugin_meta = array_merge( $plugin_meta, $row_meta ); |
| 109 | 110 | } |