Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add revisioning of post meta, including ‘footnotes’ by default #4859
Add revisioning of post meta, including ‘footnotes’ by default #4859
Changes from 108 commits
b8bf5ef
6667610
15e9e4e
b892323
6235af5
3a87749
05d0f86
19e1f8a
0b86da9
52dd943
ef14c11
31a6d61
da8abe6
d2f0db1
6c9bece
2e74964
268385f
4fd4302
3722d1e
b26a695
5d6e5b9
b4fa33f
1603c55
d244a39
d86ec77
a80620a
885640d
ea4f181
e63334b
f4234f8
1f1e5a0
6c5061b
5bd7e7b
65bfe81
7254e3a
8c3fba2
26a9d0b
210573b
485f20b
167261e
5b5dc0d
f8d0d30
ea9b8ce
15e8bbd
1e54aa3
a3fa561
877420e
f57b79b
cad9272
57c872a
ca01058
92590aa
6fd9a9e
f83d353
7f70990
432a810
d80b7b4
7160abb
96301da
e2d0cc7
5f07145
afc1109
ac279e3
4205d65
e7b4495
68f6410
ee35085
61bfafc
c27258a
20874e3
68a419b
3ee633f
1e17f5b
982c553
d04574a
3a8f6fc
192e7c0
225a91b
c2482fd
2331d36
5c48c7a
e211ca1
7247e93
891a0e4
c35cc5f
826bebb
750dcdc
0b88e50
2c02dbc
b5ba2d3
95508d9
b0b880b
f04a319
e231886
e1950b0
6f6e3ce
b77bf22
b6e221a
40febf2
69c6107
f9b760b
8360faa
a1971f7
99b2aa8
b94e1a6
e09f011
01a4788
8e7b72a
d6c6ca2
73f6a23
3db644c
95c9e9d
9bab9a9
dc0b907
ab2d500
8bf1727
c7904ce
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check failure on line 416 in src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php
GitHub Actions / PHP coding standards
Check failure on line 416 in src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php
GitHub Actions / PHP coding standards
Check failure on line 416 in src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php
GitHub Actions / PHP coding standards
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@spacedmonkey thinking we should check for 0 here as well since
_wp_put_post_revision
can return 0.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$revision_id could be 0 OR a wp_error here so I think we need to check for both which is what I did.