Now the plugin can be translated, please help me to do it
DNUI (
Delete
Not
Used
Image) will search images from the database and try to find it on every Post and Page, if one image has one reference in this either post or page, the plugin will tell you that the image is used.
The version 2.0 is one big remake of this plugin, all the code have changed, now the code work by Rest Service and use AngularJS (not more the BackboneJS)
The update from the 1.x to the 2.0 is automatic, the only problem is that you will lost the backup folder and all backups made from the version 1.x
The plugin was fully test it with WordPress 4.3/4.4.1 and PHP 5.3/5.4/5.6
This plugin use:
- AngularJS 1.4.8 core, resource and animate
- Angular UI
- 自举
This version can search if the image is used at:
- Excerpt (reference image or shortcode)
- Publish Post/Page (reference image or shortcode)
- Draft/Revesion Post/Page (reference image or shortcode)
- Shortcodes (include gallery)
Translation:
You can found the
DNUI PRO VERSION if you need more useful features, like compatibility with WooCommerce
If you need search all type of file or search from you upload folder try
CUF
Github at
DNUI
Version 2.5.7
- Verify if post is not null at getShortCode
Version 2.5.6
- Migration angular 1.4.x to 1.5.x
- Add missing error message
- Add 'dnui-delete-not-used-image-wordpress' for translate
- Add cancel to request call
Version 2.5.5
- Bad shortCodeCheck set
- Better WooCommerce check
- Add 'dnui-delete-not-used-image-wordpress' for translate
Version 2.5.4
- Change log
- Added ob_clean to clean the output
- Change wp_die for die(json) (see at other plugin)
- Added more useful information
- Add new context for translation
- Added alert if fetching server go wrong
Version 2.5.3
- Better user experience
- Fix JS error log
- Disabled errorHandler (catchching error from other plugin)
- Add Spanish
Version 2.5.2
- Fix bug PHP 5.3
- Fix bug rollback page
- Added lost lang
Version 2.5.1
- Fix bad name (incompatibility with the pro version, only necessary if you use the PRO version)
Version 2.5
- Fix JS bug delete all (without backup folder)
- Added log system
- Fix JS bug delete all with original image already deleted
- HTML changes
- Normally last 2.x version, until Angular2 come out
Version 2.4
- Search shorcode in excerpt
- Search image in excerpt (short description)
- Search in meta value
- Change the option view
- Fix serveral bug (the restore button)
- Change codes
Version 2.3
- Added better english
- Now can be translated.
Version 2.2.2
*Fix backup active but folder not created
Version 2.2.1
- Fix empty array gallery and backup
- Fix sync of delete sizes (deleteAll button)
- Fix several others bugs (dead last page)
Version 2.2
- Add original to ignore list
Version 2.1
- Add draft/revision check
- Add gallery check (made with javascript)
- Add wait to the deleteAll button
- Changes in the Javascript (better performance the first call)
Version 2.0.1
Version 2.0
- Change all the PHP code
- Change all the Javascript code (now with AngularJS)
- Added warning
Version 1.5.4
- Not limit in the quantity of image to search
Version 1.5.3
- Fix JS ignore size if there nothing in sizes and hidden orignal problem
Version 1.5.2
- SQL performance
- FIX JS select all
- FIX crazy problem with sizes
Version 1.5.1
- Fix: Uncaught SyntaxError: Unexpected token <
Version 1.5
- Add compatibility with gallery (wordpress native gallery)
- Fix of Bug has_cap
- Fix of other bugs
Version <1.5
- Bugs fixed
- Add 3 menu (Scan database, backup, option)
- Add backups
- Add Ignore sizes
- Add update if image not exist
- Add some security option
- Restore image from backup
A lots of js thanks to Backbone!
Version 1.0
Change a lots of logic, a lots of js and not much of PHP, use of concept of service rest
Version 0.8
Get projet DUI from the web, and change some logic, a lots of PHP, not much of js