Jan Lysý
5347714bbe
Use AssetsLoader for enqueue css in formEditor
...
[MAILPOET-3556]
2021-04-21 14:19:27 +02:00
Rodrigo Primo
653d832ee9
Drop MailPoet tables when a site is deleted in a multisite install
...
This commit makes sure MailPoet tables are dropped when a site is
deleted in a multisite install. It uses the filter `wpmu_drop_tables`
to add the list of MailPoet tables to the list of tables that WP drops
whenever a site is deleted in a multisite install. $wpdb is used instead
of Doctrine entity manager as the latter is not affected by calls to
switch_to_blog() which is used in this case to switch from the main site
to the site being deleted.
This will only work if MailPoet is network active. If it is not,
MailPoet code is not executed inside the WP network admin panel,
and thus our filter is not added to wpmu_drop_tables, and MP tables
are not deleted.
[MAILPOET-3265]
2021-03-03 09:26:03 +01:00
Rostislav Wolny
51877fe1eb
Reactor loading of wp-admin/includes/plugin.php
...
Requiring WordPress PHP file within Initializer was causing errors in static analysis that runs without WordPress source.
[MAILPOET-2837]
2021-01-04 12:28:53 +01:00
wxa
9359143346
Do not call hooks on repeated getAutomaticEmails calls (e.g. in editor) [MAILPOET-2433]
2020-11-11 14:27:36 +01:00
wxa
4661eab49e
Merge WC email initialization into newsletters listing page [MAILPOET-2433]
2020-11-11 14:27:36 +01:00
wxa
56868ce0db
Remove unnecessary template inclusion, fix automatic email step name in email editor [MAILPOET-2433]
2020-11-11 14:27:36 +01:00
Rostislav Wolny
4897581748
Add Localizer to DI
...
[MAILPOET-2942]
2020-06-15 14:38:32 +02:00
Pavel Dohnal
fbc6786058
Split class to prevent circular dependency
...
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
fd2c13a2e3
Refactor block registering
...
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Pavel Dohnal
261624c2bb
Create basic block
...
[MAILPOET-1798]
2020-02-17 19:20:36 +00:00
Jan Jakeš
8c848cfa28
Convert property names to camel case
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
54549ff037
Convert variable names to camel case
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Amine Ben hammou
43df66d162
Add public keyword to methods
...
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
wxa
20d42af4dc
Remove the WC customizer feature flag [MAILPOET-2285]
2019-12-24 17:01:32 +03:00
wxa
fa81c24825
Sync WC customizer styles to WooCommerce settings [MAILPOET-2569]
2019-12-23 21:55:40 +03:00
Pavel Dohnal
e677fa7cba
Move requirement checker up
...
We need to check missing extension earlier, before they are used
[MAILPOET-2564]
2019-12-19 13:42:30 +00:00
Amine Ben hammou
aa129f5987
Use template for WooCommerce transactional emails
...
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Jan Jakeš
c829be1a11
Move automatic email initialization from Premium plugin
...
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
ade1cc4d8e
Autofix alphabetically sorted use statements
...
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Rostislav Wolny
a6db3dceed
Remove unused mailpoet cookie session
...
[MAILPOET-2343]
2019-09-25 19:53:52 +01:00
Pavel Dohnal
952b9d7dd4
Initialise hooks early
...
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
Jan Jakeš
01a0fe96c4
Remove no longer necessary checks
...
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
Ján Mikláš
d3d572faa9
Open KB links in Beacon popover
...
[MAILPOET-2179]
2019-08-28 14:28:06 -04:00
Rostislav Wolny
ee1cee27dc
Inject Session into Initializer using DI
...
[MAILPOET-2248]
2019-08-05 21:10:23 +01:00
Ján Mikláš
8c26e2852b
Update KB links to new URL
...
[PREMIUM-127]
2019-07-31 16:16:56 -04:00
Jan Jakeš
0045683d92
Share PDO connection between Doctrine and legacy ORM
...
[MAILPOET-2014]
2019-07-24 15:03:16 -04:00
wxa
b174a55d07
Handle captcha during subscription [MAILPOET-2015]
2019-07-23 08:37:46 -04:00
wxa
7f40e5b512
Clean up unused imports [MAILPOET-2208]
2019-07-19 08:54:50 -04:00
wxa
a2df2cc7bd
Refactor subscription pages and config shortcodes to DI [MAILPOET-2208]
2019-07-19 08:54:50 -04:00
Amine Ben hammou
7418543694
Initialize Hooks on the init action
2019-07-08 14:15:59 -04:00
Jan Jakeš
74a4ff5a2f
Use DI to initialize PermanentNotices
...
[MAILPOET-2088]
2019-06-20 09:22:12 -04:00
Pavel Dohnal
5da7110eb6
Use short array syntax
...
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Amine Ben hammou
0a436087e1
Replace all WP function calls
2019-03-07 08:30:14 -05:00
Rostislav Wolny
ccc300cd80
Remove container dependency from Initializer
...
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
6048ccba85
Inject CronTrigger into Initializer
...
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
096359741d
Inject Hooks, Changelog and Menu into Initializer
...
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
db8c68460d
Inject Router into Initializer
...
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
4a6fb923e0
Inject Activator and SettingsController into Initializer
...
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
d5ea906433
Inject API into Initializer using container
...
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
f64e1c81fe
Inject AccessControl into Initializer
...
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
171b3564f9
Inject Renderer to Initializer
...
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
d8503cf3c2
Create Initializer using DI
...
[MAIPOET-1823]
2019-02-25 06:38:25 -05:00
Rostislav Wolny
b7bc54a07e
Move Env init out of Initializer
...
[MAILPOET-1823]
2019-02-25 06:38:25 -05:00
wxa
fb77167a1f
Remove unused imports [MAILPOET-1825]
2019-02-21 09:51:53 -05:00
Ján Mikláš
3ee58aea10
Add space between if and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
9e9561e576
Add space between catch and ‘(‘
...
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Rostislav Wolny
ff238bf69a
Refactor MailPoet\Cron to use new settings
...
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
Rostislav Wolny
6e79705128
Refactor MailPoet\Config to use new settings
...
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
Rostislav Wolny
de5385ed03
Get rid of static instantiation of JSON API
...
[MAILPOET-1689]
2018-12-17 15:02:42 +01:00
Rostislav Wolny
ece5e9a9d1
Refactor subscription form processing
...
[MAILPOET-1689]
2018-12-17 15:02:42 +01:00