Skip to content

Commit

Permalink
Merge pull request #2 from peterwilsoncc/do/composer-prep
Browse files Browse the repository at this point in the history
Prep for composer
  • Loading branch information
peterwilsoncc authored Mar 3, 2024
2 parents 7452102 + 1aff091 commit 7ee30a1
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/.github/ export-ignore
/bin/ export-ignore
/tests/ export-ignore
/.gitignore export-ignore
/.gitattributes export-ignore
/phpcs.xml.dist export-ignore
/phpunit.xml.dist export-ignore
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "peterwilsoncc/embed-redirects",
"description": "A WordPress plugin to enable links in embeds to third party sites via a redirect.",
"name": "peterwilsoncc/fonts-to-uploads",
"description": "A WordPress plugin to relocate the fonts directory to uploads.",
"type": "wordpress-plugin",
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
Expand Down
7 changes: 7 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Fonts to Uploads

A WordPress plugin to relocate the fonts folder to the uploads directory

This plugin is to allow for sites using external file systems to store uploads to store user uploads to move the
wp-content/fonts directory to wp-content/uploads/wp-fonts instead.

This is to ensure that sites using S3 buckets, file partitions and immutable file systems can make use of the new
Font Library feature without the need to refactor their server or duplicate their offloading capacity.

6 changes: 6 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ Requires PHP: 7.4
License: MIT

Relocate the fonts folder to the uploads directory.

This plugin is to allow for sites using external file systems to store uploads to store user uploads to move the
wp-content/fonts directory to wp-content/uploads/wp-fonts instead.

This is to ensure that sites using S3 buckets, file partitions and immutable file systems can make use of the new
Font Library feature without the need to refactor their server or duplicate their offloading capacity.

0 comments on commit 7ee30a1

Please sign in to comment.