get_string( 'cdn.engine' ); $cdn_enabled = $c->get_boolean( 'cdn.enabled' ); $cdn_name = Cache::engine_name( $cdn_engine ); $cdnfsd_engine = $c->get_string( 'cdnfsd.engine' ); $cdnfsd_enabled = $c->get_boolean( 'cdnfsd.enabled' ); $cdnfsd_name = Cache::engine_name( $cdnfsd_engine ); // Check if BunnyCDN is selected but not fully configured. $is_bunny_cdn_incomplete = ( ( $cdn_enabled && 'bunnycdn' === $cdn_engine && empty( $c->get_integer( 'cdn.bunnycdn.pull_zone_id' ) ) ) || ( $cdnfsd_enabled && 'bunnycdn' === $cdnfsd_engine && empty( $c->get_integer( 'cdnfsd.bunnycdn.pull_zone_id' ) ) ) ); // Check if a non-BunnyCDN is configured. $is_other_cdn_configured = ( ( $cdn_enabled && ! empty( $cdn_engine ) && 'bunnycdn' !== $cdn_engine ) || ( $cdnfsd_enabled && ! empty( $cdnfsd_engine ) && 'bunnycdn' !== $cdnfsd_engine ) ); if ( $is_bunny_cdn_incomplete ) { // BunnyCDN selected but not fully configured. ?>

', '' ), array( 'a' => array( 'href' => array(), ), ) ); ?>

' . __( 'CDN', 'w3-total-cache' ) . '' . ' ' . __( 'and', 'w3-total-cache' ) . ' ' . $cdnfsd_name . ' ' . __( 'CDN FSD', 'w3-total-cache' ) . ''; break; case $cdn_enabled && ! empty( $cdn_engine ): $cdn_label = $cdn_name . ' ' . __( 'CDN', 'w3-total-cache' ) . ''; break; case $cdnfsd_enabled && ! empty( $cdnfsd_engine ): $cdn_label = $cdnfsd_name . ' ' . __( 'CDN FSD', 'w3-total-cache' ) . ''; break; default: $cdn_label = __( 'Unknown', 'w3-total-cache' ) . ' ' . __( 'CDN / CDN FSD', 'w3-total-cache' ) . ''; break; } echo wp_kses( sprintf( // translators: 1 configured CDN/CDN FSD label. __( 'W3 Total Cache has detected that you are using the %1$s, which is fully supported and compatible. For optimal performance and value, we recommend considering BunnyCDN as an alternative.', 'w3-total-cache' ), $cdn_label ), array( 'acronym' => array( 'title' => array(), ), ) ); ?>

' . __( 'CDN', 'w3-total-cache' ) . '' ), array( 'acronym' => array( 'title' => array(), ), ) ); ?>

' . \__( 'CDN', 'w3-total-cache' ) . '' ) ); ?>

' . \__( 'CDN', 'w3-total-cache' ) . '' ) ); ?>