Skip to content

WP FileShelf v0.1.3

Choose a tag to compare

@eyeofbri eyeofbri released this 23 Sep 20:32
· 3 commits to main since this release

Storage, security, and update improvements

WP FileShelf v0.1.3 improves where FileShelf files are stored, how older installations are migrated, and how plugin updates are handled from the FileShelf admin.

Storage changes

FileShelf-managed files now use:

WP_CONTENT_DIR/wp-fileshelf-uploads/
On a standard WordPress installation, this is:

/wp-content/wp-fileshelf-uploads/
This keeps FileShelf files inside the normal WordPress content area while remaining separate from the standard Media Library at /wp-content/uploads/.

Existing public FileShelf links, such as:

/hr-docs/example.pdf
remain unchanged.

Automatic migration

Existing installations using the previous root-level /wp-fileshelf-uploads/ directory are migrated automatically.

FileShelf will:

  • Attempt to move the existing directory directly
  • Fall back to copying and verifying files if needed
  • Remove the old directory only after a successful migration
  • Preserve and continue using the legacy directory if migration cannot complete safely
  • Run migration correctly during both normal upgrades and activation

Security improvements

  • Added direct-access protection files for supported Apache/LiteSpeed and IIS environments
  • Updated uninstall cleanup to support both current and legacy storage locations
  • Updated storage safety checks and marker handling

Plugin update improvements

The Plugin Updates section in FileShelf Settings now makes available updates much easier to identify.

  • Highlights the latest release when it is newer than the installed version
  • Adds an “Update available” status indicator
  • Shows clearer installed vs latest version messaging
  • Adds a direct “Update to vX.Y.Z” button
  • Uses WordPress’s native plugin upgrader for the update process
  • Shows update progress and success states
  • Reloads the FileShelf settings page after a successful update

Notes

This release changes the physical storage location and update workflow, but does not change existing FileShelf public URLs or file records.