Version Description
- Date: 13.December.2022.
- Tested with WordPress 6.1.1.
- Enhancement: Compatibility with Image Attributes Pro version 4.0. Check what's new in 4.0.
Download this release
Release Info
Developer | arunbasillal |
Plugin | Auto Image Attributes From Filename With Bulk Updater (Add Alt Text, Image Title For Image SEO) |
Version | 4.0 |
Comparing to | |
See all releases |
Code changes from version 3.3 to 4.0
- admin/iaff_image-attributes-from-filename-admin-ui-render.php +12 -0
- admin/iaff_image-attributes-from-filename-do.php +87 -27
- iaff_image-attributes-from-filename.php +4 -6
- includes/index.php +0 -2
- languages/auto-image-attributes-from-filename-with-bulk-updater.pot +41 -41
- public/index.php +0 -2
- readme.txt +11 -1
admin/iaff_image-attributes-from-filename-admin-ui-render.php
CHANGED
@@ -1072,9 +1072,21 @@ function iaff_admin_interface_render () {
|
|
1072 |
<legend><span class="dashicons dashicons-welcome-write-blog"></span> <strong><?php _e('Event Log', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></strong> <div class="iaff-spinner is-active" style="margin-top:0px;"></div></legend>
|
1073 |
|
1074 |
<div id="bulk-updater-log">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1075 |
<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>
|
1076 |
|
1077 |
<p><?php _e('Number of Images Updated: ', 'auto-image-attributes-from-filename-with-bulk-updater') ?><?php echo iaff_number_of_images_updated(); ?></p>
|
|
|
1078 |
</div>
|
1079 |
</fieldset>
|
1080 |
</div>
|
1072 |
<legend><span class="dashicons dashicons-welcome-write-blog"></span> <strong><?php _e('Event Log', 'auto-image-attributes-from-filename-with-bulk-updater'); ?></strong> <div class="iaff-spinner is-active" style="margin-top:0px;"></div></legend>
|
1073 |
|
1074 |
<div id="bulk-updater-log">
|
1075 |
+
|
1076 |
+
<?php
|
1077 |
+
if ( function_exists( 'iaffpro_event_log_read' ) ) {
|
1078 |
+
$event_log = iaffpro_event_log_read();
|
1079 |
+
|
1080 |
+
foreach ( $event_log as $log ) {
|
1081 |
+
echo '<p>' . $log . '</p>';
|
1082 |
+
}
|
1083 |
+
}
|
1084 |
+
?>
|
1085 |
+
|
1086 |
<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>
|
1087 |
|
1088 |
<p><?php _e('Number of Images Updated: ', 'auto-image-attributes-from-filename-with-bulk-updater') ?><?php echo iaff_number_of_images_updated(); ?></p>
|
1089 |
+
|
1090 |
</div>
|
1091 |
</fieldset>
|
1092 |
</div>
|
admin/iaff_image-attributes-from-filename-do.php
CHANGED
@@ -138,31 +138,33 @@ function iaff_total_number_of_images() {
|
|
138 |
}
|
139 |
|
140 |
/**
|
141 |
-
* Count remaining number of images to process
|
142 |
*
|
143 |
-
* @since
|
144 |
-
* @
|
145 |
-
*
|
|
|
146 |
*/
|
147 |
-
function iaff_count_remaining_images(
|
148 |
|
149 |
$total_no_of_images = iaff_total_number_of_images();
|
150 |
|
151 |
$no_of_images_processed = get_option('iaff_bulk_updater_counter');
|
152 |
-
$no_of_images_processed = intval
|
153 |
-
|
154 |
-
$reamining_images = max($total_no_of_images - $no_of_images_processed, 0);
|
155 |
|
156 |
-
|
157 |
-
// :TODO: Calling iaff_count_remaining_images() from Ajax for ignores the default value of $force_return for some reason. When I set if ( wp_doing_ajax() && $force_return === false ) this does not work even though they are logically equivalent. If you know why it is so, please email me - arunbasillal@gmail.com
|
158 |
-
if ( wp_doing_ajax() && $force_return !== true ) {
|
159 |
-
echo $reamining_images;
|
160 |
-
wp_die();
|
161 |
-
} else {
|
162 |
-
return $reamining_images;
|
163 |
-
}
|
164 |
}
|
165 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
|
167 |
|
168 |
/**
|
@@ -179,7 +181,7 @@ function iaff_reset_bulk_updater_counter() {
|
|
179 |
|
180 |
$response = array(
|
181 |
'message' => __('Counter reset. The bulk updater will start from scratch in the next run.', 'auto-image-attributes-from-filename-with-bulk-updater'),
|
182 |
-
'remaining_images' => iaff_count_remaining_images(
|
183 |
);
|
184 |
wp_send_json($response);
|
185 |
}
|
@@ -201,6 +203,8 @@ function iaff_before_bulk_updater() {
|
|
201 |
* @link https://imageattributespro.com/codex/iaff_before_bulk_updater/
|
202 |
*/
|
203 |
do_action('iaff_before_bulk_updater');
|
|
|
|
|
204 |
}
|
205 |
add_action( 'wp_ajax_iaff_before_bulk_updater', 'iaff_before_bulk_updater' );
|
206 |
|
@@ -220,6 +224,8 @@ function iaff_after_bulk_updater() {
|
|
220 |
* @link https://imageattributespro.com/codex/iaff_after_bulk_updater/
|
221 |
*/
|
222 |
do_action('iaff_after_bulk_updater');
|
|
|
|
|
223 |
}
|
224 |
add_action( 'wp_ajax_iaff_after_bulk_updater', 'iaff_after_bulk_updater');
|
225 |
|
@@ -247,7 +253,7 @@ function iaff_bulk_updater_skip_image() {
|
|
247 |
if ( $image === NULL ) {
|
248 |
$response = array(
|
249 |
'message' => __( 'No more images to skip.', 'auto-image-attributes-from-filename-with-bulk-updater' ),
|
250 |
-
'remaining_images' => iaff_count_remaining_images(
|
251 |
);
|
252 |
wp_send_json( $response );
|
253 |
}
|
@@ -261,7 +267,7 @@ function iaff_bulk_updater_skip_image() {
|
|
261 |
|
262 |
$response = array(
|
263 |
'message' => __( 'Image skipped: ', 'auto-image-attributes-from-filename-with-bulk-updater' ) . '<a href="'. get_edit_post_link( $image->ID ) .'">'. $image_url .'</a>',
|
264 |
-
'remaining_images' => iaff_count_remaining_images(
|
265 |
);
|
266 |
wp_send_json( $response );
|
267 |
}
|
@@ -284,6 +290,14 @@ function iaff_image_bulk_updater() {
|
|
284 |
jQuery(document).ready(function($) {
|
285 |
|
286 |
var iaff_stop = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
287 |
|
288 |
// Bulk Updater
|
289 |
function iaff_do_bulk_updater(iaff_test=false) {
|
@@ -297,12 +311,15 @@ function iaff_image_bulk_updater() {
|
|
297 |
focused = false;
|
298 |
};
|
299 |
$('.iaff-spinner').addClass("spinner"); // Turn spinner on
|
300 |
-
|
301 |
-
$('.iaff_stop_bulk_updater_button').removeClass("button-secondary");
|
302 |
-
$('.iaff_stop_bulk_updater_button').addClass("button-primary"); // Turn stop button primary
|
303 |
|
304 |
// Notice to the user
|
305 |
-
|
|
|
|
|
|
|
|
|
|
|
306 |
$("#bulk-updater-log").animate({scrollTop:$("#bulk-updater-log")[0].scrollHeight - $("#bulk-updater-log").height()},200);
|
307 |
|
308 |
// Count Remaining Images To Process
|
@@ -317,6 +334,17 @@ function iaff_image_bulk_updater() {
|
|
317 |
|
318 |
// set remaining count as 1 when running in test mode
|
319 |
reamining_images_count.done(function() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
320 |
|
321 |
if((iaff_test===true)&&(remaining_images>1)) {
|
322 |
remaining_images = 1;
|
@@ -369,9 +397,7 @@ function iaff_image_bulk_updater() {
|
|
369 |
}
|
370 |
|
371 |
$('.iaff-spinner').removeClass('spinner'); // Turn spinner off
|
372 |
-
|
373 |
-
$('.iaff_stop_bulk_updater_button').addClass("button-secondary"); // Turn stop button secondary
|
374 |
-
$('.iaff_stop_bulk_updater_button').prop('disabled', true); // Disable stop button
|
375 |
}
|
376 |
});
|
377 |
});
|
@@ -422,6 +448,18 @@ function iaff_image_bulk_updater() {
|
|
422 |
// Stop Bulk Updater
|
423 |
$('.iaff_stop_bulk_updater_button').click(function() {
|
424 |
iaff_stop=true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
425 |
});
|
426 |
|
427 |
// Reset Bulk Updater Counter
|
@@ -468,6 +506,28 @@ function iaff_image_bulk_updater() {
|
|
468 |
$("#bulk-updater-log").animate({scrollTop:$("#bulk-updater-log")[0].scrollHeight - $("#bulk-updater-log").height()},200);
|
469 |
});
|
470 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
471 |
|
472 |
});
|
473 |
</script> <?php
|
138 |
}
|
139 |
|
140 |
/**
|
141 |
+
* Count remaining number of images to process.
|
142 |
*
|
143 |
+
* @since 1.0
|
144 |
+
* @since 4.0 Removed the $force_return param which when set to false would echo the result. Created iaff_echo_count_remaining_images() for that.
|
145 |
+
*
|
146 |
+
* @return (integer) Returns the number of remaining images to process.
|
147 |
*/
|
148 |
+
function iaff_count_remaining_images() {
|
149 |
|
150 |
$total_no_of_images = iaff_total_number_of_images();
|
151 |
|
152 |
$no_of_images_processed = get_option('iaff_bulk_updater_counter');
|
153 |
+
$no_of_images_processed = intval( $no_of_images_processed );
|
|
|
|
|
154 |
|
155 |
+
return max( $total_no_of_images - $no_of_images_processed, 0 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
}
|
157 |
+
|
158 |
+
/**
|
159 |
+
* Wrapper for iaff_count_remaining_images() to echo the result.
|
160 |
+
*
|
161 |
+
* @since 4.0
|
162 |
+
*/
|
163 |
+
function iaff_echo_count_remaining_images() {
|
164 |
+
echo iaff_count_remaining_images();
|
165 |
+
wp_die();
|
166 |
+
}
|
167 |
+
add_action( 'wp_ajax_iaff_count_remaining_images', 'iaff_echo_count_remaining_images' );
|
168 |
|
169 |
|
170 |
/**
|
181 |
|
182 |
$response = array(
|
183 |
'message' => __('Counter reset. The bulk updater will start from scratch in the next run.', 'auto-image-attributes-from-filename-with-bulk-updater'),
|
184 |
+
'remaining_images' => iaff_count_remaining_images(),
|
185 |
);
|
186 |
wp_send_json($response);
|
187 |
}
|
203 |
* @link https://imageattributespro.com/codex/iaff_before_bulk_updater/
|
204 |
*/
|
205 |
do_action('iaff_before_bulk_updater');
|
206 |
+
|
207 |
+
wp_die();
|
208 |
}
|
209 |
add_action( 'wp_ajax_iaff_before_bulk_updater', 'iaff_before_bulk_updater' );
|
210 |
|
224 |
* @link https://imageattributespro.com/codex/iaff_after_bulk_updater/
|
225 |
*/
|
226 |
do_action('iaff_after_bulk_updater');
|
227 |
+
|
228 |
+
wp_die();
|
229 |
}
|
230 |
add_action( 'wp_ajax_iaff_after_bulk_updater', 'iaff_after_bulk_updater');
|
231 |
|
253 |
if ( $image === NULL ) {
|
254 |
$response = array(
|
255 |
'message' => __( 'No more images to skip.', 'auto-image-attributes-from-filename-with-bulk-updater' ),
|
256 |
+
'remaining_images' => iaff_count_remaining_images(),
|
257 |
);
|
258 |
wp_send_json( $response );
|
259 |
}
|
267 |
|
268 |
$response = array(
|
269 |
'message' => __( 'Image skipped: ', 'auto-image-attributes-from-filename-with-bulk-updater' ) . '<a href="'. get_edit_post_link( $image->ID ) .'">'. $image_url .'</a>',
|
270 |
+
'remaining_images' => iaff_count_remaining_images(),
|
271 |
);
|
272 |
wp_send_json( $response );
|
273 |
}
|
290 |
jQuery(document).ready(function($) {
|
291 |
|
292 |
var iaff_stop = false;
|
293 |
+
var iaffpro_bu_exists = <?php echo function_exists( 'iaffpro_bu_bulk_updater_init' ) ? 'true' : 'false'; ?>;
|
294 |
+
|
295 |
+
$("#bulk-updater-log").animate({scrollTop:$("#bulk-updater-log")[0].scrollHeight - $("#bulk-updater-log").height()},200);
|
296 |
+
|
297 |
+
// Enable "Stop Bulk Updater" button if Bulk Updater is running in the background.
|
298 |
+
<?php if ( function_exists( 'as_has_scheduled_action' ) && ( as_has_scheduled_action( 'iaffpro_bu_bulk_updater' ) === true ) ) {
|
299 |
+
echo "iaff_stop_bulk_updater_button_switch( true );";
|
300 |
+
}?>
|
301 |
|
302 |
// Bulk Updater
|
303 |
function iaff_do_bulk_updater(iaff_test=false) {
|
311 |
focused = false;
|
312 |
};
|
313 |
$('.iaff-spinner').addClass("spinner"); // Turn spinner on
|
314 |
+
iaff_stop_bulk_updater_button_switch( true ); // Enable stop button
|
|
|
|
|
315 |
|
316 |
// Notice to the user
|
317 |
+
if( ( iaffpro_bu_exists === true ) && ( iaff_test === false ) ) {
|
318 |
+
$('#bulk-updater-log').append('<p class="iaff-green"><span class="dashicons dashicons-controls-play"></span>Bulk Updater will now run in the background. You can close this page and check back later to see progress.</p>');
|
319 |
+
} else {
|
320 |
+
$('#bulk-updater-log').append('<p class="iaff-green"><span class="dashicons dashicons-controls-play"></span>Initializing bulk updater. Please be patient and do not close the browser while it\'s running. In case you do, you can always resume by returning to this page later.</p>');
|
321 |
+
}
|
322 |
+
|
323 |
$("#bulk-updater-log").animate({scrollTop:$("#bulk-updater-log")[0].scrollHeight - $("#bulk-updater-log").height()},200);
|
324 |
|
325 |
// Count Remaining Images To Process
|
334 |
|
335 |
// set remaining count as 1 when running in test mode
|
336 |
reamining_images_count.done(function() {
|
337 |
+
|
338 |
+
// Run the background bulk updater (since IAP 4.0) if it's available.
|
339 |
+
if( ( iaffpro_bu_exists === true ) && ( iaff_test === false ) ) {
|
340 |
+
data = {
|
341 |
+
action: 'iaffpro_bu_bulk_updater_init',
|
342 |
+
security: '<?php echo wp_create_nonce( "iaffpro_bu_bulk_updater_init_nonce" ); ?>'
|
343 |
+
};
|
344 |
+
$.post(ajaxurl, data);
|
345 |
+
|
346 |
+
return;
|
347 |
+
}
|
348 |
|
349 |
if((iaff_test===true)&&(remaining_images>1)) {
|
350 |
remaining_images = 1;
|
397 |
}
|
398 |
|
399 |
$('.iaff-spinner').removeClass('spinner'); // Turn spinner off
|
400 |
+
iaff_stop_bulk_updater_button_switch( false ); // Disable stop button
|
|
|
|
|
401 |
}
|
402 |
});
|
403 |
});
|
448 |
// Stop Bulk Updater
|
449 |
$('.iaff_stop_bulk_updater_button').click(function() {
|
450 |
iaff_stop=true;
|
451 |
+
|
452 |
+
// Stop background processing
|
453 |
+
if( iaffpro_bu_exists === true ) {
|
454 |
+
data = {
|
455 |
+
action: 'iaffpro_bu_stop_bulk_updater',
|
456 |
+
security: '<?php echo wp_create_nonce( "iaffpro_bu_stop_bulk_updater_nonce" ); ?>'
|
457 |
+
};
|
458 |
+
|
459 |
+
$.post(ajaxurl, data, function() {
|
460 |
+
iaff_stop_bulk_updater_button_switch( false );
|
461 |
+
});
|
462 |
+
}
|
463 |
});
|
464 |
|
465 |
// Reset Bulk Updater Counter
|
506 |
$("#bulk-updater-log").animate({scrollTop:$("#bulk-updater-log")[0].scrollHeight - $("#bulk-updater-log").height()},200);
|
507 |
});
|
508 |
});
|
509 |
+
|
510 |
+
/**
|
511 |
+
* Enable or disable "Stop Bulk Updater" button.
|
512 |
+
*
|
513 |
+
* @param state (bool) True to enable button, false to disable.
|
514 |
+
*/
|
515 |
+
function iaff_stop_bulk_updater_button_switch( state ) {
|
516 |
+
switch ( state ) {
|
517 |
+
case true:
|
518 |
+
$('.iaff_stop_bulk_updater_button').prop('disabled', false); // Enable stop button
|
519 |
+
$('.iaff_stop_bulk_updater_button').removeClass("button-secondary");
|
520 |
+
$('.iaff_stop_bulk_updater_button').addClass("button-primary"); // Turn stop button primary
|
521 |
+
break;
|
522 |
+
|
523 |
+
case false:
|
524 |
+
default:
|
525 |
+
$('.iaff_stop_bulk_updater_button').removeClass("button-primary");
|
526 |
+
$('.iaff_stop_bulk_updater_button').addClass("button-secondary"); // Turn stop button secondary
|
527 |
+
$('.iaff_stop_bulk_updater_button').prop('disabled', true); // Disable stop button
|
528 |
+
break;
|
529 |
+
}
|
530 |
+
}
|
531 |
|
532 |
});
|
533 |
</script> <?php
|
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:
|
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
|
@@ -21,14 +21,12 @@
|
|
21 |
* ~ Directory Structure ~
|
22 |
*
|
23 |
* /admin/ - Plugin backend stuff.
|
24 |
-
* /
|
25 |
-
* /languages/ - Translation files go here.
|
26 |
-
* /public/ - Front end files go here.
|
27 |
* index.php - Dummy file.
|
28 |
* license.txt - GPL v2
|
29 |
* iaff_starter-plugin.php - File containing plugin name and other version info for WordPress.
|
30 |
* readme.txt - Readme for WordPress plugin repository. https://wordpress.org/plugins/files/2017/03/readme.txt
|
31 |
-
* uninstall.php - Fired when the plugin is uninstalled.
|
32 |
*/
|
33 |
|
34 |
// Exit if accessed directly
|
@@ -67,7 +65,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', '
|
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: 4.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
|
21 |
* ~ Directory Structure ~
|
22 |
*
|
23 |
* /admin/ - Plugin backend stuff.
|
24 |
+
* /languages/ - Translation files go here.
|
|
|
|
|
25 |
* index.php - Dummy file.
|
26 |
* license.txt - GPL v2
|
27 |
* iaff_starter-plugin.php - File containing plugin name and other version info for WordPress.
|
28 |
* readme.txt - Readme for WordPress plugin repository. https://wordpress.org/plugins/files/2017/03/readme.txt
|
29 |
+
* uninstall.php - Fired when the plugin is uninstalled.
|
30 |
*/
|
31 |
|
32 |
// Exit if accessed directly
|
65 |
* @since 1.3
|
66 |
*/
|
67 |
if ( ! defined( 'IAFF_VERSION_NUM' ) ) {
|
68 |
+
define( 'IAFF_VERSION_NUM', '4.0' );
|
69 |
}
|
70 |
|
71 |
/**
|
includes/index.php
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden
|
|
|
|
languages/auto-image-attributes-from-filename-with-bulk-updater.pot
CHANGED
@@ -2,16 +2,16 @@
|
|
2 |
# This file is distributed under the GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Auto Image Attributes From Filename With Bulk Updater
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/auto-image-attributes-from-filename-with-bulk-updater\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2022-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
-
"X-Generator: WP-CLI 2.
|
15 |
"X-Domain: auto-image-attributes-from-filename-with-bulk-updater\n"
|
16 |
|
17 |
#. Plugin Name of the plugin
|
@@ -447,12 +447,12 @@ msgid "The Bulk Updater will update every attribute. If your image is named <em>
|
|
447 |
msgstr ""
|
448 |
|
449 |
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1046
|
450 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
451 |
msgid "Run Bulk Updater"
|
452 |
msgstr ""
|
453 |
|
454 |
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1048
|
455 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
456 |
msgid "Test Bulk Updater"
|
457 |
msgstr ""
|
458 |
|
@@ -473,7 +473,7 @@ msgid "If Bulk Updater is stuck, refresh the page, skip current image and try ru
|
|
473 |
msgstr ""
|
474 |
|
475 |
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1062
|
476 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
477 |
msgid "Reset Counter"
|
478 |
msgstr ""
|
479 |
|
@@ -485,128 +485,128 @@ msgstr ""
|
|
485 |
msgid "Event Log"
|
486 |
msgstr ""
|
487 |
|
488 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
489 |
msgid "Number of Images Remaining: "
|
490 |
msgstr ""
|
491 |
|
492 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
493 |
msgid "Number of Images Updated: "
|
494 |
msgstr ""
|
495 |
|
496 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
497 |
msgid "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."
|
498 |
msgstr ""
|
499 |
|
500 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
501 |
msgid "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."
|
502 |
msgstr ""
|
503 |
|
504 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
505 |
msgid "You are about to reset the bulk updater counter. The bulk updater will start from scratch in the next run. Press Ok to confirm."
|
506 |
msgstr ""
|
507 |
|
508 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
509 |
msgid "Support And Documentation"
|
510 |
msgstr ""
|
511 |
|
512 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
513 |
msgid "Looking for help? Here are the available options."
|
514 |
msgstr ""
|
515 |
|
516 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
517 |
msgid "Free Support"
|
518 |
msgstr ""
|
519 |
|
520 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
521 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
522 |
msgid "Documentation"
|
523 |
msgstr ""
|
524 |
|
525 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
526 |
msgid "Read the FAQ"
|
527 |
msgstr ""
|
528 |
|
529 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
530 |
msgid "Free Support Forum"
|
531 |
msgstr ""
|
532 |
|
533 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
534 |
msgid "Premium Support"
|
535 |
msgstr ""
|
536 |
|
537 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
538 |
msgid "Priority Email Support"
|
539 |
msgstr ""
|
540 |
|
541 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
542 |
msgid "Contact Support"
|
543 |
msgstr ""
|
544 |
|
545 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
546 |
msgid "Upgrade to Pro"
|
547 |
msgstr ""
|
548 |
|
549 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
550 |
msgid "Priority support"
|
551 |
msgstr ""
|
552 |
|
553 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
554 |
msgid "Advanced features"
|
555 |
msgstr ""
|
556 |
|
557 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
558 |
msgid "Support ongoing development"
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
562 |
msgid "Unlock Traffic"
|
563 |
msgstr ""
|
564 |
|
565 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
566 |
msgid "Get more traffic from Google Images"
|
567 |
msgstr ""
|
568 |
|
569 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
570 |
msgid "Use post / product title as attributes"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
574 |
msgid "Preserve existing attributes"
|
575 |
msgstr ""
|
576 |
|
577 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
578 |
msgid "Update attributes within posts"
|
579 |
msgstr ""
|
580 |
|
581 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
582 |
msgid "Build custom attributes and fine tune settings"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
586 |
msgid "Fast & Simple Time Saver"
|
587 |
msgstr ""
|
588 |
|
589 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
590 |
msgid "This plugin will save me a LOT of time! Great plugin!"
|
591 |
msgstr ""
|
592 |
|
593 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
594 |
msgid "SEO Newsletter"
|
595 |
msgstr ""
|
596 |
|
597 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
598 |
msgid "Stay tuned to the latest image SEO news and receive helpful product updates."
|
599 |
msgstr ""
|
600 |
|
601 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
602 |
msgid "Your Email"
|
603 |
msgstr ""
|
604 |
|
605 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
606 |
msgid "Subscribe"
|
607 |
msgstr ""
|
608 |
|
609 |
-
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:
|
610 |
msgid "Your email will be kept private and will not be shared or spammed."
|
611 |
msgstr ""
|
612 |
|
@@ -638,14 +638,14 @@ msgstr ""
|
|
638 |
msgid "Image attributes updated for: "
|
639 |
msgstr ""
|
640 |
|
641 |
-
#: admin/iaff_image-attributes-from-filename-do.php:
|
642 |
msgid "Counter reset. The bulk updater will start from scratch in the next run."
|
643 |
msgstr ""
|
644 |
|
645 |
-
#: admin/iaff_image-attributes-from-filename-do.php:
|
646 |
msgid "No more images to skip."
|
647 |
msgstr ""
|
648 |
|
649 |
-
#: admin/iaff_image-attributes-from-filename-do.php:
|
650 |
msgid "Image skipped: "
|
651 |
msgstr ""
|
2 |
# This file is distributed under the GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Auto Image Attributes From Filename With Bulk Updater 4.0\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/auto-image-attributes-from-filename-with-bulk-updater\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2022-12-13T09:18:23+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
+
"X-Generator: WP-CLI 2.7.1\n"
|
15 |
"X-Domain: auto-image-attributes-from-filename-with-bulk-updater\n"
|
16 |
|
17 |
#. Plugin Name of the plugin
|
447 |
msgstr ""
|
448 |
|
449 |
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1046
|
450 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1098
|
451 |
msgid "Run Bulk Updater"
|
452 |
msgstr ""
|
453 |
|
454 |
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1048
|
455 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1103
|
456 |
msgid "Test Bulk Updater"
|
457 |
msgstr ""
|
458 |
|
473 |
msgstr ""
|
474 |
|
475 |
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1062
|
476 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1108
|
477 |
msgid "Reset Counter"
|
478 |
msgstr ""
|
479 |
|
485 |
msgid "Event Log"
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1086
|
489 |
msgid "Number of Images Remaining: "
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1088
|
493 |
msgid "Number of Images Updated: "
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1099
|
497 |
msgid "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."
|
498 |
msgstr ""
|
499 |
|
500 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1104
|
501 |
msgid "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."
|
502 |
msgstr ""
|
503 |
|
504 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1109
|
505 |
msgid "You are about to reset the bulk updater counter. The bulk updater will start from scratch in the next run. Press Ok to confirm."
|
506 |
msgstr ""
|
507 |
|
508 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1119
|
509 |
msgid "Support And Documentation"
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1121
|
513 |
msgid "Looking for help? Here are the available options."
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1126
|
517 |
msgid "Free Support"
|
518 |
msgstr ""
|
519 |
|
520 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1128
|
521 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1141
|
522 |
msgid "Documentation"
|
523 |
msgstr ""
|
524 |
|
525 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1129
|
526 |
msgid "Read the FAQ"
|
527 |
msgstr ""
|
528 |
|
529 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1130
|
530 |
msgid "Free Support Forum"
|
531 |
msgstr ""
|
532 |
|
533 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1139
|
534 |
msgid "Premium Support"
|
535 |
msgstr ""
|
536 |
|
537 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1142
|
538 |
msgid "Priority Email Support"
|
539 |
msgstr ""
|
540 |
|
541 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1143
|
542 |
msgid "Contact Support"
|
543 |
msgstr ""
|
544 |
|
545 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1155
|
546 |
msgid "Upgrade to Pro"
|
547 |
msgstr ""
|
548 |
|
549 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1157
|
550 |
msgid "Priority support"
|
551 |
msgstr ""
|
552 |
|
553 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1158
|
554 |
msgid "Advanced features"
|
555 |
msgstr ""
|
556 |
|
557 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1159
|
558 |
msgid "Support ongoing development"
|
559 |
msgstr ""
|
560 |
|
561 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1176
|
562 |
msgid "Unlock Traffic"
|
563 |
msgstr ""
|
564 |
|
565 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1178
|
566 |
msgid "Get more traffic from Google Images"
|
567 |
msgstr ""
|
568 |
|
569 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1179
|
570 |
msgid "Use post / product title as attributes"
|
571 |
msgstr ""
|
572 |
|
573 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1180
|
574 |
msgid "Preserve existing attributes"
|
575 |
msgstr ""
|
576 |
|
577 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1181
|
578 |
msgid "Update attributes within posts"
|
579 |
msgstr ""
|
580 |
|
581 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1182
|
582 |
msgid "Build custom attributes and fine tune settings"
|
583 |
msgstr ""
|
584 |
|
585 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1192
|
586 |
msgid "Fast & Simple Time Saver"
|
587 |
msgstr ""
|
588 |
|
589 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1200
|
590 |
msgid "This plugin will save me a LOT of time! Great plugin!"
|
591 |
msgstr ""
|
592 |
|
593 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1209
|
594 |
msgid "SEO Newsletter"
|
595 |
msgstr ""
|
596 |
|
597 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1213
|
598 |
msgid "Stay tuned to the latest image SEO news and receive helpful product updates."
|
599 |
msgstr ""
|
600 |
|
601 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1217
|
602 |
msgid "Your Email"
|
603 |
msgstr ""
|
604 |
|
605 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1222
|
606 |
msgid "Subscribe"
|
607 |
msgstr ""
|
608 |
|
609 |
+
#: admin/iaff_image-attributes-from-filename-admin-ui-render.php:1226
|
610 |
msgid "Your email will be kept private and will not be shared or spammed."
|
611 |
msgstr ""
|
612 |
|
638 |
msgid "Image attributes updated for: "
|
639 |
msgstr ""
|
640 |
|
641 |
+
#: admin/iaff_image-attributes-from-filename-do.php:183
|
642 |
msgid "Counter reset. The bulk updater will start from scratch in the next run."
|
643 |
msgstr ""
|
644 |
|
645 |
+
#: admin/iaff_image-attributes-from-filename-do.php:255
|
646 |
msgid "No more images to skip."
|
647 |
msgstr ""
|
648 |
|
649 |
+
#: admin/iaff_image-attributes-from-filename-do.php:269
|
650 |
msgid "Image skipped: "
|
651 |
msgstr ""
|
public/index.php
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden
|
|
|
|
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: 6.1
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -149,6 +149,11 @@ I am glad to hear that! You can either [upgrade to pro](https://imageattributesp
|
|
149 |
|
150 |
== Changelog ==
|
151 |
|
|
|
|
|
|
|
|
|
|
|
152 |
= 3.3 =
|
153 |
* Date: 10.November.2022.
|
154 |
* Tested with WordPress 6.1.
|
@@ -239,6 +244,11 @@ I am glad to hear that! You can either [upgrade to pro](https://imageattributesp
|
|
239 |
|
240 |
== Upgrade Notice ==
|
241 |
|
|
|
|
|
|
|
|
|
|
|
242 |
= 3.3 =
|
243 |
* Date: 10.November.2022.
|
244 |
* Tested with WordPress 6.1.
|
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: 6.1.1
|
7 |
Stable tag: trunk
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
149 |
|
150 |
== Changelog ==
|
151 |
|
152 |
+
= 4.0 =
|
153 |
+
* Date: 13.December.2022.
|
154 |
+
* Tested with WordPress 6.1.1.
|
155 |
+
* Enhancement: Compatibility with Image Attributes Pro version 4.0. [Check what's new in 4.0](https://imageattributespro.com/changelog/?utm_source=wordpress.org&utm_medium=changelog).
|
156 |
+
|
157 |
= 3.3 =
|
158 |
* Date: 10.November.2022.
|
159 |
* Tested with WordPress 6.1.
|
244 |
|
245 |
== Upgrade Notice ==
|
246 |
|
247 |
+
= 4.0 =
|
248 |
+
* Date: 13.December.2022.
|
249 |
+
* Tested with WordPress 6.1.1.
|
250 |
+
* Enhancement: Compatibility with Image Attributes Pro version 4.0. [Check what's new in 4.0](https://imageattributespro.com/changelog/?utm_source=wordpress.org&utm_medium=changelog).
|
251 |
+
|
252 |
= 3.3 =
|
253 |
* Date: 10.November.2022.
|
254 |
* Tested with WordPress 6.1.
|