I solved the bulk “apply” and “remove” watermark issue by editing image-watermark.php line 112. If you change the priority in which ‘admin_print_scripts’ loads from 20 to something like 80, the js loads below jQuery which allows for the select list insertion.
Go from
add_action( 'admin_print_scripts', array( $this, 'admin_print_scripts' ), 20 );
To
add_action( 'admin_print_scripts', array( $this, 'admin_print_scripts' ), 80 );
This, of course, doesn’t solve the issue with limited amount of images visible by the media library.
thenickb (@thenickb)
Found image-watermark.php but line 112 says
add_action( ‘wp_enqueue_media’, array( $this, ‘wp_enqueue_media’ ) );
I added
add_action( ‘admin_print_scripts’, array( $this, ‘admin_print_scripts’ ), 80 );
in at 112 but it comes up with an error when I access the Media Library
( ! ) Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Image_Watermark' does not have a method 'admin_print_scripts' in C:\Users\Alan\Local Sites\alan20220621\app\public\wp-includes\class-wp-hook.php on line 307
Call Stack
# Time Memory Function Location
1 0.0011 373656 {main}( ) ...\upload.php:0
2 4.8790 94357888 require_once( 'C:\Users\Alan\Local Sites\alan20220621\app\public\wp-admin\admin-header.php' ) ...\upload.php:268
3 4.9665 94877416 do_action( ) ...\admin-header.php:146
4 4.9665 94877792 WP_Hook->do_action( ) ...\plugin.php:476
5 4.9665 94877792 WP_Hook->apply_filters( ) ...\class-wp-hook.php:331
Looks like its broken 🙁