Front end upload error message

[ad_1]

It’s a shame not to use $wppa_alert in wppa_function.php I
I added/replaced the lines 4700/4701/4983
4697 function wppa_user_upload() {
4698 global $wpdb;
4699 static $done;
4700 global $wppa_upload_succes_id;
4701 global $wppa_alert; 4702 $wppa_alert=”;

4980 // Alert text for failed upload
4981 if ( $fail ) {
4982 if ( ! $done ) {
4983 $m = ‘ ‘ . __( ‘Upload failed’, ‘wp-photo-album-plus’ ) . ‘ ‘.$wppa_alert.’.’;
4984 }

now the front end specifies the error type

Thanks very much. This mods will be implemented in the next releas.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer