Allow selecting only published segments, fix "Save" translation

This commit is contained in:
Tautvidas Sipavičius
2016-04-07 18:16:55 +03:00
parent 678a0b3835
commit 9a46640c15
2 changed files with 2 additions and 1 deletions

View File

@ -364,7 +364,7 @@ class Menu {
$data = array();
$data['segments'] = Segment::findArray();
$data['segments'] = Segment::getPublished()->findArray();
$data['settings'] = Setting::getAll();
$data['roles'] = $wp_roles->get_names();
$data['roles']['mailpoet_all'] = __('In any WordPress role');