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

Fix handling of uploading of font files #6407

Open
wants to merge 22 commits into
base: trunk
Choose a base branch
from

Commits on Apr 18, 2024

  1. Remove use of nested filters.

    Add params to wp_handle_upload() and wp_upload_bits() instead.
    azaozz committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    30225fc View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. Configuration menu
    Copy the full SHA
    78fc27b View commit details
    Browse the repository at this point in the history
  2. Add $upload_dir as param to the font_dir filter

    Makes it a bit faster/easier for plugins to reuse the uploads dir for fonts (although it seems as a bad idea to mix them with images/other uploads).
    azaozz committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    1617d81 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    48339ed View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

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

Commits on May 16, 2024

  1. Configuration menu
    Copy the full SHA
    50e91f4 View commit details
    Browse the repository at this point in the history
  2. Merge remote trunk

    azaozz committed May 16, 2024
    Configuration menu
    Copy the full SHA
    abc2610 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

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

Commits on May 24, 2024

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

Commits on May 29, 2024

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

Commits on May 30, 2024

  1. Update src/wp-includes/fonts.php

    Reset the error message that may be returned by `wp_pload_dir()` but honor it if it is set by a plugin using the `font_fir` filter.
    
    Co-authored-by: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com>
    azaozz and peterwilsoncc authored May 30, 2024
    Configuration menu
    Copy the full SHA
    86612b6 View commit details
    Browse the repository at this point in the history
  2. Update src/wp-includes/fonts.php

    Do not attempt to create the WP uploads directory even if it doesn't exist yet. It will be created by `wp_mkdir_p()` if needed.
    
    Co-authored-by: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com>
    azaozz and peterwilsoncc authored May 30, 2024
    Configuration menu
    Copy the full SHA
    8d9e9d8 View commit details
    Browse the repository at this point in the history
  3. Update src/wp-admin/includes/file.php

    Remove @see annotations. Not needed there.
    
    Co-authored-by: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com>
    azaozz and peterwilsoncc authored May 30, 2024
    Configuration menu
    Copy the full SHA
    d391259 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Configuration menu
    Copy the full SHA
    4bad2e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    076854a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d8c1cba View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f5b0d01 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

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

Commits on Jul 12, 2024

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

Commits on Jul 13, 2024

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

Commits on Sep 27, 2024

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