diff --git a/.github/workflows/assets.yml b/.github/workflows/assets.yml new file mode 100644 index 0000000..7b51036 --- /dev/null +++ b/.github/workflows/assets.yml @@ -0,0 +1,17 @@ +name: Plugin asset/readme update +on: + push: + branches: + - master +jobs: + trunk: + name: Updating assets/readme files. + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: WordPress.org plugin asset/readme update + uses: 10up/action-wordpress-plugin-asset-update@stable + env: + SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} + SVN_USERNAME: ${{ secrets.SVN_USERNAME }} + IGNORE_OTHER_FILES: true \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..dd57bd9 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,28 @@ +name: Deploy to WordPress.org +on: + release: + types: [published] +jobs: + tag: + name: Deploy New Release to WordPress.org + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: WordPress Plugin Deploy + id: deploy + uses: 10up/action-wordpress-plugin-deploy@stable + with: + generate-zip: true + env: + SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} + SVN_USERNAME: ${{ secrets.SVN_USERNAME }} + SLUG: svg-enabler + - name: Upload release asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ github.event.release.upload_url }} + asset_path: ${{ steps.deploy.outputs.zip-path }} + asset_name: ${{ github.event.repository.name }}.zip + asset_content_type: application/zip diff --git a/.wordpress-org/banner-1544x500.png b/.wordpress-org/banner-1544x500.png new file mode 100644 index 0000000..4db2b24 Binary files /dev/null and b/.wordpress-org/banner-1544x500.png differ diff --git a/.wordpress-org/banner-772x250.png b/.wordpress-org/banner-772x250.png new file mode 100644 index 0000000..3a774fa Binary files /dev/null and b/.wordpress-org/banner-772x250.png differ diff --git a/.wordpress-org/icon.svg b/.wordpress-org/icon.svg new file mode 100644 index 0000000..f1dc506 --- /dev/null +++ b/.wordpress-org/icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..c508c69 --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +Optimisthub + +# Scheduled Posts Issue Fixer +* Minimum WordPress Sürümü : 5.0 +* Test Edilen WordPress Sürümü : 6.1.1 +* PHP : 7.1+ +* Stabil Versiyon : 1.0.1 +* Lisans: GPLv2 ya da daha sonrası +* Lisans URI: https://www.gnu.org/licenses/gpl-2.0.html + +SVG Enabler, WordPress medya yöneticisinden, SVG uzantılı dosyaları yükleyip kullanabilmeniz için geliştirilen SVG Desteği eklentisidir. + +## Kurulum + +* Zip dosyasını indirip, açıp içinden çıkan `wordpress-svg-enabler` klasörünü `/wp-content/plugins/` dizinine yükleyiniz. +* Eklentiler menüsünden, `Svg Enabler` eklentisini aktif hale getiriniz. Eklenti otomatik olarak çalışmaya başlayacaktır. + +## Sıkça Sorulan Sorular + +### Eklentiyi sitemde etkinleştirdim, neden Admin Panel'de göremiyorum? + +Svg Enabler bir kur ve unut eklentisidir. Eklenti yüklenip etkinleştirildiğinde sitenizin planlanmış gönderileri otomatik olarak kontrol edileceğinden herhangi bir ayar alanı yoktur. + +## Versiyon Geçmişi + +* https://plugins.trac.wordpress.org/log/svg-enabler/ +## WordPress Eklenti Dizini Adresi + +* https://wordpress.org/plugins/svg-enabler/ \ No newline at end of file diff --git a/index.php b/index.php index eeda7c5..0627b86 100644 --- a/index.php +++ b/index.php @@ -6,7 +6,7 @@ * Author: @optimisthub * Author URI: https://optimisthub.com * Text Domain: svg-enabler - * Version: 1.0.0 + * Version: 1.0.1 * Requires at least: 5.0 * Tested up to: 6.1.1 * Requires PHP: 7.1 diff --git a/readme.txt b/readme.txt index e5bba3a..833f51d 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: svg upload, allow svg upload, svg support, svg upload enabler Requires at least: 5.0 Tested up to: 6.1.1 Requires PHP: 7.1 -Stable tag: 1.0.0 +Stable tag: 1.0.1 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -61,6 +61,10 @@ Yes, this can be done using the `svg_allowed_attributes` and `svg_allowed_tags` == Changelog == += 1.0.1 = + +* Github Action + = 1.0.0 = * Stable version released \ No newline at end of file