Merged in feature/314-dev-dev01 (pull request #24)
auto-patch 314-dev-dev01-2024-01-25T04_09_02 * auto-patch 314-dev-dev01-2024-01-25T04_09_02
This commit is contained in:
@@ -191,8 +191,8 @@ class WP_Robots_Integration implements Integration_Interface {
|
||||
'follow' => 2,
|
||||
'nofollow' => 3,
|
||||
];
|
||||
$ai = isset( $order[ $a ] ) ? $order[ $a ] : 4;
|
||||
$bi = isset( $order[ $b ] ) ? $order[ $b ] : 4;
|
||||
$ai = ( $order[ $a ] ?? 4 );
|
||||
$bi = ( $order[ $b ] ?? 4 );
|
||||
|
||||
return ( $ai - $bi );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user