Plugin yìí kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress. Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

DH – Rename Uploaded Files

Àpèjúwe

Automatically renames WordPress media uploads with customizable naming patterns for better organization and security.

from “hello-world.jpg”

  • to orlold-whel.jpg
  • or hello-world_orlold-whel.jpg
  • or d6sf8z7mlo5ey4h90nkqcbixgr3wvj.jpg

Other Plugins:

Notes:

  • Only affects newly uploaded files.

Àwọn àwòrán ìbòjú

  • Plugin settings page in WordPress admin showing all available configuration options for renaming uploaded files.

Ìgbéwọlẹ̀

Automatic Installation

  1. Go to ‘Plugins’ > ‘Add New’ in your WordPress admin panel
  2. Search for ‘DH – Rename Uploaded Files’
  3. Click ‘Install Now’ and then ‘Activate’ the plugin
  4. Go to ‘Settings’ > ‘DH – Rename Uploaded Files’ to configure the plugin

Manual Installation

  1. Download the plugin zip file
  2. Go to ‘Plugins’ > ‘Add New’ > ‘Upload Plugin’ in WordPress
  3. Upload the zip file and click ‘Install Now’
  4. After installation, click ‘Activate Plugin’
  5. Go to ‘Settings’ > ‘DH – Rename Uploaded Files’ to configure the plugin

Àwọn àgbéyẹ̀wò

Ka gbogbo àgbéyẹ̀wò 1

Àwọn Olùkópa & Olùgbéejáde

“DH – Rename Uploaded Files” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “DH – Rename Uploaded Files” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

4

Added

  • Added security check to prevent direct file access
  • Added proper input validation for empty filenames
  • Added proper documentation for the main function with @param and @return tags

Changed

  • Restructured code using switch statement for better readability and maintainability
  • Optimized variable usage to avoid redundant operations
  • Improved code organization and indentation
  • Enhanced error handling for file renaming operations
  • Updated default case handling in the switch statement

Fixed

  • Fixed potential issues with undefined array keys using null coalescing operator
  • Fixed code style to follow WordPress coding standards
  • Fixed potential edge cases in file extension handling

Removed

  • Removed redundant global variable usage
  • Removed duplicate code blocks by consolidating logic

Security

  • Added ABSPATH check to prevent direct file access
  • Improved sanitization of file names
  • Added proper escaping for file paths

Performance

  • Optimized string operations
  • Reduced redundant function calls
  • Improved memory usage by reusing variables

Compatibility

  • Maintained backward compatibility with all existing settings
  • Ensured compatibility with WordPress 6.5+
  • Tested with PHP 8.0+

Developer Notes

  • The plugin now follows better coding standards
  • Improved filter hooks documentation
  • Better separation of concerns in the code

3

  • Fix some bugs.

2

  • Fix some bugs.
  • Compatible with WordPress 6.

1.0.1

  • Fix some bugs.

1.0.0

  • First release.