| @@ -242,10 +242,10 @@ | ||
| 242 | 242 | <div id="elementor-switch-mode"> |
| 243 | 243 | <input id="elementor-switch-mode-input" type="hidden" name="_elementor_post_mode" value="<?php echo esc_attr( $document->is_built_with_elementor() ); ?>" /> |
| 244 | 244 | <button id="elementor-switch-mode-button" type="button" class="button button-primary button-hero"> |
| 245 | 245 | <span class="elementor-switch-mode-on"> |
| 246 | - <i class="eicon-arrow-<?php echo ( is_rtl() ) ? 'right' : 'left'; ?>" aria-hidden="true"></i> | |
| 247 | - <?php echo esc_html__( 'Back to WordPress Editor', 'elementor' ); ?> | |
| 246 | + <i class="eicon-wordpress" aria-hidden="true"></i> | |
| 247 | + <?php echo esc_html__( 'Edit with WordPress', 'elementor' ); ?> | |
| 248 | 248 | </span> |
| 249 | 249 | <span class="elementor-switch-mode-off"> |
| 250 | 250 | <i class="eicon-elementor-square" aria-hidden="true"></i> |
| 251 | 251 | <?php echo esc_html__( 'Edit with Elementor', 'elementor' ); ?> |
| @@ -427,8 +427,13 @@ | ||
| 427 | 427 | * @return string The content that will be printed. |
| 428 | 428 | */ |
| 429 | 429 | public function admin_footer_text( $footer_text ) { |
| 430 | 430 | $current_screen = get_current_screen(); |
| 431 | + | |
| 432 | + if ( $current_screen && str_ends_with( $current_screen->id, 'elementor-mcp' ) ) { | |
| 433 | + return $footer_text; | |
| 434 | + } | |
| 435 | + | |
| 431 | 436 | $is_elementor_screen = ( $current_screen && false !== strpos( $current_screen->id, 'elementor' ) ); |
| 432 | 437 | |
| 433 | 438 | if ( $is_elementor_screen ) { |
| 434 | 439 | $footer_text = sprintf( |