This causes a huge DB write on EVERY page load. Not good at all.
Move the constant definition to location_views_menu();
| Comment | File | Size | Author |
|---|---|---|---|
| location_t_before_code.patch | 1.58 KB | JacobSingh |
This causes a huge DB write on EVERY page load. Not good at all.
Move the constant definition to location_views_menu();
| Comment | File | Size | Author |
|---|---|---|---|
| location_t_before_code.patch | 1.58 KB | JacobSingh |
Comments
Comment #1
douggreen commentedThis makes sense to me. You shouldn't call t() outside a function.
Comment #2
bdragon commentedUh, this is a duplicate of #135747, which is fixed in HEAD..
Comment #3
douggreen commented