fix to M2
This commit is contained in:
parent
7ff07b6c57
commit
07b1f9c3af
|
@ -84,7 +84,7 @@ function ff_hh_shortcode_versions( $atts, $content, $name ) {
|
||||||
$hw = str_replace('-', ' ', $hw);
|
$hw = str_replace('-', ' ', $hw);
|
||||||
$hw = str_replace('TP LINK TL ', 'TP-Link TL-', $hw);
|
$hw = str_replace('TP LINK TL ', 'TP-Link TL-', $hw);
|
||||||
} elseif (!strncmp($hw, 'ubiquiti', 8)) {
|
} elseif (!strncmp($hw, 'ubiquiti', 8)) {
|
||||||
$hw = str_replace('-m', ' M1', $hw);
|
$hw = str_replace('-m', ' M2', $hw);
|
||||||
$hw = str_replace('-', ' ', $hw);
|
$hw = str_replace('-', ' ', $hw);
|
||||||
$hw = ucwords($hw);
|
$hw = ucwords($hw);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue