| @@ -142,9 +142,8 @@ | ||
| 142 | 142 | 'templately-dmsans', |
| 143 | 143 | set_url_scheme( '//fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap' ) |
| 144 | 144 | ); |
| 145 | 145 | |
| 146 | - wp_enqueue_media(); | |
| 147 | 146 | templately()->assets->enqueue( 'templately', 'js/templately.js', $script_dependencies, true ); |
| 148 | 147 | templately()->assets->enqueue( 'templately', 'css/templately.css', ['templately-dmsans'] ); |
| 149 | 148 | |
| 150 | 149 | /** |
| @@ -176,9 +175,8 @@ | ||
| 176 | 175 | 'is_signed' => Login::is_signed(), |
| 177 | 176 | 'is_globally_signed' => Login::is_globally_signed(), |
| 178 | 177 | 'signed_as_global' => Login::signed_as_global(), |
| 179 | 178 | 'current_screen' => $_current_screen, |
| 180 | - 'post_type' => get_post_type(), | |
| 181 | 179 | 'has_elementor_pro' => rest_sanitize_boolean( is_plugin_active( 'elementor-pro/elementor-pro.php' ) ), |
| 182 | 180 | 'theme' => $_current_screen == 'templately' ? 'light' : $platform->ui_theme(), |
| 183 | 181 | 'is_wp_support_gutenberg' => version_compare( get_bloginfo( 'version' ), '5.0.0', '>=' ), |
| 184 | 182 | ], $templately ); |