-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: user group url select and fetch in basecontroller #1229
Conversation
"1": "https:\/\/dev.local.municipio.tech\/", | ||
"2": "https:\/\/dev.local.municipio.tech\/slf\/", | ||
"3": "https:\/\/dev.local.municipio.tech\/sff\/", | ||
"5": "https:\/\/dev.local.municipio.tech\/hr\/", | ||
"7": "https:\/\/dev.local.municipio.tech\/joa-gammalt\/", | ||
"8": "https:\/\/dev.local.municipio.tech\/mf\/", | ||
"9": "https:\/\/dev.local.municipio.tech\/sbf\/", | ||
"10": "https:\/\/dev.local.municipio.tech\/fortroendevald\/", | ||
"11": "https:\/\/dev.local.municipio.tech\/vof\/", | ||
"12": "https:\/\/dev.local.municipio.tech\/sof\/", | ||
"13": "https:\/\/dev.local.municipio.tech\/kf\/", | ||
"14": "https:\/\/dev.local.municipio.tech\/aterbruket\/", | ||
"15": "https:\/\/dev.local.municipio.tech\/amf\/", | ||
"17": "https:\/\/dev.local.municipio.tech\/inkopssidan\/", | ||
"18": "https:\/\/dev.local.municipio.tech\/ff\/", | ||
"19": "https:\/\/dev.local.municipio.tech\/bibliotekhelsingborg\/", | ||
"20": "https:\/\/dev.local.municipio.tech\/jobbaival\/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Accidentally added
1 => __('https://dev.local.municipio.tech/', 'municipio'), | ||
2 => __('https://dev.local.municipio.tech/slf/', 'municipio'), | ||
3 => __('https://dev.local.municipio.tech/sff/', 'municipio'), | ||
5 => __('https://dev.local.municipio.tech/hr/', 'municipio'), | ||
7 => __('https://dev.local.municipio.tech/joa-gammalt/', 'municipio'), | ||
8 => __('https://dev.local.municipio.tech/mf/', 'municipio'), | ||
9 => __('https://dev.local.municipio.tech/sbf/', 'municipio'), | ||
10 => __('https://dev.local.municipio.tech/fortroendevald/', 'municipio'), | ||
11 => __('https://dev.local.municipio.tech/vof/', 'municipio'), | ||
12 => __('https://dev.local.municipio.tech/sof/', 'municipio'), | ||
13 => __('https://dev.local.municipio.tech/kf/', 'municipio'), | ||
14 => __('https://dev.local.municipio.tech/aterbruket/', 'municipio'), | ||
15 => __('https://dev.local.municipio.tech/amf/', 'municipio'), | ||
17 => __('https://dev.local.municipio.tech/inkopssidan/', 'municipio'), | ||
18 => __('https://dev.local.municipio.tech/ff/', 'municipio'), | ||
19 => __('https://dev.local.municipio.tech/bibliotekhelsingborg/', 'municipio'), | ||
20 => __('https://dev.local.municipio.tech/jobbaival/', 'municipio'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above
public function populateUserGroupUrlBlogIdField($field) | ||
{ | ||
$field['choices'] = []; | ||
$blogs = get_sites(['number' => 500]) ?? []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use wpService for get_sites
.
Quality Gate failedFailed conditions |
No description provided.