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

Font Library: load collection JSON data from a URL in the collection config #54067

Merged
merged 71 commits into from
Sep 22, 2023

Commits on Aug 18, 2023

  1. Configuration menu
    Copy the full SHA
    79d6af7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd1c967 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0cfac6c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6bb2f8b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4a67d0b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b26cb63 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. Configuration menu
    Copy the full SHA
    0cfddb2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7ba6f61 View commit details
    Browse the repository at this point in the history
  3. fix callback name

    matiasbenedetto committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    454f9a5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    932064f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b184398 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Configuration menu
    Copy the full SHA
    6a2dfa0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    36ab188 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ac938c9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a9c7b6a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b2deb14 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. name fix

    Co-authored-by: Tonya Mork <[email protected]>
    matiasbenedetto and hellofromtonya committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    4765538 View commit details
    Browse the repository at this point in the history
  2. comment update

    Co-authored-by: Tonya Mork <[email protected]>
    matiasbenedetto and hellofromtonya committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    3fb8b0a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3fadd9d View commit details
    Browse the repository at this point in the history
  4. Improves contructor error handling.

    * Ensures each required param is of the right data type.
    * Improves each param check error to include expected data type.
    hellofromtonya committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    bdaacf8 View commit details
    Browse the repository at this point in the history
  5. FontCollection::get_data(): Improves error handling

    * Rechecking if "data_json_file" exists in the $config property shouldn't be necessary,
      as it's checked in the constructor.
    
    * If the file does not exist, bail out immediately as there's nothing more to do.
    
    * Adds a check and WP_Error for file_get_contents():
    file_get_contents() returns false on failure.
    If there's nothing in the file, an empty string is returned.
    This change checks for both of these conditions and returns a WP_Error if either happens.
    
    * Internationalizes WP_Error error message for consistency in Core.
    hellofromtonya committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    85fe753 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4ae9af6 View commit details
    Browse the repository at this point in the history
  7. adding filter in a simpler way

    Co-authored-by: Tonya Mork <[email protected]>
    matiasbenedetto and hellofromtonya committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    de053da View commit details
    Browse the repository at this point in the history
  8. micro-optimization

    Co-authored-by: Tonya Mork <[email protected]>
    matiasbenedetto and hellofromtonya committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    21dfbe3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    fb913af View commit details
    Browse the repository at this point in the history
  10. Eliminates try/catch

    hellofromtonya committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    0e6c026 View commit details
    Browse the repository at this point in the history
  11. Revert "Eliminates try/catch" commit

    This reverts commit 0e6c026.
    hellofromtonya committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    f79212d View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Remove wp_register_font_collection and replace it by a global functio…

    …n, remove try catch and raise the error if needed
    matiasbenedetto committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    4e952e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    196459a View commit details
    Browse the repository at this point in the history
  3. php format

    matiasbenedetto committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    a76d943 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c15b5ae View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    85261b3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ad52829 View commit details
    Browse the repository at this point in the history
  7. format php

    matiasbenedetto committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    7161ba1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8402b91 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e0947c9 View commit details
    Browse the repository at this point in the history
  10. updating tests

    matiasbenedetto committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    98d52ad View commit details
    Browse the repository at this point in the history
  11. php format

    matiasbenedetto committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    a6ed145 View commit details
    Browse the repository at this point in the history
  12. array check

    Co-authored-by: Tonya Mork <[email protected]>
    matiasbenedetto and hellofromtonya committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    f8dc1a0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    4cb5c77 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    4b7e5e3 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    56607c9 View commit details
    Browse the repository at this point in the history
  16. format

    matiasbenedetto committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    c928ebe View commit details
    Browse the repository at this point in the history
  17. format

    matiasbenedetto committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    aeb42cf View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    0a98de6 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    46f9fde View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. Configuration menu
    Copy the full SHA
    785262b View commit details
    Browse the repository at this point in the history
  2. lint

    matiasbenedetto committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    de12fe7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc560b8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    60997e9 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

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

Commits on Aug 30, 2023

  1. Configuration menu
    Copy the full SHA
    f55f7a7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0df9a0e View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. merge with trunk

    matiasbenedetto committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    7cc1dd3 View commit details
    Browse the repository at this point in the history
  2. fix missing merge

    matiasbenedetto committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    31a6315 View commit details
    Browse the repository at this point in the history
  3. fix merge with trunk

    matiasbenedetto committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    7d8e6e3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4eadf1a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    08f2e48 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2023

  1. Configuration menu
    Copy the full SHA
    ebb5b7b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    61568e0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    678aaef View commit details
    Browse the repository at this point in the history
  4. format php'

    matiasbenedetto committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    a097eca View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0022826 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bdd756f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d51a3ff View commit details
    Browse the repository at this point in the history
  8. update test

    matiasbenedetto committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    44acc0c View commit details
    Browse the repository at this point in the history
  9. format comments

    matiasbenedetto committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    08fc24b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a047eb7 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. early return

    Co-authored-by: Anton Vlasenko <[email protected]>
    matiasbenedetto and anton-vlasenko committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    241f2a6 View commit details
    Browse the repository at this point in the history
  2. remove not needed filter

    Co-authored-by: Anton Vlasenko <[email protected]>
    matiasbenedetto and anton-vlasenko committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    baa8114 View commit details
    Browse the repository at this point in the history
  3. rewording error message

    Co-authored-by: Anton Vlasenko <[email protected]>
    matiasbenedetto and anton-vlasenko committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    e4d7565 View commit details
    Browse the repository at this point in the history