| @@ -63,9 +63,8 @@ | ||
| 63 | 63 | 'plugins' => $plugins, |
| 64 | 64 | 'notice_data' => [ |
| 65 | 65 | 'notice_id' => $notice_id, |
| 66 | 66 | 'is_viewed' => User::is_user_notice_viewed( $notice_id ), |
| 67 | - 'nonce' => wp_create_nonce( 'elementor_set_admin_notice_viewed' ), | |
| 68 | 67 | ], |
| 69 | 68 | 'promotion_data' => [ |
| 70 | 69 | 'manager_permissions' => [ |
| 71 | 70 | 'pro' => $this->get_element_manager_promotion( |
| @@ -122,9 +121,9 @@ | ||
| 122 | 121 | remove_all_filters( 'elementor/widgets/is_widget_enabled' ); |
| 123 | 122 | } |
| 124 | 123 | |
| 125 | 124 | private function get_plugin_name_from_widget_instance( $widget ) { |
| 126 | - if ( in_array( 'wordpress', $widget->get_categories() ) ) { // phpcs:ignore WordPress.WP.CapitalPDangit.MisspelledInText | |
| 125 | + if ( in_array( 'wordpress', $widget->get_categories() ) ) { | |
| 127 | 126 | return esc_html__( 'WordPress Widgets', 'elementor' ); |
| 128 | 127 | } |
| 129 | 128 | |
| 130 | 129 | $class_reflection = new \ReflectionClass( $widget ); |