rn $url; } return false; } /** * Marks allowed redirect hosts safe for HTTP requests as well. * * Attached to the {@see 'http_request_host_is_external'} filter. * * @since 3.6.0 * * @param bool $is_external * @param string $host * @return bool */ function allowed_http_request_hosts( $is_external, $host ) { if ( ! $is_external && wp_validate_redirect( 'http://' . $host ) ) { $is_external = true; } return $is_external; } /** * Adds any domain in a multisite installation for safe HTTP requests to the * allowed list. * * Attached to the {@see 'http_request_host_is_external'} filter. * * @ 100% ;\n}\n#colibri .style-2779 {\n background-color: unset;\n background-image: none;\n}\n","tablet":"","mobile":""},"2780":{"desktop":"#colibri .style-2780 {\n text-align: center;\n height: auto;\n min-height: unset;\n background-color: #FFFFFF;\n background-position: 0.1015625% 52%;\n background-size: 55% auto;\n background-image: url(\"https:\/\/flycademy.de\/wp-content\/uploads\/2021\/09\/cropped-cropped-IMG_0607-scaled-1.jpeg\");\n background-attachment: scroll;\n background-repeat: no-repeat;\n}\n","tablet":"","mobile":"#colibri .style-2780 {\n background-size: 100% auto;\n}\n"},"2781":{"desktop":"#colibri .style-2781 {\n padding-top: 30px;\n background-color: unset;\n background-image: none;\n}\n","tablet":"#colibri .style-2781 {\n padding-top: 40px;\n}\n","mobile":"#colibri .style-2781 {\n padding-top: 0px;\n}\n"},"2782":{"desktop":"#colibri .style-2782 {\n text-align: left;\n height: auto;\n min-height: unset;\n}\n","tablet":"","mobile":""},"2783":{"desktop":"#colibri .style-2783-icon {\n fill: rgb(35, 38, 79);\n width: 16px ;\n height: 16px;\n padding-left: 10px;\n}\n#colibri .style-2783 .list-item-text-wrapper {\n horizontal-align: start;\n padding-bottom: 0px;\n}\n#colibri .style-2783 .list-text {\n margin-left: 10px;\n color: #17252a;\n}\n#colibri .style-2783 .list-divider {\n color: rgb(0,0,0);\n width: 100% ;\n height: 0%;\n border-top-width: 0px;\n border-top-style: solid;\n border-right-width: 0px;\n border-right-style: solid;\n border-bottom-width: 1px;\n border-bottom-color: rgb(0,0,0);\n border-bottom-style: solid;\n border-left-width: 0px;\n border-left-style: solid;\n margin-left: 0px;\n}\n#colibri .style-2783 .list-container-divider {\n width: 100% ;\n padding-top: 10px;\n padding-right: 0px;\n padding-bottom: 10px;\n padding-left: 0px;\n height: 1px;\n}\n","tablet":"","mobile":"#colibri .style-2783 .list-item-text-wrapper {\n horizontal-align: center;\n}\n"},"2784":{"desktop":"#colibri .style-2784 {\n text-align: left;\n}\n","tablet":"","mobile":""},"2785":{"desktop":"#colibri .style-2785-icon {\n width: 18px ;\n height: 18px;\n margin-right: 10px;\n margin-left: 0px;\n}\n#colibri .style-2785-icon:visited {\n width: 18px ;\n height: 18px;\n margin-right: 10px;\n margin-left: 0px;\n}\n","tablet":"","mobile":""},"2786":{"desktop":".style-2786 > .h-row-container > .h-row > [class*='h-col-'] {\n width: 100% ;\n}\n#colibri .style-2786 {\n background-color: #FFFFFF;\n background-image: none;\n}\n","tablet":"","mobile":""},"2787":{"desktop":"#colibri .style-2787 {\n text-align: center;\n height: auto;\n min-height: unset;\n background-color: #FFFFFF;\n background-position: 100% 42.003281506367685%;\n background-size: 59% auto;\n background-image: url(\"https:\/\/flycademy.de\/wp-content\/uploads\/2022\/08\/IMG_5828.jpg\");\n background-attachment: scroll;\n background-repeat: no-repeat;\n}\n","tablet":"","mobile":"#colibri .style-2787 {\n background-size: 100% auto;\n}\n"},"2788":{"desktop":"","tablet":"","mobile":""},"2789":{"desktop":"#colibri .style-2789 {\n text-align: center;\n height: auto;\n min-height: unset;\n}\n","tablet":"","mobile":""},"2790":{"desktop":"#colibri .style-2790 {\n padding-top: 30px;\n background-color: unset;\n background-image: none;\n}\n","tablet":"#colibri .style-2790 {\n padding-top: 40px;\n}\n","mobile":"#colibri .style-2790 {\n padding-top: 0px;\n}\n"},"2791":{"desktop":"#colibri .style-2791 {\n text-align: left;\n height: auto;\n min-height: unset;\n}\n","tablet":"","mobile":""},"2792":{"desktop":"#colibri .style-2792-icon {\n fill: rgb(35, 38, 79);\n width: 16px ;\n height: 16px;\n padding-left: 10px;\n}\n#colibri .style-2792 .list-item-text-wrapper {\n horizontal-align: start;\n padding-bottom: 0px;\n}\n#colibri .style-2792 .list-text {\n margin-left: 10px;\n color: #17252a;\n}\n#colibri .style-2792 .list-divider {\n color: rgb(0,0,0);\n width: 100% ;\n height: 0%;\n border-top-width: 0px;\n border-top-style: solid;\n border-right-width: 0px;\n border-right-style: solid;\n. */ public function add_page( $pages ) { \array_splice( $pages, 0, 0, [ [ self::PAGE, '', \__( 'General', 'wordpress-seo' ), 'wpseo_manage_options', self::PAGE, [ $this, 'display_page' ], ], ] ); return $pages; } /** * Displays the page. * * @return void */ public function display_page() { echo '
'; } /** * Enqueues the assets. * * @return void */ public function enqueue_assets() { // Remove the emoji script as it is incompatible with both React and any contenteditable fields. \remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); \wp_enqueue_media(); $this->asset_manager->enqueue_script( 'general-page' ); $this->asset_manager->enqueue_style( 'general-page' ); if ( $this->promotion_manager->is( 'black-friday-2024-promotion' ) ) { $this->asset_manager->enqueue_style( 'black-friday-banner' ); } $this->asset_manager->localize_script( 'general-page', 'wpseoScriptData', $this->get_script_data() ); } /** * Creates the script data. * * @return array