Commits on Source (3)
-
Bartek Jaskulski authored
This reverts commit fa051ae0. This commit was wrong, as translation files may be registered at `plugins_loaded`, it's the i18n functions (e.g. `__`) that should be deferred after `init` hook.
-
Bartek Jaskulski authored
Previously stoppable binder was working for all binders, although it only supported to signal stop execution with class-based binders. This changes the behavior, as having all binders wrapped in stoppable binder resulted in execution of all collection binders, without regard for the stop signal. This is convoluted and gets even worse, so this part of the API should be rewritten. The side effect of this change is that any callable based binder (e.g. database migrations) will not be stopped, no matter what happens. This is a serious quirk, and may be better to remove other kinds of binders than hookable or rethink the stoppable binder. Signed-off-by:
Bart Jaskulski <bjaskulski@protonmail.com>
-
Bartek Jaskulski authored
Now, dev mode doesn't have to be explicitly set, only for WordPress, which has production type defined. Additionally, allow to build container without using cache, when server does not support it (i.e. cannot write to the disk). Signed-off-by:
Bart Jaskulski <bjaskulski@protonmail.com>