| @@ -61,9 +61,9 @@ | ||
| 61 | 61 | <?php do_action( 'elementor/editor/templates/panel/category' ); ?> |
| 62 | 62 | <# if ( 'undefined' !== typeof promotion && promotion ) { #> |
| 63 | 63 | <span class="elementor-panel-heading-promotion"> |
| 64 | 64 | <a href="{{{ promotion.url }}}" target="_blank"> |
| 65 | - <i class="eicon-upgrade-crown-full"></i>{{{ promotion.text || <?php echo wp_json_encode( __( 'Upgrade', 'elementor' ) ); ?> }}} | |
| 65 | + <i class="eicon-upgrade-crown-full"></i><?php echo esc_html__( 'Upgrade', 'elementor' ); ?> | |
| 66 | 66 | </a> |
| 67 | 67 | </span> |
| 68 | 68 | <# } #> |
| 69 | 69 | </button> |
| @@ -82,11 +82,11 @@ | ||
| 82 | 82 | <# const v4Categories = ['v4-elements', 'atomic-form']; #> |
| 83 | 83 | <button class="elementor-element" data-library-element-type="{{ elType === 'widget' ? widgetType : elType }}"> |
| 84 | 84 | <# if ( obj.integration ) { #> |
| 85 | 85 | <i class="eicon-plug"></i> |
| 86 | - <# } else if ( false === obj.editable ) { #> | |
| 86 | + <# } else if ( false === obj.editable && !obj.birthdayEasterEgg ) { #> | |
| 87 | 87 | <i class="eicon-upgrade-crown-full"></i> |
| 88 | - <# } else if ( obj.categories.some( category => v4Categories.includes( category ) ) ) { #> | |
| 88 | + <# } else if ( !obj.birthdayEasterEgg && obj.categories.some( category => v4Categories.includes( category ) ) ) { #> | |
| 89 | 89 | <i class="eicon-atomic"></i> |
| 90 | 90 | <# } #> |
| 91 | 91 | <div class="icon"> |
| 92 | 92 | <i class="{{ icon }}" aria-hidden="true"></i> |