@@ 224-228 (lines=5) @@ | ||
221 | } |
|
222 | ||
223 | // Cleanup after any filters that may have produced duplicate services |
|
224 | if ( is_array( $enabled['visible'] ) ) { |
|
225 | $enabled['visible'] = array_unique( $enabled['visible'] ); |
|
226 | } else { |
|
227 | $enabled['visible'] = array(); |
|
228 | } |
|
229 | ||
230 | if ( is_array( $enabled['hidden'] ) ) { |
|
231 | $enabled['hidden'] = array_unique( $enabled['hidden'] ); |
|
@@ 230-234 (lines=5) @@ | ||
227 | $enabled['visible'] = array(); |
|
228 | } |
|
229 | ||
230 | if ( is_array( $enabled['hidden'] ) ) { |
|
231 | $enabled['hidden'] = array_unique( $enabled['hidden'] ); |
|
232 | } else { |
|
233 | $enabled['hidden'] = array(); |
|
234 | } |
|
235 | ||
236 | // Form the enabled services |
|
237 | $blog = array( 'visible' => array(), 'hidden' => array() ); |