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

Add revisioning of post meta, including ‘footnotes’ by default #4859

Closed
wants to merge 117 commits into from

Commits on Jul 17, 2023

  1. Configuration menu
    Copy the full SHA
    b8bf5ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6667610 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    15e9e4e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b892323 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. Configuration menu
    Copy the full SHA
    6235af5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a87749 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    05d0f86 View commit details
    Browse the repository at this point in the history
  4. phpcbf

    adamsilverstein committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    19e1f8a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0b86da9 View commit details
    Browse the repository at this point in the history
  6. Test work

    adamsilverstein committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    52dd943 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2023

  1. Configuration menu
    Copy the full SHA
    ef14c11 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. Configuration menu
    Copy the full SHA
    31a6d61 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2023

  1. Configuration menu
    Copy the full SHA
    da8abe6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d2f0db1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6c9bece View commit details
    Browse the repository at this point in the history
  4. phpcbf

    adamsilverstein committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    2e74964 View commit details
    Browse the repository at this point in the history
  5. Fix test setup

    adamsilverstein committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    268385f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4fd4302 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3722d1e View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2023

  1. phpcs

    adamsilverstein committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    b26a695 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d6e5b9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b4fa33f View commit details
    Browse the repository at this point in the history
  4. phpcbf

    adamsilverstein committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    1603c55 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d244a39 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d86ec77 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a80620a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    885640d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ea4f181 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e63334b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f4234f8 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    1f1e5a0 View commit details
    Browse the repository at this point in the history
  13. test work

    adamsilverstein committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    6c5061b View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. Hook wp_save_revisioned_meta_fields on _wp_put_post_revision so i…

    …t can be unhooked in the REST API handler
    adamsilverstein committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    5bd7e7b View commit details
    Browse the repository at this point in the history
  2. Test cleanup

    adamsilverstein committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    65bfe81 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7254e3a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8c3fba2 View commit details
    Browse the repository at this point in the history
  5. spacing

    adamsilverstein committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    26a9d0b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    210573b View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. Configuration menu
    Copy the full SHA
    485f20b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    167261e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5b5dc0d View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. Configuration menu
    Copy the full SHA
    f8d0d30 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ea9b8ce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    15e8bbd View commit details
    Browse the repository at this point in the history
  4. Merge branch 'trunk' into ticket/20564

    # Conflicts:
    #	src/wp-includes/blocks/footnotes.php
    adamsilverstein committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    1e54aa3 View commit details
    Browse the repository at this point in the history
  5. phpcbf

    adamsilverstein committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    a3fa561 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. Configuration menu
    Copy the full SHA
    877420e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f57b79b View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. phpcbf

    adamsilverstein committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    cad9272 View commit details
    Browse the repository at this point in the history
  2. Improve tests

    adamsilverstein committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    57c872a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ca01058 View commit details
    Browse the repository at this point in the history
  4. test

    adamsilverstein committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    92590aa View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Configuration menu
    Copy the full SHA
    6fd9a9e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f83d353 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7f70990 View commit details
    Browse the repository at this point in the history
  4. fix generated

    adamsilverstein committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    432a810 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d80b7b4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7160abb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    96301da View commit details
    Browse the repository at this point in the history
  8. Use actions properly

    TimothyBJacobs committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    e2d0cc7 View commit details
    Browse the repository at this point in the history
  9. Revert "Try only adding revision on update."

    This reverts commit 96301da.
    TimothyBJacobs committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    5f07145 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    afc1109 View commit details
    Browse the repository at this point in the history
  11. Correct logic

    TimothyBJacobs committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    ac279e3 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    4205d65 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e7b4495 View commit details
    Browse the repository at this point in the history
  14. Regenerate fixtures

    TimothyBJacobs committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    68f6410 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    ee35085 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    61bfafc View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    c27258a View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    20874e3 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    68a419b View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    3ee633f View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2023

  1. Configuration menu
    Copy the full SHA
    1e17f5b View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. Configuration menu
    Copy the full SHA
    982c553 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Configuration menu
    Copy the full SHA
    d04574a View commit details
    Browse the repository at this point in the history
  2. omyac

    adamsilverstein committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    3a8f6fc View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. Merge branch 'trunk' into ticket/20564

    # Conflicts:
    #	src/wp-includes/default-filters.php
    adamsilverstein committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    192e7c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    225a91b View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2023

  1. Configuration menu
    Copy the full SHA
    c2482fd View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2023

  1. Configuration menu
    Copy the full SHA
    2331d36 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5c48c7a View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Configuration menu
    Copy the full SHA
    e211ca1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7247e93 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. Configuration menu
    Copy the full SHA
    891a0e4 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. Configuration menu
    Copy the full SHA
    c35cc5f View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. Configuration menu
    Copy the full SHA
    826bebb View commit details
    Browse the repository at this point in the history
  2. Hook wp_autosave_post_revisioned_meta_fields on wp_creating_autosave

    Also, add a second triggering of `wp_creating_autosave` and add a parameter indicating if this is an update or a new autosave revision.
    adamsilverstein committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    750dcdc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0b88e50 View commit details
    Browse the repository at this point in the history
  4. Update src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-con…

    …troller.php
    
    Co-authored-by: Jonny Harris <spacedmonkey@users.noreply.github.com>
    adamsilverstein and spacedmonkey committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    2c02dbc View commit details
    Browse the repository at this point in the history
  5. Update src/wp-includes/revision.php

    Co-authored-by: Jonny Harris <spacedmonkey@users.noreply.github.com>
    adamsilverstein and spacedmonkey committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    b5ba2d3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    95508d9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b0b880b View commit details
    Browse the repository at this point in the history
  8. phpcs

    adamsilverstein committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    f04a319 View commit details
    Browse the repository at this point in the history
  9. phpcbf

    adamsilverstein committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    e231886 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e1950b0 View commit details
    Browse the repository at this point in the history
  11. Update src/wp-includes/revision.php

    Correct doc block order
    
    Co-authored-by: Tonya Mork <tonya.mork@automattic.com>
    adamsilverstein and hellofromtonya committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    6f6e3ce View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b77bf22 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b6e221a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    40febf2 View commit details
    Browse the repository at this point in the history
  15. phpcbf

    adamsilverstein committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    69c6107 View commit details
    Browse the repository at this point in the history
  16. If the object_type is set, require a type that supports revisions wh…

    …en setting revisions_enabled to true
    adamsilverstein committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    f9b760b View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    8360faa View commit details
    Browse the repository at this point in the history
  18. phpcbf

    adamsilverstein committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    a1971f7 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. Update src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-con…

    …troller.php
    
    Co-authored-by: Jonny Harris <spacedmonkey@users.noreply.github.com>
    adamsilverstein and spacedmonkey committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    99b2aa8 View commit details
    Browse the repository at this point in the history
  2. Update src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-con…

    …troller.php
    
    Co-authored-by: Jonny Harris <spacedmonkey@users.noreply.github.com>
    adamsilverstein and spacedmonkey committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    b94e1a6 View commit details
    Browse the repository at this point in the history
  3. Update src/wp-admin/includes/post.php

    Co-authored-by: Pascal Birchler <pascal.birchler@gmail.com>
    adamsilverstein and swissspidy committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    e09f011 View commit details
    Browse the repository at this point in the history
  4. Update src/wp-admin/includes/post.php

    Co-authored-by: Pascal Birchler <pascal.birchler@gmail.com>
    adamsilverstein and swissspidy committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    01a4788 View commit details
    Browse the repository at this point in the history
  5. spacing

    adamsilverstein committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    8e7b72a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d6c6ca2 View commit details
    Browse the repository at this point in the history
  7. Update src/wp-includes/meta.php

    Co-authored-by: Jonny Harris <spacedmonkey@users.noreply.github.com>
    adamsilverstein and spacedmonkey committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    73f6a23 View commit details
    Browse the repository at this point in the history
  8. tabs vs spaces

    adamsilverstein committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    3db644c View commit details
    Browse the repository at this point in the history
  9. Update src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-con…

    …troller.php
    
    Co-authored-by: Jonny Harris <spacedmonkey@users.noreply.github.com>
    adamsilverstein and spacedmonkey committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    95c9e9d View commit details
    Browse the repository at this point in the history
  10. Improve error message

    adamsilverstein committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    9bab9a9 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    dc0b907 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ab2d500 View commit details
    Browse the repository at this point in the history
  13. phpcbf

    adamsilverstein committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    8bf1727 View commit details
    Browse the repository at this point in the history
  14. phpcbf pt 2

    adamsilverstein committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    c7904ce View commit details
    Browse the repository at this point in the history