Skip to content

Commit 22c8744

Browse files
authored
corrected bug
1 parent d413f76 commit 22c8744

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

change-option-page-location-display.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
function options_page_rule_values_titles($choices) {
1111
$pages = acf_get_options_pages();
1212
if (!$pages) {
13-
return;
13+
return $choices;
1414
}
1515
foreach ($pages as $page) {
1616
$choices[$page['menu_slug']] = $page['page_title'];
1717
}
1818
return $choices;
1919
}
2020

21-
?>
21+
?>

0 commit comments

Comments
 (0)