Commit Graph

32 Commits

Author SHA1 Message Date
Jan Lysý
8ff4191924 Allow css for debug bar on WP.com
[MAILPOET-3461]
2021-05-10 10:10:41 +02:00
Rostislav Wolny
cf4ad30a0d Disallow jetpack JS on mailpoet admin pages
[MAILPOET-3504]
2021-03-22 13:13:17 +01:00
Jan Lysý
13a2dce867 Allow styles on WP.com styles in ConflictResolver
[MAILPOET-3456]
2021-03-15 09:05:21 +01:00
Jan Lysý
4c999068da Allow Jetpack styles in ConflictResolver
[MAILPOET-3456]
2021-03-15 09:05:21 +01:00
Jan Jakeš
6522635dc7 Exclude globals from camel case conversion
[MAILPOET-1796]
2020-01-14 15:22:42 +01: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
Jan Jakeš
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
e398a2dc44 Never unload mailpoet scripts and styles in ConflictResolver
[MAILPOET-2117]
2019-06-19 06:42:15 -04:00
Jan Jakeš
80fb94c00b Unload WP TinyMCE loaded by another plugin
[MAILPOET-2105]
2019-05-27 10:06:59 -04:00
Jan Jakeš
c1e686831c Unload WP editor loaded by another plugin
[MAILPOET-2105]
2019-05-27 10:06:59 -04:00
Jan Jakeš
c6f5eb943c Use correct hooks and priorities for plugin conflict resolving
[MAILPOET-2105]
2019-05-27 10:06:59 -04:00
Jan Jakeš
0e8d864d95 Never try to unload scripts and styles without 'src'
[MAILPOET-2105]
2019-05-27 10:06:59 -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
Pavel Dohnal
bed80e67f1 Use phpstan level 2
[MAILPOET-1822]
2019-02-21 13:49:52 -05:00
Ján Mikláš
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
wxa
82d6a4b096 Permit CSS assets to be loaded from WP.com CDN on MP3 pages [MAILPOET-1584] 2018-10-26 14:42:46 +03:00
Tautvidas Sipavičius
bdf244536d Permit JS assets to be loaded from WP.com CDN on MP3 pages [MAILPOET-1584]
The CDN is provided by JetPack plugin in their "Asset CDN" beta feature
2018-10-11 17:21:06 +03:00
Vlad
849ca27d1f Adds filters to whitelist styles or scripts 2017-07-15 14:57:40 -04:00
Vlad
4c785902bc Resolves script conflicts in WP's admin footer 2017-05-01 11:57:48 -04:00
Tautvidas Sipavičius
1e1ae4c3cf Whitelist translation handling plugin's admin assets on MP pages
[MAILPOET-805]
2017-02-02 14:10:57 +02:00
Vlad
c616b3299a Reverts to the use of public class property and introduces ugliness of
$_this
2017-01-27 11:51:26 -05:00
Vlad
bfd35b1cdc Changes class variable to static; prevents
Fixed 'using $this when not in object contex' error on PHP 5.3
2017-01-27 09:12:31 -05:00
Vlad
940328c608 - Updates assets locations to more precise names 2017-01-19 11:26:32 -05:00
Vlad
5666116645 - Replaces reliance on style/script names with asset location
- Updates unit tests
2017-01-19 10:20:22 -05:00
Vlad
a851527ff5 - Unloads all scripts/styles that are not loaded by default by WP in
admin panel
2017-01-15 15:35:48 -05:00
Vlad
5800883416 - Updates action names 2017-01-11 21:18:37 -05:00
Vlad
39a6318105 - Adds scipts/styles conflict resolver and executes it only on MailPoet
admin menu pages
- Adds unit tests
2017-01-11 20:52:03 -05:00
Vlad
4196d35e35 - Adds new ConflictResolver class
- Executes URL query parameter conflict resolver action in Router class
- Adds unit tests
2017-01-11 20:52:03 -05:00