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 plugin template registration API #61577

Merged
merged 49 commits into from
Aug 13, 2024

Commits on Aug 13, 2024

  1. Configuration menu
    Copy the full SHA
    a4f1949 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9d439b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    90669a8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e1612d6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8d56d84 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1b7292b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    474cd8a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9c1016c View commit details
    Browse the repository at this point in the history
  9. Use wp_get_active_and_valid_plugins() instead of get_plugins() to ret…

    …rieve the site plugins
    Aljullu committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    d31655f View commit details
    Browse the repository at this point in the history
  10. Refactor how we get the plugin name so it works with plugins that fol…

    …low the format plugin-slug/whatever-file-name-they-want-to.php
    Aljullu committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    d9d7bf5 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    69e340c View commit details
    Browse the repository at this point in the history
  12. PHP linting

    Aljullu committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    736b0a8 View commit details
    Browse the repository at this point in the history
  13. Rely on template.plugin instead of template.origin to identify plugin…

    … templates, so we correctly handle plugin deactivation
    Aljullu committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    5e6719f View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    83430f5 View commit details
    Browse the repository at this point in the history
  15. Avoid usage of unset()

    Aljullu committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    934d358 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e2006a3 View commit details
    Browse the repository at this point in the history
  17. Update comments format

    Aljullu committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    93d1698 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    3f16162 View commit details
    Browse the repository at this point in the history
  19. Rename WP_Templates_Registry

    Aljullu committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    d8b545f View commit details
    Browse the repository at this point in the history
  20. Fix alignment

    Aljullu committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    8de5b47 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    64aad98 View commit details
    Browse the repository at this point in the history
  22. Inline get_callback function

    Aljullu committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    e13c5a6 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    6e11c6b View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    0a3e58f View commit details
    Browse the repository at this point in the history
  25. Correctly set is_custom prop

    Aljullu committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    94f1f2d View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    4972b25 View commit details
    Browse the repository at this point in the history
  27. Add docblock to gutenberg_register_template() and create gutenberg_un…

    …register_template() function
    Aljullu committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    231a82b View commit details
    Browse the repository at this point in the history
  28. Linting

    Aljullu committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    1082b14 View commit details
    Browse the repository at this point in the history
  29. Fix typo

    Aljullu committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    3c4d9ba View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    c021b3f View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    1f8274b View commit details
    Browse the repository at this point in the history
  32. Add PHP unit tests

    Aljullu committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    469e680 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    44ce898 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    ae53a3a View commit details
    Browse the repository at this point in the history
  35. Add e2e tests

    Aljullu committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    e8fb1ea View commit details
    Browse the repository at this point in the history
  36. Add e2e tests (II)

    Aljullu committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    de4ac59 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    00d9f40 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    9232b1f View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    81f17c9 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    ba73c17 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    3962e67 View commit details
    Browse the repository at this point in the history
  42. Add backport changelog file

    Aljullu committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    efc6847 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    d483308 View commit details
    Browse the repository at this point in the history
  44. Remove unnecessary usage of empty

    Co-authored-by: Timothy Jacobs <timothy@ironbounddesigns.com>
    Aljullu and TimothyBJacobs committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    b76c676 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    0ec44e1 View commit details
    Browse the repository at this point in the history
  46. Fix typo in error message

    Aljullu committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    2c5d734 View commit details
    Browse the repository at this point in the history
  47. Fix typo in variable name

    Aljullu committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    b5a3de4 View commit details
    Browse the repository at this point in the history
  48. Fix wrong register method signature

    Co-authored-by: Timothy Jacobs <timothy@ironbounddesigns.com>
    Aljullu and TimothyBJacobs committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    336c0a3 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    7eb235c View commit details
    Browse the repository at this point in the history