Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ Do not introduce additional split mirrors unless explicitly requested.

## AI Editing Rules

- **This is a PUBLIC repository. Never reference client / consumer projects in anything published here.** When a fix originates from a bug reported on a specific consumer site, do NOT name that project, its domains (`*.sk`, `.test`), or any of its data (post titles, people's names, cities, CPT contents) in commit messages, PR titles/bodies, changelogs, code comments, or docs. Describe the bug and its reproduction generically (e.g. "picking three posts in a scrambled order"). Consumer-specific reproduction and verification stay in the consumer project's own private repo/notes.
- Prefer minimal, contract-preserving edits.
- Preserve comments that explain operational intent, especially in setup scripts.
- Do not silently remove troubleshooting paths (1Password, env fallback, platform-specific behavior).
Expand Down
1 change: 1 addition & 0 deletions docs/src/compatibility-matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

| starterVersion | themeVersion | coreVersion | configsVersion | setupCliVersion | php | node |
| --- | --- | --- | --- | --- | --- | --- |
| 2.1.1 | 2.1.1 | 0.15.3 | 1.1.0 | 1.1.0 | >=8.3 | >=20 |
| 2.1.1 | 2.1.1 | 0.15.2 | 1.1.0 | 1.1.0 | >=8.3 | >=20 |
| 2.1.1 | 2.1.1 | 0.15.1 | 1.1.0 | 1.1.0 | >=8.3 | >=20 |
| 2.1.0 | 2.1.0 | 0.15.1 | 1.1.0 | 1.1.0 | >=8.3 | >=20 |
Expand Down
4 changes: 4 additions & 0 deletions packages/webentor-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Webentor Core Changelog

## 0.15.3

- **Fix `e-picker-query-loop` ignoring the manual pick order.** The Posts Picker Query Loop block stores the editor's hand-picked order in its `posts` attribute and builds a `WP_Query` with `post__in`, but never set `orderby`, so `WP_Query` fell back to its default `orderby => date, order => DESC` and re-sorted the results by publish date — discarding the chosen order on the frontend. It now sets `'orderby' => 'post__in'`, so picked posts render in exactly the order the editor arranged them. No consumer migration needed; the `webentor/query_loop_args` filter can still override `orderby` per query.

## 0.15.2

- **Preserve text alignment on core blocks under WordPress 7.0.** WP 7.0 moved Paragraph's "Align text" control into `supports.typography.textAlign`, which the `disableTypography` filter was wiping by nulling the whole typography object. The filter now keeps `textAlign` and strips only the rest, so Paragraph/Heading keep alignment while native typography stays hidden. No consumer migration needed.
Expand Down
2 changes: 1 addition & 1 deletion packages/webentor-core/composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webikon/webentor-core",
"version": "0.15.2",
"version": "0.15.3",
"license": "MIT",
"description": "Webentor Core package",
"homepage": "https://webikon.sk",
Expand Down
2 changes: 1 addition & 1 deletion packages/webentor-core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@webikon/webentor-core",
"homepage": "https://webikon.sk",
"version": "0.15.2",
"version": "0.15.3",
"description": "Core functionality and useful utilities for Webentor Stack",
"license": "MIT",
"author": "Webikon s.r.o.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
$query_args = [
'post_type' => $query_attributes['postType'] ?? '',
'post__in' => $post_ids ?: [0],
'orderby' => 'post__in', // Preserve the manual pick order stored in the block
'post__not_in' => [get_the_ID()], // Ignore current post
'posts_per_page' => count($post_ids),
];
Expand Down
Loading