Auto Image Attributes From Filename With Bulk Updater (Add Alt Text, Image Title For Image SEO) - Version 2.0

Version Description

  • Date: 18.June.2021
  • Tested with WordPress 5.7.2.
  • UI Enhancement: Changed order of General Settings to match the order in Media Library.
  • UI Enhancement: Changed the word attached to uploaded in If image is not attached to a post, image filename will be used instead for better clarity.
  • I18n: More strings are now translation ready, thanks to @alexclassroom.
Download this release

Release Info

Developer arunbasillal
Plugin Icon 128x128 Auto Image Attributes From Filename With Bulk Updater (Add Alt Text, Image Title For Image SEO)
Version 2.0
Comparing to
See all releases

Code changes from version 1.6 to 2.0

README.md CHANGED
@@ -64,15 +64,16 @@ What the pro add-on you get these additional features:
64
 
65
  With the pro bulk updater you can:
66
 
67
- * Update image title and alt text for images inserted into posts and custom post types. Not just the media library.
68
  * Fine tune all settings. Choose what to update.
69
  * Update image titles / alt text in media library only. Image titles / alt text in existing posts will be left unchanged.
70
  * Update image titles / alt text in media library and existing posts.
71
- * Update image titles / alt text in existing posts only if no title / alt text is set. All image titles/ alt text in media library will be updated.
72
  * Choose to turn off any of the above mentioned features.
