Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 3.17.0.1 #6976

Merged
merged 251 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
251 commits
Select commit Hold shift + click to select a range
09afb55
Translate languages/rocket.pot in fa_IR
transifex-integration[bot] May 13, 2024
bf2b614
Translate languages/rocket.pot in fr_FR
transifex-integration[bot] May 15, 2024
f2ec51b
Translate languages/rocket.pot in fr_FR
transifex-integration[bot] May 15, 2024
54fba35
Translate languages/rocket.pot in fr_FR
transifex-integration[bot] May 15, 2024
4d46cfb
Closes #6777: 3.17 Sub tasks - Factories Creation (#6787)
jeawhanlee Jul 16, 2024
4eb5b13
Changed filename and interface name
jeawhanlee Jul 16, 2024
405c468
Adds PerformanceHints interfaces for database
Miraeld Jul 18, 2024
7879017
Apply linter
Miraeld Jul 18, 2024
1999219
Fix tests
Miraeld Jul 18, 2024
7641756
Update FactoryInterface
Miraeld Jul 18, 2024
7e93c87
Update linter
Miraeld Jul 18, 2024
b55d9b3
Merge branch 'develop' into 3.17-atf-refactor
jeawhanlee Jul 18, 2024
cb18ab2
Comply feedback
Miraeld Jul 18, 2024
4f78cb7
Merge branch '3.17-atf-refactor' into enhancement/6779-atf-db-refactor
Miraeld Jul 18, 2024
54f023d
Comply feedback
Miraeld Jul 18, 2024
12dc048
Closes #6776: 3.17 - Refactor AJAX Process (#6796)
jeawhanlee Jul 19, 2024
c14bfd3
Merge branch 'develop' into 3.17-atf-refactor
jeawhanlee Jul 20, 2024
4149dc2
Subtask/6778 3.17 refactor frontend process (#6804)
jeawhanlee Jul 22, 2024
d905c75
Merge branch 'develop' into 3.17-atf-refactor
jeawhanlee Jul 22, 2024
8ac4a00
Merge branch 'develop' into 3.17-atf-refactor
jeawhanlee Jul 23, 2024
fab2630
Closes #6764: Refactor lcp beacon script (#6789)
Miraeld Jul 25, 2024
064e02e
Closes #6774: 3.17 - Refactor WarmUp (#6810)
jeawhanlee Jul 25, 2024
01e6c18
Fixed conflicts
jeawhanlee Jul 25, 2024
95a8cd9
Updated interface
jeawhanlee Jul 25, 2024
b23a751
Updated concrete factory
jeawhanlee Jul 25, 2024
348c005
Updated database concrete products
jeawhanlee Jul 25, 2024
f66c6ee
Updated abstract database modules
jeawhanlee Jul 25, 2024
b5df8a7
Updated processor to use factories instead of atf query
jeawhanlee Jul 25, 2024
c6de3a3
Updated abstract factory
jeawhanlee Jul 25, 2024
463c157
Add `get_rows_by_url` as it's missing from abstract class
Miraeld Jul 26, 2024
383a264
Fix nonce name
Miraeld Jul 26, 2024
0c99b0c
apply linter
Miraeld Jul 26, 2024
4dad0e2
Merge branch 'develop' into 3.17-atf-refactor
jeawhanlee Jul 26, 2024
f450e8f
Merge branch '3.17-atf-refactor' into enhancement/6779-atf-db-refactor
jeawhanlee Jul 26, 2024
3ea850b
Fixed unreasonable failing test for RUCSS
jeawhanlee Jul 26, 2024
b87f0fb
Updated test
jeawhanlee Jul 26, 2024
6efc8cc
Closes #6781: 3.17 - Refactor Cron (#6797)
Khadreal Jul 26, 2024
cdb9cc7
Updated to use queries from factory
jeawhanlee Jul 26, 2024
1ba7f74
phpcs fix
jeawhanlee Jul 26, 2024
881b1b1
Add correct property
jeawhanlee Jul 26, 2024
b244714
adjust the beacon script
wordpressfan Jul 29, 2024
3eb3343
Closes #6779: AboveTheFold Database Refactor (#6794)
Miraeld Jul 30, 2024
672dc33
Closes: #6773 Refactor admin (#6802)
Khadreal Jul 30, 2024
baf5fc1
Fix phpstan
Miraeld Aug 1, 2024
4856c2c
Save lcp images properly in the database - follow up after DB refacto…
wordpressfan Aug 1, 2024
239621e
Fixed fatal error during uninstall
jeawhanlee Aug 1, 2024
50ff24c
Fixed conflicts
jeawhanlee Aug 1, 2024
03eeb74
Updated tests
jeawhanlee Aug 1, 2024
8325874
Update wpr-beacon to latest 3.17 refacto fix
MathieuLamiot Aug 3, 2024
1bdf05d
Updated fixture
jeawhanlee Aug 5, 2024
80248fb
Updated hooks docblock
jeawhanlee Aug 5, 2024
cb76df6
Updated deprecated version
jeawhanlee Aug 5, 2024
a3f1540
:chore: Remove atf check for sass menu item and rename title -- #6845
Khadreal Aug 6, 2024
bab9f81
Add admin menu trait, context, admin bar class for performance hints …
Khadreal Aug 7, 2024
43e6c6c
Add display dashboard button
Khadreal Aug 8, 2024
c5a2f10
Added notices and clearing class for performance hints --6845
Khadreal Aug 8, 2024
5e713b0
Fix lint error
Khadreal Aug 8, 2024
d967d9c
Fixed test error
Khadreal Aug 8, 2024
1e22c9b
Add unit test
Khadreal Aug 9, 2024
3b448a8
Add hover text to button component
Khadreal Aug 9, 2024
bf2cc94
Fixed lint
Khadreal Aug 9, 2024
e3c0ae8
Add notices, fix display notice message error
Khadreal Aug 9, 2024
c2d5c93
Resolve conflicts
Khadreal Aug 9, 2024
d520bbc
Update test
Khadreal Aug 9, 2024
19e6ebd
Add tests and delete unsed class
Khadreal Aug 9, 2024
bc1414e
Fix linter
Khadreal Aug 9, 2024
00a3bda
Closes #6829 Add LRC activation and context (#6848)
remyperona Aug 12, 2024
ef859a7
Fixes fatal error on activation using feature/lrc branch (#6864)
jeawhanlee Aug 13, 2024
c6f4395
Merge branch 'develop' into feature/lrc
jeawhanlee Aug 13, 2024
bf6f4bf
fix conflict, PR review modifications --6845
Khadreal Aug 14, 2024
c158030
Fix test error
Khadreal Aug 14, 2024
87539b7
Modify unit tests
Khadreal Aug 14, 2024
ee4c0ec
remove repetition from common subscriber
Khadreal Aug 14, 2024
b2d7820
fix linter
Khadreal Aug 14, 2024
373759e
revert changes
Khadreal Aug 14, 2024
34a9bfb
Merge branch develop into feature/lrc
jeawhanlee Aug 14, 2024
d880755
Closes #6860: 3.17 - LRC Concrete Factory Creation (#6870)
jeawhanlee Aug 14, 2024
8c7d87c
Add unit test for trait method
Khadreal Aug 14, 2024
1a54703
Change filter to type filter
Khadreal Aug 14, 2024
c7a9f7b
Changed filter value
Khadreal Aug 14, 2024
b11c01b
Refactor sass menu, add unit test for trait method
Khadreal Aug 14, 2024
b0c1628
fix code conflict
Khadreal Aug 14, 2024
46a4f8f
:feat: fix linter
Khadreal Aug 14, 2024
60028ea
Improve codacy test coverage
Khadreal Aug 15, 2024
e88d8df
:broom: Cleanup
Khadreal Aug 15, 2024
d68d178
Merge branch 'develop' into feature/lrc
remyperona Aug 15, 2024
9f06e64
PR modifications
Khadreal Aug 16, 2024
1f82fa0
Modify dashboard button, change text title case
Khadreal Aug 19, 2024
f13e2ae
Fixed filter bug
Khadreal Aug 19, 2024
814e576
lint fix
Khadreal Aug 19, 2024
2f97657
Add documentation url
Khadreal Aug 19, 2024
17ad45e
#6828 Add Database for LRC (#6872)
Khadreal Aug 19, 2024
2f41700
Closes #6838: 3.17-pre - Support multiple factory answers in Performa…
jeawhanlee Aug 20, 2024
fedbdd1
Change notice text and modify rucss button text
Khadreal Aug 20, 2024
4fbffde
Fix issue with buffer modification with more than one factory parsed …
jeawhanlee Aug 20, 2024
efc92b2
fix code conflict
Khadreal Aug 20, 2024
f3100c2
Build admin css
Khadreal Aug 20, 2024
33b692b
Closes #6835 LCR frontend (#6849)
remyperona Aug 20, 2024
2510e86
Inject beacon for other factories without optimization data in db (#6…
jeawhanlee Aug 20, 2024
7ba09e6
Add period check and environment check to wamr_up methods :closes: #6850
Khadreal Aug 21, 2024
8ba4966
Remove Not operator (#6880)
jeawhanlee Aug 21, 2024
6a6f334
Modify tests
Khadreal Aug 21, 2024
ebcbbb3
Add test for home page warm up --#6850
Khadreal Aug 21, 2024
a560c6b
Closes #6828 Add Ajax for LRC (#6873)
Khadreal Aug 21, 2024
9099123
fixed conflicts
jeawhanlee Aug 21, 2024
249e8e5
closes #6883 Add action for performance hints data clear url
Khadreal Aug 21, 2024
196cc46
Add to general test
Khadreal Aug 22, 2024
826789b
revert test group changes
Khadreal Aug 22, 2024
767c331
Fix lint
Khadreal Aug 22, 2024
76d0b1a
Modify logic check
Khadreal Aug 22, 2024
cdbb929
LRC script implementation (#6874)
wordpressfan Aug 22, 2024
d04a63b
Fixed conflicts
jeawhanlee Aug 22, 2024
bea83ff
Add the LRC Factory in the PerformanceHints (#6888)
jeawhanlee Aug 22, 2024
e7ecc2b
Closes #6845 Rework UI for data clearing and notices for OCI and LRC …
MathieuLamiot Aug 22, 2024
ee4d993
Make rollback version 3.16.4
MathieuLamiot Aug 22, 2024
cae789f
Bump version to 3.17-alpha1
MathieuLamiot Aug 23, 2024
58be56f
Changed method name
Khadreal Aug 23, 2024
4e6f827
Fixes #6883 Clear performance hints data of current URL (#6886)
MathieuLamiot Aug 23, 2024
f3e2f16
invert method return for clear understanding
Khadreal Aug 23, 2024
13417d7
fix lint error
Khadreal Aug 23, 2024
5f3b6a6
Merge branch 'develop' into feature/lrc
remyperona Aug 23, 2024
444d6f9
Closes #6840 LRC frontend sub-task (#6884)
remyperona Aug 23, 2024
c6b849e
Make rollback version 3.16.4 (#6897)
MathieuLamiot Aug 23, 2024
293c58b
Fixes #6898 'Clear performance Hints data' in the WPR admin dropdown …
Khadreal Aug 23, 2024
5636e39
Merge branch 'feature/lrc' into fix/6850-prewarmup-home
Khadreal Aug 23, 2024
6e8d340
Fixes #6850 Prewarmup home in certain scenarios where it shouldn't (#…
MathieuLamiot Aug 23, 2024
21261f3
Closes #6891: 3.17: All hashes are saved to DB for LRC (#6900)
jeawhanlee Aug 23, 2024
fb50ef3
Merge commit '7999ed2618d11d7fa9b63fc78a7810789072d4b9' into feature/lrc
MathieuLamiot Aug 26, 2024
d17db72
Closes #6901: Add ID attribute to style LRC
Miraeld Aug 27, 2024
005941b
Closes #6909: Add lrc hashes when saas visit
Miraeld Aug 28, 2024
22fb842
Apply phpcs
Miraeld Aug 28, 2024
e37d76f
Closes #6901: LRC style is not added to used CSS when enable RUCSS (#…
Miraeld Aug 28, 2024
30fb031
change name of reports for performancehints and adminonly coverage
MathieuLamiot Aug 28, 2024
3518c65
Merge branch 'feature/lrc' into fix/6909-lrc-injected-saas
Miraeld Aug 29, 2024
c38ed94
Integration tests - Beginning
Miraeld Aug 29, 2024
aeecd38
Add filter to integration test
Khadreal Aug 29, 2024
17485ca
Fixes #6910 regex to remove data mismatch (#6915)
Khadreal Aug 29, 2024
d7a5719
Closes #6890: 3.17: Beacon script isnot injected in the uncached page…
jeawhanlee Aug 29, 2024
e913a7a
Update expected result integration test
Miraeld Aug 29, 2024
807c4a5
Use correct group
jeawhanlee Aug 29, 2024
5d971d4
Updated doc block and test data
jeawhanlee Aug 29, 2024
5f9f34b
Merge branch 'feature/lrc' into fix/6909-lrc-injected-saas
jeawhanlee Aug 29, 2024
568f90f
Closes #6909: LRC hashes injected while SaaS is visiting (#6919)
MathieuLamiot Aug 29, 2024
7507578
Closes #6914: URLs are not fetched when updating from 3.16+ to 3.17 (…
Miraeld Aug 30, 2024
fb676d3
Merge commit '1d52f9da37b240e967baea35a66664e32c6e67cb' into feature/lrc
MathieuLamiot Aug 30, 2024
e57a54a
bump version to 3.17-alpha2
MathieuLamiot Aug 30, 2024
7150c17
Depend on php to identify elements and depth (PR #6929)
wordpressfan Aug 30, 2024
88bfea5
Fixes #6885 Hosting cache not cleared when clearing Performance Hints…
Khadreal Aug 30, 2024
4d7b54b
Closes #6878 Activation and deactivation of Performance hints data fi…
Khadreal Sep 2, 2024
93385c5
consider viewport
wordpressfan Sep 3, 2024
db1feca
adjust the log message
wordpressfan Sep 4, 2024
728e281
:close: #6943 Change dashboard button description
Khadreal Sep 4, 2024
317b045
Modify unit test
Khadreal Sep 4, 2024
efd6556
try excluding the new rule from phpstan
wordpressfan Sep 4, 2024
a20f723
update filters prefix
remyperona Sep 4, 2024
71d2a82
:closes: 6948 -- Make sure tags are case insensitive
Khadreal Sep 5, 2024
2eb92d2
Add test
Khadreal Sep 5, 2024
554dc2a
Fixes #6948 -- rocket_lrc_processed_tags should be case insensitive (…
MathieuLamiot Sep 5, 2024
6023ee4
Merge commit '554dc2a62e6e8bcc97c06bfe9315daebfeb0003b' into chore/up…
MathieuLamiot Sep 5, 2024
f6d3fa0
Adapts a new test to the new filter name
MathieuLamiot Sep 5, 2024
5711a09
Update LRC filters prefix (#6947)
MathieuLamiot Sep 5, 2024
51fc999
Consider viewport on element distance calculation (#6939)
MathieuLamiot Sep 5, 2024
ec6ff6b
update instantiation
remyperona Sep 5, 2024
58d0350
move code for buffer
remyperona Sep 5, 2024
6214d0a
update priority
remyperona Sep 5, 2024
564b761
Closes #6943 Change the way the description for the Clear button is d…
MathieuLamiot Sep 5, 2024
1b921c1
Fixes #6922 3.17: Hashes are not removed from the source when there i…
Khadreal Sep 6, 2024
eaa73d4
Register warmup subscriber with complete arguments
jeawhanlee Sep 6, 2024
092fe9c
Merge branch 'feature/lrc' into enhancement/6944-lrc-query-string
jeawhanlee Sep 6, 2024
cadf217
Revert changes
jeawhanlee Sep 6, 2024
74ef839
phpcs fix
jeawhanlee Sep 6, 2024
a23133a
Returned saas visit subscriber and updated rocket_performance_hints_b…
jeawhanlee Sep 6, 2024
ee8a9e4
Updated bail out condition
jeawhanlee Sep 6, 2024
e64bf2b
Moved rocket_performance_hints_buffer to frontend subscriber
jeawhanlee Sep 6, 2024
f073061
Revert to remy changes
jeawhanlee Sep 6, 2024
866c34c
Updated subscriber
jeawhanlee Sep 6, 2024
0f7c3fe
Updated test
jeawhanlee Sep 6, 2024
9b19f44
Removed second argument for warmup in activation service provider
jeawhanlee Sep 6, 2024
29a4a56
Revert changes: no coverage analysis
jeawhanlee Sep 6, 2024
dcd1419
add method add hashs without check
remyperona Sep 6, 2024
ceda8f1
Merge branch 'enhancement/6944-lrc-query-string' of github.com:wp-med…
jeawhanlee Sep 9, 2024
9cb20a6
update tests
remyperona Sep 9, 2024
0450a64
Merge branch 'enhancement/6944-lrc-query-string' of github.com:wp-med…
jeawhanlee Sep 9, 2024
2f1d0ec
Add tests
jeawhanlee Sep 9, 2024
00d5b70
add missing test case
remyperona Sep 9, 2024
524d3c4
Merge branch 'enhancement/6944-lrc-query-string' of https://github.co…
remyperona Sep 9, 2024
23f638d
cleanup
remyperona Sep 9, 2024
8b030d3
add test for image_dimensions_query_string()
remyperona Sep 9, 2024
33c1158
Merge commit '84982f8ac0d418e7c848ab44786a7d2fce2c8dd8' into feature/lrc
MathieuLamiot Sep 11, 2024
4b0a5e3
Enable back PHPStan requireFileExists
MathieuLamiot Sep 11, 2024
7cfb442
:closes: Fixed empty buffer with domdocument :bug:
Khadreal Sep 11, 2024
b2ae01f
Fixes #6965 Safeguard DOMDocument empty HTML (#6966)
MathieuLamiot Sep 11, 2024
7c2274b
Merge commit 'b2ae01f30656e9c44965317431cb623be90f5b4a' into enhancem…
MathieuLamiot Sep 11, 2024
be278fc
Closes #6944 Add LRC hashes when using LRC query string (#6955)
MathieuLamiot Sep 11, 2024
22cad0a
bump version to 3.17-alpha3
MathieuLamiot Sep 11, 2024
2edb082
Fixes #6953 LRC replace DOM output with regex injection (#6954)
MathieuLamiot Sep 11, 2024
b230fc5
Merge branch 'feature/lrc' into transifex
remyperona Sep 11, 2024
7b6b03e
update with new strings from 3.17
remyperona Sep 11, 2024
05360d2
update test
remyperona Sep 11, 2024
cc35e33
Translate languages/rocket.pot in tr_TR
transifex-integration[bot] Sep 11, 2024
bec4a80
Translate languages/rocket.pot in tr_TR
transifex-integration[bot] Sep 11, 2024
6984085
Translate languages/rocket.pot in pt_PT
transifex-integration[bot] Sep 12, 2024
4ece732
update text changes
wordpressfan Sep 13, 2024
010dc12
update the pot file
wordpressfan Sep 13, 2024
1da69c9
update version to alpha4
wordpressfan Sep 13, 2024
45692aa
Merge branch 'feature/lrc' into transifex
remyperona Sep 13, 2024
1c90eab
Translate languages/rocket.pot in pt_PT
transifex-integration[bot] Sep 13, 2024
c51b132
Translate languages/rocket.pot in tr_TR
transifex-integration[bot] Sep 14, 2024
29bc5c1
Translate languages/rocket.pot in tr_TR
transifex-integration[bot] Sep 14, 2024
766475c
Translate languages/rocket.pot in tr_TR
transifex-integration[bot] Sep 14, 2024
b95bef4
Translate languages/rocket.pot in fa_IR
transifex-integration[bot] Sep 16, 2024
0cea94c
Translate languages/rocket.pot in fr_FR
transifex-integration[bot] Sep 16, 2024
b104f24
Translate languages/rocket.pot in fr_FR
transifex-integration[bot] Sep 16, 2024
1a3cd19
Translate languages/rocket.pot in de_DE
transifex-integration[bot] Sep 16, 2024
b84db95
Translate languages/rocket.pot in fr_CA
transifex-integration[bot] Sep 16, 2024
dc5bdaf
Translate languages/rocket.pot in ro_RO
transifex-integration[bot] Sep 16, 2024
21b4dd8
Replace Lazy Render Content strings with Automatic Lazy Rendering (#6…
wordpressfan Sep 17, 2024
9ee75cd
Automate release process (#6538)
wordpressfan Sep 17, 2024
c16a197
update version to 3.17.0.1-alpha1
wordpressfan Sep 17, 2024
662e161
Merge branch 'develop' into transifex
wordpressfan Sep 17, 2024
0fbe4a0
as we removed package-lock.json file from git we have to replace `npm…
wordpressfan Sep 17, 2024
c9ae3f3
Merge develop into transifex
wordpressfan Sep 17, 2024
b898c2a
disable npm cache
wordpressfan Sep 17, 2024
a707788
Merge develop into transifex
wordpressfan Sep 17, 2024
d27da7d
try without xdebug
wordpressfan Sep 17, 2024
e6d6d5a
Merge develop into transifex
wordpressfan Sep 17, 2024
f8c772a
Prepare transifex before alpha release
Sep 17, 2024
fec6237
Merge transifex into develop
wordpressfan Sep 17, 2024
787c8ee
don't make it draft
wordpressfan Sep 17, 2024
f7d7ee9
Merge remote-tracking branch 'origin/develop' into develop
wordpressfan Sep 17, 2024
0937c6d
Merge develop into transifex
wordpressfan Sep 17, 2024
f273a75
Prepare transifex before alpha release
Sep 17, 2024
a928871
Merge transifex into develop
wordpressfan Sep 17, 2024
37dc271
Merge develop into transifex
wordpressfan Sep 17, 2024
bf154d2
Prepare transifex before alpha release
Sep 17, 2024
035775c
Merge transifex into develop
wordpressfan Sep 17, 2024
ac3ec3d
Translate languages/rocket.pot in tr_TR
transifex-integration[bot] Sep 17, 2024
7fe286a
Translate languages/rocket.pot in tr_TR
transifex-integration[bot] Sep 17, 2024
e34732d
Translate languages/rocket.pot in fr_CA
transifex-integration[bot] Sep 18, 2024
6253ff1
Translate languages/rocket.pot in fr_CA
transifex-integration[bot] Sep 18, 2024
acccee0
Translate languages/rocket.pot in fr_FR
transifex-integration[bot] Sep 18, 2024
cd77379
Translate languages/rocket.pot in pt_PT
transifex-integration[bot] Sep 18, 2024
5547941
update the plugin version to 3.17.0.1
wordpressfan Sep 18, 2024
f466539
Merge remote-tracking branch 'origin/develop' into develop
wordpressfan Sep 18, 2024
1f43168
fix tests
wordpressfan Sep 18, 2024
6f47d9d
make the version alpha2 to make sure that translations come from tran…
wordpressfan Sep 18, 2024
c604717
Merge develop into transifex
wordpressfan Sep 18, 2024
81c2a44
Prepare transifex before alpha release
Sep 18, 2024
4339819
Merge transifex into develop
wordpressfan Sep 18, 2024
9d3251b
update the version again to 3.17.0.1 before final release
wordpressfan Sep 18, 2024
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
102 changes: 102 additions & 0 deletions .github/workflows/alpha_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
name: Alpha Release

on:
pull_request:
types: [ labeled ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
if: ${{ github.event.label.name == 'release-alpha' }}
# The type of runner that the job will run on
runs-on: ubuntu-latest

permissions:
contents: write

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Merge develop into transifex
uses: devmasx/merge-branch@master
with:
type: now
from_branch: develop
target_branch: transifex
github_token: ${{ secrets.GH_WORKFLOW_TOKEN }}
message: Merge develop into transifex

- name: Checkout transifex branch
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_WORKFLOW_TOKEN }}
ref: 'transifex'

- name: Setup PHP with no coverage driver
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
coverage: none

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install npm Dependencies
run: npm i

- name: Setup WP-CLI
uses: godaddy-wordpress/setup-wp-cli@1

- name: Update Pot file with new translatable strings
run: npm run makepot

- name: Generate mo files
uses: text-adi/build-language-i18n-action@v1
env:
DIR: languages

- name: Commit all changes to transifex branch
run: |
git config --local user.email "[email protected]"
git config --local user.name "WP Media GitHub Actions Bot"
git add -A
git commit -m "Prepare transifex before alpha release"

- name: Push all changes
uses: ad-m/[email protected]
with:
directory: "."
github_token: ${{ secrets.GH_WORKFLOW_TOKEN }}
branch: "transifex"

- name: Merge transifex into develop
uses: devmasx/merge-branch@master
with:
type: now
from_branch: transifex
target_branch: develop
github_token: ${{ secrets.GH_WORKFLOW_TOKEN }}
message: Merge transifex into develop

- name: Get Release Version
uses: actions-ecosystem/action-regex-match@v2
id: release-version
with:
text: ${{ github.event.pull_request.body }}
regex: '^(Release Version:\s*)(.*)$'
flags: 'gm'

- name: Echo extracted version number
run: |
echo "${{ steps.release-version.outputs.group2 }}"

- name: Create the tag/release
if: ${{ steps.release-version.outputs.group2 != '' }}
run: gh release create v${{ steps.release-version.outputs.group2 }} --prerelease --notes "${{ github.event.pull_request.body }}" --title "${{ steps.release-version.outputs.group2 }}" --target "develop"
env:
GH_TOKEN: ${{ secrets.GH_WORKFLOW_TOKEN }}
4 changes: 2 additions & 2 deletions bin/makemo.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash
# Create .mo files from .po files.
# Twisted by WP-Translations.org, created by grappler.
for file in `find . -name "*.po"` ; do /usr/local/opt/gettext/bin/msgfmt -o ${file/.po/.mo} $file ; done
for file in `find . -name "*.po"` ; do msgfmt -o ${file/.po/.mo} $file ; done
2 changes: 1 addition & 1 deletion inc/Engine/Admin/Settings/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -2248,7 +2248,7 @@ public function display_update_notice() {
'dismissible' => '',
'message' => sprintf(
// translators: %1$s: opening strong tag, %2$s: closing strong tag, %3$s: opening a tag, %4$s: opening a tag.
__( '%1$sWP Rocket:%2$s the plugin has been updated to the 3.17 version. New feature: %3$sLazy Render Content%4$s. Check out our documentation to learn more about it.', 'rocket' ),
__( '%1$sWP Rocket:%2$s the plugin has been updated to the 3.17 version. New feature: %3$sAutomatic Lazy Rendering%4$s. Check out our documentation to learn more about it.', 'rocket' ),
'<strong>',
'</strong>',
'<a href="' . esc_url( $lazy_render_content['url'] ) . '" data-beacon-article="' . esc_attr( $lazy_render_content['id'] ) . '" target="_blank" rel="noopener noreferrer">',
Expand Down
Binary file modified languages/rocket-ar.mo
Binary file not shown.
Binary file modified languages/rocket-bg_BG.mo
Binary file not shown.
Binary file modified languages/rocket-cs_CZ.mo
Binary file not shown.
Binary file modified languages/rocket-de_DE.mo
Binary file not shown.
Loading
Loading