yet another hack for Nanostation Loco

This commit is contained in:
info@mschuette.name 2014-05-20 16:36:45 +00:00
parent 07b1f9c3af
commit f8f17ebdfa

View file

@ -84,6 +84,7 @@ function ff_hh_shortcode_versions( $atts, $content, $name ) {
$hw = str_replace('-', ' ', $hw);
$hw = str_replace('TP LINK TL ', 'TP-Link TL-', $hw);
} elseif (!strncmp($hw, 'ubiquiti', 8)) {
$hw = str_replace('ubiquiti-bullet-m', 'ubiquiti-bullet-m / nanostation-loco-m', $hw);
$hw = str_replace('-m', ' M2', $hw);
$hw = str_replace('-', ' ', $hw);
$hw = ucwords($hw);