73
  * Modify auto generated image attributes using the [iaffpro_image_attributes filter](https://imageattributespro.com/codex/iaffpro_image_attributes/?utm_source=github&utm_medium=readme.md).
74
  * Choose specific post types to bulk update using the [iaffpro_included_post_types filter](https://imageattributespro.com/codex/iaffpro_included_post_types/?utm_source=github&utm_medium=readme.md).
75
  * Disable updating of attributes in media library completely using the [iaffpro_update_media_library filter](https://imageattributespro.com/codex/iaffpro_update_media_library/?utm_source=github&utm_medium=readme.md).
 
76
 
77
  For screenshots, FAQ and further details, please see the [product website](https://imageattributespro.com/?utm_source=github&utm_medium=readme.md).
78
 
64
 
65
  With the pro bulk updater you can:
66
 
67
+ * Update image title and alt text for images inserted into posts and custom post types. Not just the media library. [What is the difference?](https://imageattributespro.com/how-wordpress-store-image-attributes/?utm_source=github&utm_medium=readme.md)
68
  * Fine tune all settings. Choose what to update.
69
  * Update image titles / alt text in media library only. Image titles / alt text in existing posts will be left unchanged.
70
  * Update image titles / alt text in media library and existing posts.
71
+ * Update image titles / alt text in existing posts only if no title / alt text is set. Existing image titles / alt text will not be changed.
72
  * Choose to turn off any of the above mentioned features.
73
  * Modify auto generated image attributes using the [iaffpro_image_attributes filter](https://imageattributespro.com/codex/iaffpro_image_attributes/?utm_source=github&utm_medium=readme.md).
74
  * Choose specific post types to bulk update using the [iaffpro_included_post_types filter](https://imageattributespro.com/codex/iaffpro_included_post_types/?utm_source=github&utm_medium=readme.md).
75
  * Disable updating of attributes in media library completely using the [iaffpro_update_media_library filter](https://imageattributespro.com/codex/iaffpro_update_media_library/?utm_source=github&utm_medium=readme.md).
76
+ * Add or remove custom image attributes using the [iaffpro_html_image_markup_post_update filter](https://imageattributespro.com/codex/iaffpro_html_image_markup_post_update/?utm_source=github&utm_medium=readme.md)
77
 
78
  For screenshots, FAQ and further details, please see the [product website](https://imageattributespro.com/?utm_source=github&utm_medium=readme.md).
79
 
admin/iaff_image-attributes-from-filename-admin-ui-render.php CHANGED
@@ -73,6 +73,12 @@ function iaff_general_settings_callback() {
73
  <input type="checkbox" name="iaff_settings[image_title]" id="iaff_settings[image_title]" value="1" <?php if ( isset($settings['image_title']) ) checked( '1', $settings['image_title'] ); ?>>
74
  <span><?php _e('Set Image Title for new uploads', 'auto-image-attributes-from-filename-with-bulk-updater') ?></span>
75
  </label><br>
 
 
 
 
 
 
76
 
77
  <!-- Auto Add Image Caption -->
78
  <label for="iaff_settings[image_caption]">
@@ -85,12 +91,6 @@ function iaff_general_settings_callback() {
85
  <input type="checkbox" name="iaff_settings[image_description]" id="iaff_settings[image_description]" value="1" <?php if ( isset($settings['image_description']) ) checked( '1', $settings['image_description'] ); ?>>
86
  <span><?php _e('Set Image Description for new uploads', 'auto-image-attributes-from-filename-with-bulk-updater') ?></span>
87
  </label><br>
88
-
89
- <!-- Auto Add Alt Text -->
90
- <label for="iaff_settings[image_alttext]">
91
- <input type="checkbox" name="iaff_settings[image_alttext]" id="iaff_settings[image_alttext]" value="1" <?php if ( isset($settings['image_alttext']) ) checked( '1', $settings['image_alttext'] ); ?>>
92
- <span><?php _e('Set Image Alt Text for new uploads', 'auto-image-attributes-from-filename-with-bulk-updater') ?></span>
93
- </label><br>
94
 
95
  </fieldset>
96
 
@@ -275,10 +275,10 @@ function iaff_custom_filter_callback() {
275
 
276
  <fieldset>
277
 
278
- <p>Enter words or characters to filter separated by commas. Filter is case sensitive.</p>
279
  <input type="text" name="iaff_settings[custom_filter]" placeholder="DCIM, img" class="all-options" value="<?php if ( isset( $settings['custom_filter'] ) && ( ! empty( $settings['custom_filter'] ) ) ) echo esc_attr( $settings['custom_filter'] ); ?>"/><br><br>
280
 
281
- <p>Filter with regular expression</p>
282
  <input type="text" name="iaff_settings[regex_filter]" placeholder="/regex/" class="all-options" value="<?php if ( isset( $settings['regex_filter'] ) && ( ! empty( $settings['regex_filter'] ) ) ) echo esc_attr( $settings['regex_filter'] ); ?>"/><br>
283
 
284
  </fieldset>
@@ -354,7 +354,7 @@ function iaff_advanced_image_title_callback() {
354
 
355
  <label>
356
  <input type="radio" name="iaff_settings[title_source]" value="1" <?php if ( isset($settings['title_source']) ) checked( '1', $settings['title_source'] ); ?>/>
357
- <span><?php esc_attr_e( 'Use post title as title text. If image is not attached to a post, image filename will be used instead.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
358
  </label><br>
359
 
360
  </fieldset>
@@ -382,7 +382,7 @@ function iaff_advanced_image_alt_text_callback() {
382
 
383
  <label>
384
  <input type="radio" name="iaff_settings[alt_text_source]" value="1" <?php if ( isset($settings['alt_text_source']) ) checked( '1', $settings['alt_text_source'] ); ?>/>
385
- <span><?php esc_attr_e( 'Use post title as alt text. If image is not attached to a post, image filename will be used instead.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
386
  </label><br>
387
 
388
  </fieldset>
@@ -410,7 +410,7 @@ function iaff_advanced_image_caption_callback() {
410
 
411
  <label>
412
  <input type="radio" name="iaff_settings[caption_source]" value="1" <?php if ( isset($settings['caption_source']) ) checked( '1', $settings['caption_source'] ); ?>/>
413
- <span><?php esc_attr_e( 'Use post title as caption. If image is not attached to a post, image filename will be used instead.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
414
  </label><br>
415
 
416
  </fieldset>
@@ -438,7 +438,7 @@ function iaff_advanced_image_description_callback() {
438
 
439
  <label>
440
  <input type="radio" name="iaff_settings[description_source]" value="1" <?php if ( isset($settings['description_source']) ) checked( '1', $settings['description_source'] ); ?>/>
441
- <span><?php esc_attr_e( 'Use post title as description. If image is not attached to a post, image filename will be used instead.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
442
  </label><br>
443
 
444
  </fieldset>
@@ -488,6 +488,12 @@ function iaff_bu_general_settings_callback() {
488
  <input type="checkbox" name="iaff_settings[bu_image_title]" id="iaff_settings[bu_image_title]" value="1" <?php if ( isset($settings['bu_image_title']) ) checked( '1', $settings['bu_image_title'] ); ?>>
489
  <span><?php _e('Update Image Title', 'auto-image-attributes-from-filename-with-bulk-updater') ?></span>
490
  </label><br>
 
 
 
 
 
 
491
 
492
  <!-- Auto Add Image Caption -->
493
  <label for="iaff_settings[bu_image_caption]">
@@ -500,12 +506,6 @@ function iaff_bu_general_settings_callback() {
500
  <input type="checkbox" name="iaff_settings[bu_image_description]" id="iaff_settings[bu_image_description]" value="1" <?php if ( isset($settings['bu_image_description']) ) checked( '1', $settings['bu_image_description'] ); ?>>
501
  <span><?php _e('Update Image Description', 'auto-image-attributes-from-filename-with-bulk-updater') ?></span>
502
  </label><br>
503
-
504
- <!-- Auto Add Alt Text -->
505
- <label for="iaff_settings[bu_image_alttext]">
506
- <input type="checkbox" name="iaff_settings[bu_image_alttext]" id="iaff_settings[bu_image_alttext]" value="1" <?php if ( isset($settings['bu_image_alttext']) ) checked( '1', $settings['bu_image_alttext'] ); ?>>
507
- <span><?php _e('Update Image Alt Text', 'auto-image-attributes-from-filename-with-bulk-updater') ?></span>
508
- </label><br>
509
 
510
  </fieldset>
511
 
@@ -621,10 +621,10 @@ function iaff_bu_custom_filter_callback() {
621
 
622
  <fieldset>
623
 
624
- <p>Enter words or characters to filter separated by commas. Filter is case sensitive.</p>
625
  <input type="text" name="iaff_settings[bu_custom_filter]" placeholder="DCIM, img" class="all-options" value="<?php if ( isset( $settings['bu_custom_filter'] ) && ( ! empty( $settings['bu_custom_filter'] ) ) ) echo esc_attr( $settings['bu_custom_filter'] ); ?>"/><br><br>
626
 
627
- <p>Filter with regular expression</p>
628
  <input type="text" name="iaff_settings[bu_regex_filter]" placeholder="/regex/" class="all-options" value="<?php if ( isset( $settings['bu_regex_filter'] ) && ( ! empty( $settings['bu_regex_filter'] ) ) ) echo esc_attr( $settings['bu_regex_filter'] ); ?>"/><br>
629
 
630
  </fieldset>
@@ -700,24 +700,24 @@ function iaff_bu_image_title_settings_callback() {
700
 
701
  <label>
702
  <input type="radio" name="iaff_settings[bu_title_source]" value="1" <?php if ( isset($settings['bu_title_source']) ) checked( '1', $settings['bu_title_source'] ); ?>/>
703
- <span><?php esc_attr_e( 'Use post title as title text. If image is not attached to a post, image filename will be used instead.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
704
  </label><br>
705
 
706
- <h4>Bulk Updater Behaviour</h4>
707
 
708
  <label>
709
  <input type="radio" name="iaff_settings[bu_titles_in_post]" value="0" <?php if ( isset($settings['bu_titles_in_post']) ) checked( '0', $settings['bu_titles_in_post'] ); ?>/>
710
- <span><?php esc_attr_e( 'Update image titles in media library only. Image titles in existing posts will be left unchanged.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
711
  </label><br>
712
 
713
  <label>
714
  <input type="radio" name="iaff_settings[bu_titles_in_post]" value="1" <?php if ( isset($settings['bu_titles_in_post']) ) checked( '1', $settings['bu_titles_in_post'] ); ?>/>
715
- <span><?php esc_attr_e( 'Update image titles in media library and existing posts.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
716
  </label><br>
717
 
718
  <label>
719
  <input type="radio" name="iaff_settings[bu_titles_in_post]" value="2" <?php if ( isset($settings['bu_titles_in_post']) ) checked( '2', $settings['bu_titles_in_post'] ); ?>/>
720
- <span><?php esc_attr_e( 'Update image titles in existing posts only if no title is set. All image titles in media library will be updated.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
721
  </label><br>
722
 
723
  </fieldset>
@@ -745,24 +745,24 @@ function iaff_bu_alt_text_settings_callback() {
745
 
746
  <label>
747
  <input type="radio" name="iaff_settings[bu_alt_text_source]" value="1" <?php if ( isset($settings['bu_alt_text_source']) ) checked( '1', $settings['bu_alt_text_source'] ); ?>/>
748
- <span><?php esc_attr_e( 'Use post title as alt text. If image is not attached to a post, image filename will be used instead.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
749
  </label><br>
750
 
751
- <h4>Bulk Updater Behaviour</h4>
752
 
753
  <label>
754
  <input type="radio" name="iaff_settings[bu_alt_text_in_post]" value="0" <?php if ( isset($settings['bu_alt_text_in_post']) ) checked( '0', $settings['bu_alt_text_in_post'] ); ?>/>
755
- <span><?php esc_attr_e( 'Update alt text in media library only. Alt text in existing posts will be left unchanged.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
756
  </label><br>
757
 
758
  <label>
759
  <input type="radio" name="iaff_settings[bu_alt_text_in_post]" value="1" <?php if ( isset($settings['bu_alt_text_in_post']) ) checked( '1', $settings['bu_alt_text_in_post'] ); ?>/>
760
- <span><?php esc_attr_e( 'Update alt text in media library and existing posts.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
761
  </label><br>
762
 
763
  <label>
764
  <input type="radio" name="iaff_settings[bu_alt_text_in_post]" value="2" <?php if ( isset($settings['bu_alt_text_in_post']) ) checked( '2', $settings['bu_alt_text_in_post'] ); ?>/>
765
- <span><?php esc_attr_e( 'Update alt text in existing posts only if no alt text is set. All alt text in media library will be updated.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
766
  </label><br>
767
 
768
  </fieldset>
@@ -790,7 +790,7 @@ function iaff_bu_image_caption_settings_callback() {
790
 
791
  <label>
792
  <input type="radio" name="iaff_settings[bu_caption_source]" value="1" <?php if ( isset($settings['bu_caption_source']) ) checked( '1', $settings['bu_caption_source'] ); ?>/>
793
- <span><?php esc_attr_e( 'Use post title as caption. If image is not attached to a post, image filename will be used instead.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
794
  </label><br>
795
 
796
  </fieldset>
@@ -818,7 +818,7 @@ function iaff_bu_image_description_settings_callback() {
818
 
819
  <label>
820
  <input type="radio" name="iaff_settings[bu_description_source]" value="1" <?php if ( isset($settings['bu_description_source']) ) checked( '1', $settings['bu_description_source'] ); ?>/>
821
- <span><?php esc_attr_e( 'Use post title as description. If image is not attached to a post, image filename will be used instead.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
822
  </label><br>
823
 
824
  </fieldset>
@@ -918,7 +918,7 @@ function iaff_admin_interface_render () {
918
  <p><?php _e('Run this bulk updater to update Image Title, Caption, Description and Alt Text for all images.', 'auto-image-attributes-from-filename-with-bulk-updater') ?></p>
919
 
920
  <div class="error inline">
921
- <p class="hide-if-js"><strong><?php _e('It seems that JavasScript is disabled in your browser. Please enable JavasScript or use a different browser to use the bulk updater.', 'auto-image-attributes-from-filename-with-bulk-updater') ?></strong></p>
922
 
923
  <p><strong><?php _e('IMPORTANT: Please backup your database before running the bulk updater.', 'auto-image-attributes-from-filename-with-bulk-updater') ?></strong></p>
924
 
@@ -949,7 +949,7 @@ function iaff_admin_interface_render () {
949
  <!-- Event log -->
950
  <div id="bulk-updater-results">
951
  <fieldset id="bulk-updater-log-wrapper">
952
- <legend><span class="dashicons dashicons-welcome-write-blog"></span>&nbsp;<strong>Event Log</strong>&nbsp;<div class="iaff-spinner is-active" style="margin-top:0px;"></div></legend>
953
 
954
  <div id="bulk-updater-log">
955
  <p id="iaff_remaining_images_text"><?php _e('Number of Images Remaining: ', 'auto-image-attributes-from-filename-with-bulk-updater') ?><?php echo iaff_count_remaining_images(); ?></p>
@@ -963,18 +963,18 @@ function iaff_admin_interface_render () {
963
  <div class="hidden-dialogs" style="display:none;">
964
 
965
  <!-- Run Bulk Updater Confirmation Dialog -->
966
- <div id="iaff-confirm-run-dialog" title="Run Bulk Updater">
967
- <p>You are about to run the bulk updater. This will update all images and cannot be undone. Please make a database backup before you proceed. Press OK to confirm.</p>
968
  </div>
969
 
970
  <!-- Test Bulk Updater Dialog -->
971
- <div id="iaff-test-run-dialog" title="Test Bulk Updater">
972
- <p>The bulk updater will do a test run by updating one image. Note that this is a live test and actual values will be updated in the database. Please make a database backup before you proceed. Press Ok to confirm.</p>
973
  </div>
974
 
975
  <!-- Bulk Updater Reset Counter Dialog -->
976
- <div id="iaff-reset-counter-dialog" title="Reset Counter">
977
- <p>You are about to reset the bulk updater counter. The bulk updater will start from scratch in the next run. Press Ok to confirm.</p>
978
  </div>
979
 
980
  </div>
@@ -991,11 +991,11 @@ function iaff_admin_interface_render () {
991
  <!-- Free Support -->
992
  <div class="iaff-support-block">
993
  <div class="iaff-support-block-inner">
994
- <h2 class="patua showh2">Free Support</h2>
995
  <ul>
996
- <li><span class="dashicons dashicons-yes"></span><a target="_blank" href="https://imageattributespro.com/docs/?utm_source=iaff-basic&utm_medium=support-tab">Documentation</a></li>
997
- <li><span class="dashicons dashicons-yes"></span><a target="_blank" href="https://wordpress.org/plugins/auto-image-attributes-from-filename-with-bulk-updater/#faq-header">Read the FAQ</a></li>
998
- <li><span class="dashicons dashicons-yes"></span><a target="_blank" href="https://wordpress.org/support/plugin/auto-image-attributes-from-filename-with-bulk-updater">Free Support Forum</a></li>
999
  </ul>
1000
  </div>
1001
  </div><!-- .iaff-support-block -->
@@ -1004,11 +1004,11 @@ function iaff_admin_interface_render () {
1004
  <?php if ( iaff_is_pro() ) { ?>
1005
  <div class="iaff-support-block">
1006
  <div class="iaff-support-block-inner">
1007
- <h2 class="patua showh2">Premium Support</h2>
1008
  <ul>
1009
- <li><span class="dashicons dashicons-yes"></span><a target="_blank" href="https://imageattributespro.com/docs/?utm_source=iap&utm_medium=support-tab">Documentation</a></li>
1010
- <li><span class="dashicons dashicons-yes"></span><a target="_blank" href="https://imageattributespro.com/contact/?utm_source=iap&utm_medium=support-tab">Priority Email Support</a></li>
1011
- <li><span class="dashicons dashicons-yes"></span><a target="_blank" href="https://imageattributespro.com/contact/?utm_source=iap&utm_medium=support-tab">Contact Support</a></li>
1012
 
1013
  </ul>
1014
  </div>
@@ -1020,11 +1020,11 @@ function iaff_admin_interface_render () {
1020
  <div class="iaff-support-block">
1021
  <div class="iaff-support-block-inner">
1022
  <a target="_blank" href="https://imageattributespro.com/?utm_source=iaff-basic&utm_medium=support-tab">
1023
- <h2 class="patua showh2">Upgrade to Pro</h2>
1024
  <ul>
1025
- <li><span class="dashicons dashicons-yes"></span>Priority support</li>
1026
- <li><span class="dashicons dashicons-yes"></span>Advanced features</li>
1027
- <li><span class="dashicons dashicons-yes"></span>Support ongoing development</li>
1028
  </ul>
1029
  </a>
1030
  </div>
@@ -1041,11 +1041,11 @@ function iaff_admin_interface_render () {
1041
  <div class="iaff-upgrade-header">
1042
  <a href="https://imageattributespro.com/?utm_source=iaff-basic&utm_medium=coupon-sidebar" target="_blank">
1043
  <div class="iaff-icon"></div>
1044
- <h1 class="patua">Upgrade to Pro</h1>
1045
  <ul>
1046
- <li><span class="dashicons dashicons-yes"></span>Advanced formatting options</li>
1047
- <li><span class="dashicons dashicons-yes"></span>Use post titles as attributes</li>
1048
- <li><span class="dashicons dashicons-yes"></span>Fine tune bulk updater settings</li>
1049
  </ul>
1050
  </a>
1051
  </div><!-- .iaff-upgrade-header -->
@@ -1054,33 +1054,33 @@ function iaff_admin_interface_render () {
1054
 
1055
  <form method="post" action="https://imageattributespro.com/coupons/" target="_blank">
1056
 
1057
- <h1 class="patua">10% For Lifetime</h1>
1058
 
1059
  <?php $user = wp_get_current_user(); ?>
1060
 
1061
- <p>Submit your name and email to receive 10% off when you upgrade to the Lifetime license.</p>
1062
 
1063
  <fieldset>
1064
 
1065
- <input type="text" name="first_name" value="<?php echo esc_attr( trim( $user->first_name ) ); ?>" placeholder="First Name"/>
1066
 
1067
- <input type="email" name="email" value="<?php echo esc_attr( $user->user_email ); ?>" placeholder="Your Email"/>
1068
 
1069
  <input type="hidden" name="source" value="IAFF" />
1070
  <input type="hidden" name="submitted" id="submitted" value="true" />
1071
 
1072
- <input type="submit" class="button" value="Send me the coupon"/>
1073
 
1074
  </fieldset>
1075
 
1076
- <p class="opacity-75">Your email will be kept private and will not be shared or spammed.</p>
1077
  </form>
1078
 
1079
  <hr>
1080
 
1081
  <div class="iaff-upgrade-review">
1082
  <div class="iaff-upgrade-review-stars">
1083
- <h3>"Fast &amp; Simple Time Saver"</h3>
1084
  <?php echo str_repeat('<span class="dashicons dashicons-star-filled"></span>', 5); ?>
1085
  </div>
1086
  <div class="iaff-upgrade-review-detail">
@@ -1088,7 +1088,7 @@ function iaff_admin_interface_render () {
1088
  <img class="iaff-upgrade-review-avatar" src="<?php echo IAFF_IMAGE_ATTRIBUTES_FROM_FILENAME_URL . 'admin/img/checkerboardflyer.jpeg'; ?>" />
1089
  </div>
1090
  <div class="iaff-upgrade-review-detail-right">
1091
- <p>"This plugin will save me a LOT of time! Great plugin!" <br><a target="_blank" href="https://wordpress.org/support/topic/fast-simple-time-saver/">@checkerboardflyer</a></p>
1092
  </div>
1093
  </div>
1094
  </div>
73
  <input type="checkbox" name="iaff_settings[image_title]" id="iaff_settings[image_title]" value="1" <?php if ( isset($settings['image_title']) ) checked( '1', $settings['image_title'] ); ?>>
74
  <span><?php _e('Set Image Title for new uploads', 'auto-image-attributes-from-filename-with-bulk-updater') ?></span>
75
  </label><br>
76
+
77
+ <!-- Auto Add Alt Text -->
78
+ <label for="iaff_settings[image_alttext]">
79
+ <input type="checkbox" name="iaff_settings[image_alttext]" id="iaff_settings[image_alttext]" value="1" <?php if ( isset($settings['image_alttext']) ) checked( '1', $settings['image_alttext'] ); ?>>
80
+ <span><?php _e('Set Image Alt Text for new uploads', 'auto-image-attributes-from-filename-with-bulk-updater') ?></span>
81
+ </label><br>
82
 
83
  <!-- Auto Add Image Caption -->
84
  <label for="iaff_settings[image_caption]">
91
  <input type="checkbox" name="iaff_settings[image_description]" id="iaff_settings[image_description]" value="1" <?php if ( isset($settings['image_description']) ) checked( '1', $settings['image_description'] ); ?>>
92
  <span><?php _e('Set Image Description for new uploads', 'auto-image-attributes-from-filename-with-bulk-updater') ?></span>
93
  </label><br>
 
 
 
 
 
 
94
 
95
  </fieldset>
96
 
275
 
276
  <fieldset>
277
 
278
+ <p><?php _e('Enter words or characters to filter separated by commas. Filter is case sensitive.', 'auto-image-attributes-from-filename-with-bulk-updater') ?></p>
279
  <input type="text" name="iaff_settings[custom_filter]" placeholder="DCIM, img" class="all-options" value="<?php if ( isset( $settings['custom_filter'] ) && ( ! empty( $settings['custom_filter'] ) ) ) echo esc_attr( $settings['custom_filter'] ); ?>"/><br><br>
280
 
281
+ <p><?php _e('Filter with regular expression', 'auto-image-attributes-from-filename-with-bulk-updater') ?></p>
282
  <input type="text" name="iaff_settings[regex_filter]" placeholder="/regex/" class="all-options" value="<?php if ( isset( $settings['regex_filter'] ) && ( ! empty( $settings['regex_filter'] ) ) ) echo esc_attr( $settings['regex_filter'] ); ?>"/><br>
283
 
284
  </fieldset>
354
 
355
  <label>
356
  <input type="radio" name="iaff_settings[title_source]" value="1" <?php if ( isset($settings['title_source']) ) checked( '1', $settings['title_source'] ); ?>/>
357
+ <span><?php esc_attr_e( 'Use post title as title text. If image is not uploaded to a post, image filename will be used instead.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
358
  </label><br>
359
 
360
  </fieldset>
382
 
383
  <label>
384
  <input type="radio" name="iaff_settings[alt_text_source]" value="1" <?php if ( isset($settings['alt_text_source']) ) checked( '1', $settings['alt_text_source'] ); ?>/>
385
+ <span><?php esc_attr_e( 'Use post title as alt text. If image is not uploaded to a post, image filename will be used instead.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
386
  </label><br>
387
 
388
  </fieldset>
410
 
411
  <label>
412
  <input type="radio" name="iaff_settings[caption_source]" value="1" <?php if ( isset($settings['caption_source']) ) checked( '1', $settings['caption_source'] ); ?>/>
413
+ <span><?php esc_attr_e( 'Use post title as caption. If image is not uploaded to a post, image filename will be used instead.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
414
  </label><br>
415
 
416
  </fieldset>
438
 
439
  <label>
440
  <input type="radio" name="iaff_settings[description_source]" value="1" <?php if ( isset($settings['description_source']) ) checked( '1', $settings['description_source'] ); ?>/>
441
+ <span><?php esc_attr_e( 'Use post title as description. If image is not uploaded to a post, image filename will be used instead.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
442
  </label><br>
443
 
444
  </fieldset>
488
  <input type="checkbox" name="iaff_settings[bu_image_title]" id="iaff_settings[bu_image_title]" value="1" <?php if ( isset($settings['bu_image_title']) ) checked( '1', $settings['bu_image_title'] ); ?>>
489
  <span><?php _e('Update Image Title', 'auto-image-attributes-from-filename-with-bulk-updater') ?></span>
490
  </label><br>
491
+
492
+ <!-- Auto Add Alt Text -->
493
+ <label for="iaff_settings[bu_image_alttext]">
494
+ <input type="checkbox" name="iaff_settings[bu_image_alttext]" id="iaff_settings[bu_image_alttext]" value="1" <?php if ( isset($settings['bu_image_alttext']) ) checked( '1', $settings['bu_image_alttext'] ); ?>>
495
+ <span><?php _e('Update Image Alt Text', 'auto-image-attributes-from-filename-with-bulk-updater') ?></span>
496
+ </label><br>
497
 
498
  <!-- Auto Add Image Caption -->
499
  <label for="iaff_settings[bu_image_caption]">
506
  <input type="checkbox" name="iaff_settings[bu_image_description]" id="iaff_settings[bu_image_description]" value="1" <?php if ( isset($settings['bu_image_description']) ) checked( '1', $settings['bu_image_description'] ); ?>>
507
  <span><?php _e('Update Image Description', 'auto-image-attributes-from-filename-with-bulk-updater') ?></span>
508
  </label><br>
 
 
 
 
 
 
509
 
510
  </fieldset>
511
 
621
 
622
  <fieldset>
623
 
624
+ <p><?php _e('Enter words or characters to filter separated by commas. Filter is case sensitive.', 'auto-image-attributes-from-filename-with-bulk-updater') ?></p>
625
  <input type="text" name="iaff_settings[bu_custom_filter]" placeholder="DCIM, img" class="all-options" value="<?php if ( isset( $settings['bu_custom_filter'] ) && ( ! empty( $settings['bu_custom_filter'] ) ) ) echo esc_attr( $settings['bu_custom_filter'] ); ?>"/><br><br>
626
 
627
+ <p><?php _e('Filter with regular expression', 'auto-image-attributes-from-filename-with-bulk-updater') ?></p>
628
  <input type="text" name="iaff_settings[bu_regex_filter]" placeholder="/regex/" class="all-options" value="<?php if ( isset( $settings['bu_regex_filter'] ) && ( ! empty( $settings['bu_regex_filter'] ) ) ) echo esc_attr( $settings['bu_regex_filter'] ); ?>"/><br>
629
 
630
  </fieldset>
700
 
701
  <label>
702
  <input type="radio" name="iaff_settings[bu_title_source]" value="1" <?php if ( isset($settings['bu_title_source']) ) checked( '1', $settings['bu_title_source'] ); ?>/>
703
+ <span><?php esc_attr_e( 'Use post title as title text. If image is not uploaded to a post, image filename will be used instead.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
704
  </label><br>
705
 
706
+ <h4><?php _e('Bulk Updater Behaviour', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></h4>
707
 
708
  <label>
709
  <input type="radio" name="iaff_settings[bu_titles_in_post]" value="0" <?php if ( isset($settings['bu_titles_in_post']) ) checked( '0', $settings['bu_titles_in_post'] ); ?>/>
710
+ <span><?php esc_attr_e( 'Update image titles in media library only. Image titles in posts will be left unchanged.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
711
  </label><br>
712
 
713
  <label>
714
  <input type="radio" name="iaff_settings[bu_titles_in_post]" value="1" <?php if ( isset($settings['bu_titles_in_post']) ) checked( '1', $settings['bu_titles_in_post'] ); ?>/>
715
+ <span><?php esc_attr_e( 'Update all image titles in media library and posts.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
716
  </label><br>
717
 
718
  <label>
719
  <input type="radio" name="iaff_settings[bu_titles_in_post]" value="2" <?php if ( isset($settings['bu_titles_in_post']) ) checked( '2', $settings['bu_titles_in_post'] ); ?>/>
720
+ <span><?php esc_attr_e( 'Update image titles in media library and posts only if no title is set. Existing image titles will not be changed.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
721
  </label><br>
722
 
723
  </fieldset>
745
 
746
  <label>
747
  <input type="radio" name="iaff_settings[bu_alt_text_source]" value="1" <?php if ( isset($settings['bu_alt_text_source']) ) checked( '1', $settings['bu_alt_text_source'] ); ?>/>
748
+ <span><?php esc_attr_e( 'Use post title as alt text. If image is not uploaded to a post, image filename will be used instead.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
749
  </label><br>
750
 
751
+ <h4><?php _e('Bulk Updater Behaviour', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></h4>
752
 
753
  <label>
754
  <input type="radio" name="iaff_settings[bu_alt_text_in_post]" value="0" <?php if ( isset($settings['bu_alt_text_in_post']) ) checked( '0', $settings['bu_alt_text_in_post'] ); ?>/>
755
+ <span><?php esc_attr_e( 'Update alt text in media library only. Alt text in posts will be left unchanged.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
756
  </label><br>
757
 
758
  <label>
759
  <input type="radio" name="iaff_settings[bu_alt_text_in_post]" value="1" <?php if ( isset($settings['bu_alt_text_in_post']) ) checked( '1', $settings['bu_alt_text_in_post'] ); ?>/>
760
+ <span><?php esc_attr_e( 'Update all alt text in media library and posts.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
761
  </label><br>
762
 
763
  <label>
764
  <input type="radio" name="iaff_settings[bu_alt_text_in_post]" value="2" <?php if ( isset($settings['bu_alt_text_in_post']) ) checked( '2', $settings['bu_alt_text_in_post'] ); ?>/>
765
+ <span><?php esc_attr_e( 'Update alt text in media library and posts only if no alt text is set. Existing alt text will not be changed.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
766
  </label><br>
767
 
768
  </fieldset>
790
 
791
  <label>
792
  <input type="radio" name="iaff_settings[bu_caption_source]" value="1" <?php if ( isset($settings['bu_caption_source']) ) checked( '1', $settings['bu_caption_source'] ); ?>/>
793
+ <span><?php esc_attr_e( 'Use post title as caption. If image is not uploaded to a post, image filename will be used instead.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
794
  </label><br>
795
 
796
  </fieldset>
818
 
819
  <label>
820
  <input type="radio" name="iaff_settings[bu_description_source]" value="1" <?php if ( isset($settings['bu_description_source']) ) checked( '1', $settings['bu_description_source'] ); ?>/>
821
+ <span><?php esc_attr_e( 'Use post title as description. If image is not uploaded to a post, image filename will be used instead.', 'auto-image-attributes-from-filename-with-bulk-updater' ); ?></span>
822
  </label><br>
823
 
824
  </fieldset>
918
  <p><?php _e('Run this bulk updater to update Image Title, Caption, Description and Alt Text for all images.', 'auto-image-attributes-from-filename-with-bulk-updater') ?></p>
919
 
920
  <div class="error inline">
921
+ <p class="hide-if-js"><strong><?php _e('It seems that JavaScript is disabled in your browser. Please enable JavasScript or use a different browser to use the bulk updater.', 'auto-image-attributes-from-filename-with-bulk-updater') ?></strong></p>
922
 
923
  <p><strong><?php _e('IMPORTANT: Please backup your database before running the bulk updater.', 'auto-image-attributes-from-filename-with-bulk-updater') ?></strong></p>
924
 
949
  <!-- Event log -->
950
  <div id="bulk-updater-results">
951
  <fieldset id="bulk-updater-log-wrapper">
952
+ <legend><span class="dashicons dashicons-welcome-write-blog"></span>&nbsp;<strong><?php _e('Event Log', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></strong>&nbsp;<div class="iaff-spinner is-active" style="margin-top:0px;"></div></legend>
953
 
954
  <div id="bulk-updater-log">
955
  <p id="iaff_remaining_images_text"><?php _e('Number of Images Remaining: ', 'auto-image-attributes-from-filename-with-bulk-updater') ?><?php echo iaff_count_remaining_images(); ?></p>
963
  <div class="hidden-dialogs" style="display:none;">
964
 
965
  <!-- Run Bulk Updater Confirmation Dialog -->
966
+ <div id="iaff-confirm-run-dialog" title="<?php esc_attr_e('Run Bulk Updater', 'auto-image-attributes-from-filename-with-bulk-updater'); ?>">
967
+ <p><?php _e('You are about to run the bulk updater. This will update all images and cannot be undone. Please make a database backup before you proceed. Press OK to confirm.', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></p>
968
  </div>
969
 
970
  <!-- Test Bulk Updater Dialog -->
971
+ <div id="iaff-test-run-dialog" title="<?php esc_attr_e('Test Bulk Updater', 'auto-image-attributes-from-filename-with-bulk-updater'); ?>">
972
+ <p><?php _e('The bulk updater will do a test run by updating one image. Note that this is a live test and actual values will be updated in the database. Please make a database backup before you proceed. Press Ok to confirm.', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></p>
973
  </div>
974
 
975
  <!-- Bulk Updater Reset Counter Dialog -->
976
+ <div id="iaff-reset-counter-dialog" title="<?php esc_attr_e('Reset Counter', 'auto-image-attributes-from-filename-with-bulk-updater'); ?>">
977
+ <p><?php _e('You are about to reset the bulk updater counter. The bulk updater will start from scratch in the next run. Press Ok to confirm.', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></p>
978
  </div>
979
 
980
  </div>
991
  <!-- Free Support -->
992
  <div class="iaff-support-block">
993
  <div class="iaff-support-block-inner">
994
+ <h2 class="patua showh2"><?php _e('Free Support', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></h2>
995
  <ul>
996
+ <li><span class="dashicons dashicons-yes"></span><a target="_blank" href="https://imageattributespro.com/docs/?utm_source=iaff-basic&utm_medium=support-tab"><?php _e('Documentation', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></a></li>
997
+ <li><span class="dashicons dashicons-yes"></span><a target="_blank" href="https://wordpress.org/plugins/auto-image-attributes-from-filename-with-bulk-updater/#faq-header"><?php _e('Read the FAQ', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></a></li>
998
+ <li><span class="dashicons dashicons-yes"></span><a target="_blank" href="https://wordpress.org/support/plugin/auto-image-attributes-from-filename-with-bulk-updater"><?php _e('Free Support Forum', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></a></li>
999
  </ul>
1000
  </div>
1001
  </div><!-- .iaff-support-block -->
1004
  <?php if ( iaff_is_pro() ) { ?>
1005
  <div class="iaff-support-block">
1006
  <div class="iaff-support-block-inner">
1007
+ <h2 class="patua showh2"><?php _e('Premium Support', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></h2>
1008
  <ul>
1009
+ <li><span class="dashicons dashicons-yes"></span><a target="_blank" href="https://imageattributespro.com/docs/?utm_source=iap&utm_medium=support-tab"><?php _e('Documentation', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></a></li>
1010
+ <li><span class="dashicons dashicons-yes"></span><a target="_blank" href="https://imageattributespro.com/contact/?utm_source=iap&utm_medium=support-tab"><?php _e('Priority Email Support', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></a></li>
1011
+ <li><span class="dashicons dashicons-yes"></span><a target="_blank" href="https://imageattributespro.com/contact/?utm_source=iap&utm_medium=support-tab"><?php _e('Contact Support', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></a></li>
1012
 
1013
  </ul>
1014
  </div>
1020
  <div class="iaff-support-block">
1021
  <div class="iaff-support-block-inner">
1022
  <a target="_blank" href="https://imageattributespro.com/?utm_source=iaff-basic&utm_medium=support-tab">
1023
+ <h2 class="patua showh2"><?php _e('Upgrade to Pro', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></h2>
1024
  <ul>
1025
+ <li><span class="dashicons dashicons-yes"></span><?php _e('Priority support', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></li>
1026
+ <li><span class="dashicons dashicons-yes"></span><?php _e('Advanced features', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></li>
1027
+ <li><span class="dashicons dashicons-yes"></span><?php _e('Support ongoing development', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></li>
1028
  </ul>
1029
  </a>
1030
  </div>
1041
  <div class="iaff-upgrade-header">
1042
  <a href="https://imageattributespro.com/?utm_source=iaff-basic&utm_medium=coupon-sidebar" target="_blank">
1043
  <div class="iaff-icon"></div>
1044
+ <h1 class="patua"><?php _e('Upgrade to Pro', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></h1>
1045
  <ul>
1046
+ <li><span class="dashicons dashicons-yes"></span><?php _e('Advanced formatting options', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></li>
1047
+ <li><span class="dashicons dashicons-yes"></span><?php _e('Use post titles as attributes', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></li>
1048
+ <li><span class="dashicons dashicons-yes"></span><?php _e('Fine tune bulk updater settings', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></li>
1049
  </ul>
1050
  </a>
1051
  </div><!-- .iaff-upgrade-header -->
1054
 
1055
  <form method="post" action="https://imageattributespro.com/coupons/" target="_blank">
1056
 
1057
+ <h1 class="patua"><?php _e('10&percnt; For Lifetime', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></h1>
1058
 
1059
  <?php $user = wp_get_current_user(); ?>
1060
 
1061
+ <p><?php _e('Submit your name and email to receive 10&percnt; off when you upgrade to the Lifetime license.', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></p>
1062
 
1063
  <fieldset>
1064
 
1065
+ <input type="text" name="first_name" value="<?php echo esc_attr( trim( $user->first_name ) ); ?>" placeholder="<?php _e('First Name', 'auto-image-attributes-from-filename-with-bulk-updater'); ?>"/>
1066
 
1067
+ <input type="email" name="email" value="<?php echo esc_attr( $user->user_email ); ?>" placeholder="<?php _e('Your Email', 'auto-image-attributes-from-filename-with-bulk-updater'); ?>"/>
1068
 
1069
  <input type="hidden" name="source" value="IAFF" />
1070
  <input type="hidden" name="submitted" id="submitted" value="true" />
1071
 
1072
+ <input type="submit" class="button" value="<?php _e('Send me the coupon', 'auto-image-attributes-from-filename-with-bulk-updater'); ?>"/>
1073
 
1074
  </fieldset>
1075
 
1076
+ <p class="opacity-75"><?php _e('Your email will be kept private and will not be shared or spammed.', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></p>
1077
  </form>
1078
 
1079
  <hr>
1080
 
1081
  <div class="iaff-upgrade-review">
1082
  <div class="iaff-upgrade-review-stars">
1083
+ <h3>"<?php _e('Fast &amp; Simple Time Saver', 'auto-image-attributes-from-filename-with-bulk-updater'); ?>"</h3>
1084
  <?php echo str_repeat('<span class="dashicons dashicons-star-filled"></span>', 5); ?>
1085
  </div>
1086
  <div class="iaff-upgrade-review-detail">
1088
  <img class="iaff-upgrade-review-avatar" src="<?php echo IAFF_IMAGE_ATTRIBUTES_FROM_FILENAME_URL . 'admin/img/checkerboardflyer.jpeg'; ?>" />
1089
  </div>
1090
  <div class="iaff-upgrade-review-detail-right">
1091
+ <p>"<?php _e('This plugin will save me a LOT of time! Great plugin!', 'auto-image-attributes-from-filename-with-bulk-updater'); ?>" <br><a target="_blank" href="https://wordpress.org/support/topic/fast-simple-time-saver/">@checkerboardflyer</a></p>
1092
  </div>
1093
  </div>
1094
  </div>
iaff_image-attributes-from-filename.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Automatically Add Image Title, Image Caption, Description And Alt Text From Image Filename. Since this plugin includes a bulk updater this can update both existing images in the Media Library and new images.
6
  * Author: Arun Basil Lal
7
  * Author URI: https://imageattributespro.com/?utm_source=plugin-header&utm_medium=author-uri
8
- * Version: 1.6
9
  * Text Domain: auto-image-attributes-from-filename-with-bulk-updater
10
  * Domain Path: /languages
11
  * License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
@@ -67,7 +67,7 @@ if ( ! defined( 'IAFF_IMAGE_ATTRIBUTES_FROM_FILENAME_URL' ) ) {
67
  * @since 1.3
68
  */
69
  if ( ! defined( 'IAFF_VERSION_NUM' ) ) {
70
- define( 'IAFF_VERSION_NUM', '1.6' );
71
  }
72
 
73
  /**
5
  * Description: Automatically Add Image Title, Image Caption, Description And Alt Text From Image Filename. Since this plugin includes a bulk updater this can update both existing images in the Media Library and new images.
6
  * Author: Arun Basil Lal
7
  * Author URI: https://imageattributespro.com/?utm_source=plugin-header&utm_medium=author-uri
8
+ * Version: 2.0
9
  * Text Domain: auto-image-attributes-from-filename-with-bulk-updater
10
  * Domain Path: /languages
11
  * License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
67
  * @since 1.3
68
  */
69
  if ( ! defined( 'IAFF_VERSION_NUM' ) ) {
70
+ define( 'IAFF_VERSION_NUM', '2.0' );
71
  }
72
 
73
  /**
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: arunbasillal
3
  Donate link: https://imageattributespro.com/?utm_source=wordpress.org&utm_medium=donate-link
4
  Tags: image title, image caption, image description, alt text, bulk edit images, bulk rename images, auto image attributes, auto image alt text, remove underscores, image seo
5
  Requires at least: 3.5.0
6
- Tested up to: 5.0.2
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -88,15 +88,16 @@ What the pro add-on you get these additional features:
88
 
89
  With the pro bulk updater you can:
90
 
91
- * Update image title and alt text **for images inserted into posts and custom post types**. Not just the media library.
92
  * Fine tune all settings. Choose what to update.
93
  * Update image titles / alt text in media library only. Image titles / alt text in existing posts will be left unchanged.
94
  * Update image titles / alt text in media library and existing posts.
95
- * Update image titles / alt text in existing posts only if no title / alt text is set. All image titles/ alt text in media library will be updated.
96
  * Choose to turn off any of the above mentioned features.
97
  * Modify auto generated image attributes using the [iaffpro_image_attributes filter](https://imageattributespro.com/codex/iaffpro_image_attributes/?utm_source=wordpress.org&utm_medium=readme).
98
  * Choose specific post types to bulk update using the [iaffpro_included_post_types filter](https://imageattributespro.com/codex/iaffpro_included_post_types/?utm_source=wordpress.org&utm_medium=readme).
99
  * Disable updating of attributes in media library completely using the [iaffpro_update_media_library filter](https://imageattributespro.com/codex/iaffpro_update_media_library/?utm_source=wordpress.org&utm_medium=readme).
 
100
 
101
  For screenshots, FAQ and full list of features, please see the [product website](https://imageattributespro.com/?utm_source=wordpress.org&utm_medium=readme).
102
 
@@ -135,6 +136,13 @@ I am glad to hear that! You can either [upgrade to pro](https://imageattributesp
135
 
136
  == Changelog ==
137
 
 
 
 
 
 
 
 
138
  = 1.6 =
139
  * Date: 06.January.2019
140
  * Tested with WordPress 5.0.2.
@@ -189,6 +197,12 @@ I am glad to hear that! You can either [upgrade to pro](https://imageattributesp
189
 
190
  == Upgrade Notice ==
191
 
 
 
 
 
 
 
192
  = 1.6 =
193
  * Tested with WordPress 5.0.2.
194
  * Enhancement: Improved bulk updater warning and inline documentation.
3
  Donate link: https://imageattributespro.com/?utm_source=wordpress.org&utm_medium=donate-link
4
  Tags: image title, image caption, image description, alt text, bulk edit images, bulk rename images, auto image attributes, auto image alt text, remove underscores, image seo
5
  Requires at least: 3.5.0
6
+ Tested up to: 5.7.2
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
88
 
89
  With the pro bulk updater you can:
90
 
91
+ * Update image title and alt text **for images inserted into posts and custom post types**. Not just the media library. [What is the difference?](https://imageattributespro.com/how-wordpress-store-image-attributes/?utm_source=wordpress.org&utm_medium=readme)
92
  * Fine tune all settings. Choose what to update.
93
  * Update image titles / alt text in media library only. Image titles / alt text in existing posts will be left unchanged.
94
  * Update image titles / alt text in media library and existing posts.
95
+ * Update image titles / alt text in existing posts only if no title / alt text is set. Existing image titles / alt text will not be changed.
96
  * Choose to turn off any of the above mentioned features.
97
  * Modify auto generated image attributes using the [iaffpro_image_attributes filter](https://imageattributespro.com/codex/iaffpro_image_attributes/?utm_source=wordpress.org&utm_medium=readme).
98
  * Choose specific post types to bulk update using the [iaffpro_included_post_types filter](https://imageattributespro.com/codex/iaffpro_included_post_types/?utm_source=wordpress.org&utm_medium=readme).
99
  * Disable updating of attributes in media library completely using the [iaffpro_update_media_library filter](https://imageattributespro.com/codex/iaffpro_update_media_library/?utm_source=wordpress.org&utm_medium=readme).
100
+ * Add or remove custom image attributes using the [iaffpro_html_image_markup_post_update filter](https://imageattributespro.com/codex/iaffpro_html_image_markup_post_update/?utm_source=wordpress.org&utm_medium=readme)
101
 
102
  For screenshots, FAQ and full list of features, please see the [product website](https://imageattributespro.com/?utm_source=wordpress.org&utm_medium=readme).
103
 
136
 
137
  == Changelog ==
138
 
139
+ = 2.0 =
140
+ * Date: 18.June.2021
141
+ * Tested with WordPress 5.7.2.
142
+ * UI Enhancement: Changed order of `General Settings` to match the order in `Media Library`.
143
+ * UI Enhancement: Changed the word `attached` to `uploaded` in `If image is not attached to a post, image filename will be used instead` for better clarity.
144
+ * I18n: More strings are now translation ready, thanks to [@alexclassroom](https://profiles.wordpress.org/alexclassroom/).
145
+
146
  = 1.6 =
147
  * Date: 06.January.2019
148
  * Tested with WordPress 5.0.2.
197
 
198
  == Upgrade Notice ==
199
 
200
+ = 2.0 =
201
+ * Tested with WordPress 5.7.2.
202
+ * UI Enhancement: Changed order of `General Settings` to match the order in `Media Library`.
203
+ * UI Enhancement: Changed the word `attached` to `uploaded` in `If image is not attached to a post, image filename will be used instead` for better clarity.
204
+ * I18n: More strings are now translation ready, thanks to [@alexclassroom](https://profiles.wordpress.org/alexclassroom/).
205
+
206
  = 1.6 =
207
  * Tested with WordPress 5.0.2.
208
  * Enhancement: Improved bulk updater warning and inline documentation.