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

Avoid using auto-drafts for theme templates and template parts #27910

Merged
merged 49 commits into from
Jan 11, 2021
Merged
Show file tree
Hide file tree
Changes from 48 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
44a7b81
Avoid using auto-drafts for theme templates and template parts
youknowriad Dec 28, 2020
a33cdb8
Fix site editor
youknowriad Dec 28, 2020
2bb9d1c
Remove useless strip ids function
youknowriad Dec 28, 2020
52b2e45
Fix unit tests
youknowriad Dec 28, 2020
26ed663
Fix end2end tests
youknowriad Dec 28, 2020
fc47855
Fix phpcs and unit tests
youknowriad Dec 28, 2020
9821b64
Fix template and template part creation
youknowriad Dec 28, 2020
e035499
Refactor the templates controller and use the same one for both CPTs
youknowriad Dec 29, 2020
266e256
Use a dedicated class for templates
youknowriad Dec 29, 2020
aba62e8
Fix slug schema
youknowriad Dec 29, 2020
e3e244e
Guard against inexistant ZipArchive class
youknowriad Dec 29, 2020
79f8b5f
Add extra fields handling
youknowriad Dec 29, 2020
dad2aa2
Be explicit about supported collection args
youknowriad Dec 29, 2020
766d1ce
Fix title and content types
youknowriad Dec 29, 2020
5c9a42f
Add delete endpoint
youknowriad Dec 29, 2020
60b08dc
Add addditional fields to the prepare response function
youknowriad Dec 29, 2020
248be9b
Specific permissions check methods
youknowriad Dec 29, 2020
8687a82
Use a class for the post changes
youknowriad Jan 4, 2021
e792c66
Bootstrap a unit test for the block templates abstraction layer
youknowriad Jan 4, 2021
31207dc
Generate unique slugs on the server for templates and template parts
youknowriad Jan 5, 2021
e2493df
translate the template part title
youknowriad Jan 5, 2021
2907e9b
Fix lock file
youknowriad Jan 5, 2021
66366de
Setup tests infrastructure.
TimothyBJacobs Jan 6, 2021
327b3e6
Remove testing code
TimothyBJacobs Jan 6, 2021
a6ee023
optimize fetching file template
youknowriad Jan 7, 2021
84983c7
Guard against invalid template removal
youknowriad Jan 7, 2021
3884511
Fallback to the theme from the request
youknowriad Jan 7, 2021
61e5cae
Fix typos
youknowriad Jan 7, 2021
3bddfc0
Remove useless code
youknowriad Jan 7, 2021
5c44aab
Fix typos
youknowriad Jan 7, 2021
7dfab88
Drop isUnresolvedTemplate
youknowriad Jan 7, 2021
a1b90bd
Simplify getTitle function
youknowriad Jan 7, 2021
78372c7
Improve docs
youknowriad Jan 7, 2021
79ca22d
Fix typos
youknowriad Jan 7, 2021
b637fe3
Fix nested theme directories
youknowriad Jan 7, 2021
21ac0f6
Fix block templates deduplication
youknowriad Jan 7, 2021
dd1adb5
more php unit tests
youknowriad Jan 7, 2021
83a33df
Limit the templates to the current theme's templates
youknowriad Jan 7, 2021
59339ad
Add more php unit tests
youknowriad Jan 7, 2021
e7a57fe
Fix template part block
youknowriad Jan 7, 2021
34fda4e
Fix lint error
youknowriad Jan 7, 2021
56c1c27
Replace | separator with //
youknowriad Jan 8, 2021
6780953
Restore siteURL for homepage
youknowriad Jan 8, 2021
d49ad48
Fix taxonomy query.
youknowriad Jan 8, 2021
d14821b
Replace | by //
youknowriad Jan 8, 2021
d574ffa
Fix JS unit tests
youknowriad Jan 8, 2021
b6ffe34
Fix theme template query
youknowriad Jan 8, 2021
d47958f
Fix queries
youknowriad Jan 8, 2021
c65c844
Add migration code
youknowriad Jan 11, 2021
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
127 changes: 0 additions & 127 deletions lib/edit-site-export.php

This file was deleted.

Loading