Ich versuche die Foodpress App in meine Multisite Installation zu integrieren. Ich habe derzeit Wildcard ssl installiert.Wordpress Plugin - ändere dynamische Stylesheets zum Laden unter https
Dieser Fehler tritt auf, wenn ich die Vorderseite der Website in Chrom inspiziere. foodpress_dynamic_styles.css Fehler beim Laden der Ressource: Der Server hat mit dem Status 404 (Not Found) geantwortet
Ich muss diesen Codeabschnitt ändern, damit https anstelle von http geladen wird, damit er ordnungsgemäß funktioniert. (Ich würde die Entwickler fragen, aber die sagten, dass sie nicht mehr Wordpress unterstützen.)
public function register_fp_dynamic_styles(){
$opt= $this->fpOpt;
if(!empty($opt['fp_css_head']) && $opt['fp_css_head'] =='no' ||
empty($opt['fp_css_head'])){
if(is_multisite()) {
$uploads = wp_upload_dir();
wp_register_style('foodpress_dynamic_styles', $uploads['baseurl'] . '/foodpress_dynamic_styles.css', 'style');
} else {
wp_register_style('foodpress_dynamic_styles',
FP_URL. '/assets/css/foodpress_dynamic_styles.css', 'style');
}
}
}