Mike Jolley
435f638011
Apply rules on lib dir
2024-03-21 16:57:59 +01:00
David Remer
9e62501c30
Update comment
...
[MAILPOET-4883]
2023-02-15 12:30:41 +01:00
David Remer
f60ae7a8ef
Set dynamic also correctly for products
...
[MAILPOET-4883]
2023-02-15 12:30:41 +01:00
Jan Jakes
926620e8f8
Ignore strict types rule in all existing files that don't have it
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
Sam Najian
3339d2f877
Correctly set dynamic
arg false for Posts block requests
...
[MAILPOET-4278]
2022-05-02 13:49:05 +02:00
Sam
bcae8ade3f
Revert "Revert "Restrict dynamic blocks to public
post status only""
...
This reverts commit 79991ae462
.
2022-04-18 11:43:47 +02:00
Sam
c32dc0a372
Revert "Revert "Define BlockPostQuery for nicer args processing for quering""
...
This reverts commit 62e393a76d
.
2022-04-18 11:43:47 +02:00
Sam
7631042f3d
Revert "Revert "Check post-types validity for requests""
...
This reverts commit fdb4663ca1
.
2022-04-18 11:43:47 +02:00
Rodrigo Primo
fdb4663ca1
Revert "Check post-types validity for requests"
...
This reverts commit b800cf189f
.
2022-04-11 16:30:59 -03:00
Rodrigo Primo
62e393a76d
Revert "Define BlockPostQuery for nicer args processing for quering"
...
This reverts commit 5b40a585e7
.
2022-04-11 16:30:59 -03:00
Rodrigo Primo
79991ae462
Revert "Restrict dynamic blocks to public
post status only"
...
This reverts commit 72b3172c1a
.
2022-04-11 16:30:59 -03:00
Sam Najian
72b3172c1a
Restrict dynamic blocks to public
post status only
...
[MAILPOET-4082]
2022-04-11 14:54:56 -03:00
Sam Najian
5b40a585e7
Define BlockPostQuery for nicer args processing for quering
...
[MAILPOET-4082]
2022-04-11 14:54:56 -03:00
Sam Najian
b800cf189f
Check post-types validity for requests
...
[MAILPOET-4082]
2022-04-11 14:54:56 -03:00
Rodrigo Primo
e00d71b781
Remove WP < 4.5.0 compatibility code
...
This commit removes the method Posts::getTerms() as it existed to add a
compatibility layer for sites running WP < 4.5.0 and we don't support
this version anymore. The signature of the WP get_terms() function was
changed in version 4.5.0 and that is why this compatibility layer was
needed.
The integration test class for this method was also removed. The only
place where this method was used, AutomatedLatestContent::getTerms(),
now call WPFunctions->getTerms() directly. A very basic integration test
was added to cover the happy path of AutomatedLatestContent::getTerms().
[MAILPOET-4225]
2022-04-11 09:20:21 +02:00
Jan Jakes
9f790efbf0
Move plugin files to a subfolder
...
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00