=== Phoenix Media Rename ===
Contributors: crossi72, ShadowsDweller
Tags: media, file, image, attachment, rename, retitle
Requires at least: 4.5
Tested up to: 4.9.8
Stable tag: 1.3.0
License: GPL3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

The Phoenix Media Rename plugin allows you to easily rename (and retitle) your media files, once uploaded.

== Description ==

Greatly improve your SEO: rename your media files with the "Phoenix Media Rename" plugin.

== Installation ==

1. Upload `phoenix-media-rename` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. It is done! You can go to any media file single page and will notice the new field "Filename". Bulk edit is also available at the "Media" listing page!

== Frequently Asked Questions ==

= How to rename a single media? =

Go to the Media section of the admin panel and open a media of your choice. You will see a new field named "Filename" and your current filename in it. Change it to whatever you want the new name to be and hit the "Update" button.

= How to bulk rename medias? =

Go to the Media section of the admin panel, select the "Rename" or "Rename & Retitle" bulk action (depending on if you want the media get retitled too) from the dropdown, check the medias you would like to rename and change their filenames using the "Filename" fields at the last column. When you are done, hit the "Apply" button and let the plugin do its magic!

= Can I use the plugin to rename medias via code? =

Sure, you can use the "do_rename" static function, located at the Phoenix_Media_Rename class. Prototype: Phoenix_Media_Rename::do_rename($attachment_id, $new_filename, $retitle = 0). On success the function returns 1, and on error - the error message.

== Screenshots ==

1. screenshot-1.jpg
2. screenshot-2.jpg

== Changelog ==

= 1.3.0 =
* fixed issue with WPML

= 1.2.6 =
* fixed issue with WP Compress plugin

= 1.2.5 =
* disabled submit button during bulk rename
* added js minification

= 1.2.4 =
* fixed error in Smart Slider custom table update

= 1.2.3 =
* fixed error in Smart Slider custom table update

= 1.2.2 =
* optimized sql for Smart Slider custom tables update

= 1.2.1 =
* fixed error in Smart Slider custom table update

= 1.2.0 =
* added support for Smart Slider

= 1.1.4 =
* fixed ajax notification issue on php 7

= 1.1.3 =
* added support for non-latin characters in file name

= 1.1.2 =
* added sanitization to file names

= 1.1.1 =
* added licence for phoenix icon

= 1.1.0 =
* added support for localization

= 1.0.1 =
* fixed author username

= 1.0.0 =
* Initial version