Skip to content

Releases: inject3r/upload-to-github

Release list

v1.0.1

Choose a tag to compare

@inject3r inject3r released this 29 Jul 08:53
6be4a38

This release focuses on security improvements, WordPress Coding Standards compliance, and overall code quality.

Special thanks to @miyanialkesh7 for their valuable contribution to this release.

Key Changes:

  • Security: Encoded GitHub API path segments (username, repository, file paths) to prevent malformed requests from special characters
  • Security: Replaced raw inline script/style output with wp_add_inline_style() and wp_add_inline_script()
  • Security: Replaced json_encode() with wp_json_encode()
  • Security: Escaped remaining unescaped admin page output
  • Fix: Guarded get_current_screen() against null return value
  • Compatibility: Confirmed compatibility with WordPress 7.0
  • Added missing plugin headers: Requires at least, Requires PHP
  • Updated readme.txt with contributor list, tags, and changelog
  • Full PHPCS/WordPress Coding Standards pass: 3503 errors and 236 warnings resolved to zero
  • Added PHPDoc blocks across all classes and methods
  • Renamed includes/class-.php to class-ug-.php per WPCS file-naming convention
  • Added ABSPATH and function_exists() guards

Upgrade recommended for all users.

v1.0.0

Choose a tag to compare

@inject3r inject3r released this 27 Jul 01:15

Initial Release of Upload to GitHub

Upload WordPress media files directly to a GitHub repository instead of the default uploads folder.

Features:

  • Direct upload of all media files to GitHub repository
  • Automatic repository creation if it doesn't exist
  • Support for all WordPress image sizes (thumbnail, medium, large, custom)
  • Private repository support with GitHub Pages
  • Public repository support with raw GitHub URLs
  • Custom upload path configuration (e.g., test/test2)
  • Migrate existing media from WordPress uploads folder
  • Multi-language support (7 languages)
  • Modern dark GitHub-style admin interface
  • Secure authentication with Personal Access Token
  • Real-time connection testing
  • Advanced validation and error handling
  • Responsive and RTL ready

Technical Details:

  • Minimum WordPress: 5.0
  • Minimum PHP: 7.4
  • Text Domain: upload-to-github
  • License: GPLv2 or later

Supported Languages:

  • Persian (Farsi)
  • Arabic
  • German
  • Spanish
  • French
  • Russian
  • Turkish