Skip to content
Merged

Release #3188

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
2c48d5e
Sync branch [skip ci]
pirate-bot Nov 13, 2026
316caee
Sync branch [skip ci]
pirate-bot Nov 13, 2026
b31af6f
fix: keep theme typography on Atomic Wind blocks (#3185)
abaicus Nov 19, 2026
7f19795
test: cover Atomic Wind typography inheritance in e2e (#3185)
abaicus Nov 19, 2026
1504168
fix: keep non-typographic root defaults on Atomic Wind blocks (#3185)
abaicus Nov 19, 2026
ed10a1b
test: cover shipped patterns, themes and root defaults for Atomic Win…
abaicus Nov 19, 2026
88f7db4
Validated block name type in dynamic content processing (#3184)
girishpanchal30 Nov 19, 2026
4316f5d
fix: migrate cached Atomic Wind stylesheets instead of discarding the…
abaicus Nov 19, 2026
00b8ee9
build(deps-dev): bump php-stubs/woocommerce-stubs from 11.2.2 to 11.3…
dependabot[bot] Nov 20, 2026
38dcc4f
fix: version Atomic Wind stylesheet saves and guard the cache migrati…
abaicus Nov 20, 2026
8a82eb4
fix: swap migrated Atomic Wind sheet and stamp in one byte-exact stat…
abaicus Nov 20, 2026
d912a58
fix: migrate cached Atomic Wind stylesheets on read and on save, with…
abaicus Nov 20, 2026
293675c
test: make the Atomic Wind generator version test fail without a vers…
abaicus Nov 20, 2026
773c32e
Merge pull request #3186 from Codeinwp/fix/atomic-wind-theme-typography
vytisbulkevicius Nov 20, 2026
4654cc1
fix: reject non-alphanumeric Mailchimp data centers to prevent SSRF
vytisbulkevicius Nov 20, 2026
81bc261
fix: query only publicly viewable post types in Posts Grid and Atomic…
vytisbulkevicius Nov 20, 2026
e7737cd
fix: keep wp_remote_* for Mailchimp and disable redirects instead of …
vytisbulkevicius Nov 20, 2026
3449d08
fix: also check the ACF-resolved meta name in the Atomic Wind custom …
vytisbulkevicius Nov 20, 2026
8ed34f8
test: cover redirect guard on every Mailchimp request; de-duplicate c…
vytisbulkevicius Nov 20, 2026
80e14bf
refactor: scope PR to the reported non-public post type fix
vytisbulkevicius Nov 20, 2026
51bd6ce
fix: block protected post meta in dynamic content, conditions and Ato…
vytisbulkevicius Nov 20, 2026
047cdc4
fix: drop non-viewable post types from the live search main query
vytisbulkevicius Nov 20, 2026
a0cb17e
fix: close ACF repeater-parent and Posts Grid ACF protected-meta gaps
vytisbulkevicius Nov 20, 2026
cb09d21
test: cover the ACF image branches and the parent-chain cycle guard
vytisbulkevicius Nov 20, 2026
02d81e6
fix: honor the is_protected_meta filter in the shared protected-key c…
vytisbulkevicius Nov 20, 2026
034bf18
fix: check the right meta type when a key is protected only for user …
vytisbulkevicius Nov 21, 2026
d5fdf56
fix: normalize core user-field aliases so author `pass` can't leak th…
vytisbulkevicius Nov 21, 2026
697b6ae
fix: check both the raw key and the resolved alias against the filter
vytisbulkevicius Nov 21, 2026
0a4ffcc
fix: resolve WordPress back-compat author fields before the protected…
vytisbulkevicius Nov 21, 2026
b8e061b
fix: prevent XSS by disabling Lottie expression evaluation
girishpanchal30 Nov 23, 2026
3c5509b
fix: enhance Black Friday data handling
girishpanchal30 Nov 23, 2026
1a43333
fix: block the legacy user_level key in author and user meta
vytisbulkevicius Nov 23, 2026
cf11b5e
fix: scope the user_level block to user meta so a post field still re…
vytisbulkevicius Nov 23, 2026
4d07e2c
Merge pull request #3193 from Codeinwp/fix/318-mailchimp-ssrf
vytisbulkevicius Nov 23, 2026
aa2d9f2
Merge pull request #3194 from Codeinwp/fix/319-nonpublic-post-types
vytisbulkevicius Nov 23, 2026
ee8616d
Merge remote-tracking branch 'origin/development' into fix/320-protec…
vytisbulkevicius Nov 23, 2026
2d45c6c
Merge pull request #3197 from Codeinwp/bugfix/otter-internals/321
vytisbulkevicius Nov 23, 2026
b1f01b8
Merge pull request #3195 from Codeinwp/fix/320-protected-meta
vytisbulkevicius Nov 23, 2026
146b603
Merge pull request #3198 from Codeinwp/bugfix/3196
vytisbulkevicius Nov 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions assets/lottie/dotlottie-player.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/lottie/lottie-player.min.js

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions inc/class-main.php
Original file line number Diff line number Diff line change
Expand Up @@ -631,11 +631,16 @@ public function ai_connect_metadata() {
/**
* Set Black Friday data.
*
* @param array $configs The configuration array for the loaded products.
* @param array<string, array<string, mixed>> $configs The configuration array for the loaded products.
*
* @return array
* @return array<string, array<string, mixed>>
*/
public function add_black_friday_data( $configs ) {
// An earlier filter may drop the default entry, or empty the list to opt out of the sale.
if ( empty( $configs['default'] ) ) {
return $configs;
}

$config = $configs['default'];

$message = __( 'Advanced blocks, custom CSS, WooCommerce integration. Everything you need to build better pages, without code. Exclusively for existing Otter users.', 'otter-blocks' );
Expand Down
26 changes: 16 additions & 10 deletions inc/integrations/providers/class-mailchimp.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@ public function get_lists() {

$url = 'https://' . $this->server_name . '.api.mailchimp.com/3.0/lists?count=1000';
$args = array(
'method' => 'GET',
'headers' => array(
'method' => 'GET',
'redirection' => 0, // Mailchimp returns data directly; never follow a redirect (defense in depth).
'headers' => array(
'Authorization' => 'Basic ' . base64_encode( 'user:' . $this->api_key ),
),
);
Expand Down Expand Up @@ -136,11 +137,12 @@ public function make_subscribe_request( $email ) {
}

$args = array(
'method' => 'PUT',
'headers' => array(
'method' => 'PUT',
'redirection' => 0,
'headers' => array(
'Authorization' => 'Basic ' . base64_encode( 'user:' . $this->api_key ),
),
'body' => wp_json_encode( $payload ),
'body' => wp_json_encode( $payload ),
);

return wp_remote_post( $url, $args );
Expand Down Expand Up @@ -226,7 +228,9 @@ public static function validate_api_key( $api_key ) {
}

$key_info = explode( '-', $api_key );
if ( 2 !== count( $key_info ) || ! isset( $key_info[1] ) ) {

// The data center becomes the request host, so it must be a bare `<letters/digits>` token (e.g. `us1`), never a host, port or path.
if ( 2 !== count( $key_info ) || ! isset( $key_info[1] ) || ! preg_match( '/^[a-z0-9]+$/', $key_info[1] ) ) {
return array(
'valid' => false,
'reason' => __( 'Invalid API Key format!', 'otter-blocks' ),
Expand Down Expand Up @@ -254,8 +258,9 @@ public static function validate_api_key( $api_key ) {
private function get_new_user_status_mailchimp( $list_id ) {
$url = 'https://' . $this->server_name . '.api.mailchimp.com/3.0/lists/' . $list_id;
$args = array(
'method' => 'GET',
'headers' => array(
'method' => 'GET',
'redirection' => 0,
'headers' => array(
'Authorization' => 'Basic ' . base64_encode( 'user:' . $this->api_key ),
),
);
Expand Down Expand Up @@ -311,8 +316,9 @@ private function is_credential_error( $response_code ) {
public function get_merge_fields() {
$url = 'https://' . $this->server_name . '.api.mailchimp.com/3.0/lists/' . $this->list_id . '/merge-fields';
$args = array(
'method' => 'GET',
'headers' => array(
'method' => 'GET',
'redirection' => 0,
'headers' => array(
'Authorization' => 'Basic ' . base64_encode( 'user:' . $this->api_key ),
),
);
Expand Down
Loading
Loading