mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 07:36:58 +00:00
Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: https://develop.svn.wordpress.org/trunk@12515 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -107,7 +107,7 @@ if ( isset($_GET['deleted']) ) {
|
||||
<input type="submit" value="<?php esc_attr_e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
|
||||
|
||||
<?php
|
||||
$categories = get_terms('link_category', "hide_empty=1");
|
||||
$categories = get_terms('link_category', array("hide_empty" => 1));
|
||||
$select_cat = "<select name=\"cat_id\">\n";
|
||||
$select_cat .= '<option value="all"' . (($cat_id == 'all') ? " selected='selected'" : '') . '>' . __('View all Categories') . "</option>\n";
|
||||
foreach ((array) $categories as $cat)
|
||||
|
||||
Reference in New Issue
Block a user