Title: hlhs's Replies | WordPress.org

---

# hlhs

  [  ](https://wordpress.org/support/users/hlhs/)

 *   [Profile](https://wordpress.org/support/users/hlhs/)
 *   [Topics Started](https://wordpress.org/support/users/hlhs/topics/)
 *   [Replies Created](https://wordpress.org/support/users/hlhs/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/hlhs/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/hlhs/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/hlhs/engagements/)
 *   [Favorites](https://wordpress.org/support/users/hlhs/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/users/hlhs/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/hlhs/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Shop Manager roles gives critical error on website](https://wordpress.org/support/topic/shop-manager-roles-gives-critical-error-on-website/)
 *  Thread Starter [hlhs](https://wordpress.org/support/users/hlhs/)
 * (@hlhs)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/shop-manager-roles-gives-critical-error-on-website/#post-16719603)
 * Thank you. Replacing the troublesome snippet with the code you provided seems
   to work and fixes the problem.
 * Cheers!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Shop Manager roles gives critical error on website](https://wordpress.org/support/topic/shop-manager-roles-gives-critical-error-on-website/)
 *  Thread Starter [hlhs](https://wordpress.org/support/users/hlhs/)
 * (@hlhs)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/shop-manager-roles-gives-critical-error-on-website/#post-16714199)
 * Following your advice, the problem was in the Storefront child theme the site
   was using. It contained the following customisation CSS in its functions.php 
   file:
 *     ```wp-block-code
       function isSiteAdmin() {
       	return in_array( 'administrator', wp_get_current_user()->roles );
       }
   
       add_action( 'admin_head', 'custom_plugin_styless' );
       if ( isSiteAdmin() ) {
       	function custom_plugin_styless() {
       		echo '<style>
             #hiddenoptions_tr, #hiddenoptions_line_tr {
               display: none;
             }
           </style>';
       	}
       }
       ```
   
 * I’ve inherited this so don’t really know where it has come from (or what is doing).
   I can only guess that if the user role is “Shop Manager” (not “administrator”),
   then something is going wrong. I wonder if the “add_action(…)” be within the “
   If ( isSiteAdmin() )…” statement, so is only executed if the condition is satisfied?
 * I don’t know if you can tell from this whether something in the latest WooCommerce
   version is conflicting with this?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Shop Manager roles gives critical error on website](https://wordpress.org/support/topic/shop-manager-roles-gives-critical-error-on-website/)
 *  Thread Starter [hlhs](https://wordpress.org/support/users/hlhs/)
 * (@hlhs)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/shop-manager-roles-gives-critical-error-on-website/#post-16709960)
 * Thank you very much. Apologies for the delay, but I will givethe above a try 
   and report back.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions] Move membership from Expired to Cancelled](https://wordpress.org/support/topic/move-membership-from-expired-to-cancelled/)
 *  Thread Starter [hlhs](https://wordpress.org/support/users/hlhs/)
 * (@hlhs)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/move-membership-from-expired-to-cancelled/#post-16447757)
 * Thank you for the reply. It seems strange that there isn’t an Admin dashboard
   way of setting the status of a member.
 * I tried resetting the membership level from “–None–” to a valid level, with an
   _expires_ option of “no”. This restored the membership to the normal list. I 
   then tried resetting the level to “–None–” with _cancel at the gateway_ ticked
   and the _expires _option still at “no”. This moved the user to the “Cancelled
   Members” list but also leaves it in the “Expired Members” list, surprisingly 
   with the original expiry date set when viewed from the dashboard. I also see 
   the membership appears in the “Old Members” list. The .csv file exported for 
   the membership does not contain an _expires _date, just an _ended _date.
 * I have to remove the membership from the “Expired members” list, because I use
   that to generate reminder letters. Looks like the only solution is to delete 
   the member as a WordPress User. That removed the membership from all the lists!
 * Thanks again.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Bulk Media Register] Feature request: Bulk Media “Replace”](https://wordpress.org/support/topic/feature-request-buld-media-replace/)
 *  Thread Starter [hlhs](https://wordpress.org/support/users/hlhs/)
 * (@hlhs)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/feature-request-buld-media-replace/#post-14322214)
 * Bulk Generate Thumbnails plugin worked fine.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Bulk Generate Thumbnails] Select Generate Problems](https://wordpress.org/support/topic/select-generate-problems/)
 *  Thread Starter [hlhs](https://wordpress.org/support/users/hlhs/)
 * (@hlhs)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/select-generate-problems/#post-14322155)
 * Thank you – you seem to have fixed the above two problems.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Bulk Generate Thumbnails] Selecting by date/upload folder](https://wordpress.org/support/topic/selecting-by-date-upload-folder/)
 *  Thread Starter [hlhs](https://wordpress.org/support/users/hlhs/)
 * (@hlhs)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/selecting-by-date-upload-folder/#post-14304574)
 * Again, thanks for the prompt reply. Given that you’ve provided this other plugin,
   I guess the answer to my question is that Bulk Generate Thumbnails does NOT change
   the date of the Media file item.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Bulk Generate Thumbnails] Selecting by date/upload folder](https://wordpress.org/support/topic/selecting-by-date-upload-folder/)
 *  Thread Starter [hlhs](https://wordpress.org/support/users/hlhs/)
 * (@hlhs)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/selecting-by-date-upload-folder/#post-14304555)
 * Another question about “dates”. When I use this plugin to generate a new thumbnail,
   the date of the item in the Media Library does not change? I found that the “
   Regenerate Thumbnail” plugin has the same behaviour. However, plugin “Enable 
   Media Replace” does change the date of the Media item.
 * Was I mistaken to expect the Media library date to change when a new thumbnail
   is generated?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Bulk Media Register] Feature request: Bulk Media “Replace”](https://wordpress.org/support/topic/feature-request-buld-media-replace/)
 *  Thread Starter [hlhs](https://wordpress.org/support/users/hlhs/)
 * (@hlhs)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/feature-request-buld-media-replace/#post-14304452)
 * I use your disable thumbnails plugin but googling hadn’t uncovered your bulk 
   generate thumbnails plugin. I’ll give it a try. Once again, thank you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Bulk Media Register] Feature request: Bulk Media “Replace”](https://wordpress.org/support/topic/feature-request-buld-media-replace/)
 *  Thread Starter [hlhs](https://wordpress.org/support/users/hlhs/)
 * (@hlhs)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/feature-request-buld-media-replace/#post-14304384)
 * Thank you for the prompt reply. The problem with using a plugin to regenerate
   thumbnails (like Regenerate Thumbnails) is they don’t seem to deal well with 
   the bulk element. I don’t want to regenerate all (too many), I just want to do
   the 500 (using your other plugin to limit the number of thumbnails) but without
   having to select them all separately (e.g. by identifying them via the Media 
   Library and ticking boxes).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Enable Media Replace] Replace multiple media](https://wordpress.org/support/topic/replace-multiple-media/)
 *  [hlhs](https://wordpress.org/support/users/hlhs/)
 * (@hlhs)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/replace-multiple-media/#post-14301388)
 * Could I add my request for a multiple image replace feature. I have to replace
   500 images that are linked to by multiple galleries, and one-at-a-time is rather
   time-consuming! Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Media from FTP] Registered auto-rescaled images still show in Search&Register](https://wordpress.org/support/topic/registered-auto-rescaled-images-still-show-in-searchregister/)
 *  Thread Starter [hlhs](https://wordpress.org/support/users/hlhs/)
 * (@hlhs)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/registered-auto-rescaled-images-still-show-in-searchregister/#post-12151243)
 * Thanks very much. Yes, the new version seems to fix that problem.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disable Generate Thumbnails] Clarification of functionality](https://wordpress.org/support/topic/clarification-of-functionality/)
 *  Thread Starter [hlhs](https://wordpress.org/support/users/hlhs/)
 * (@hlhs)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/clarification-of-functionality/#post-12151147)
 * The plugin seems to work well.
 * In case this is of use to others, the clarification of functionality I was after
   is the following. As advertised, you can use this plugin to disable selected 
   thumbnail sizes. Those sizes will remain disabled for any media upload while 
   the plugin is active. You can use the same plugin to restore the full set of 
   thumbnails (or any subset) by deselecting those you had disabled previously, 
   or to restore the full set by deactivating the plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Media from FTP] Featured images/thumbnails](https://wordpress.org/support/topic/featured-images-thumbnails-2/)
 *  Thread Starter [hlhs](https://wordpress.org/support/users/hlhs/)
 * (@hlhs)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/featured-images-thumbnails-2/#post-12121693)
 * Thanks for that new plugin. I still think that adding the ability to select the
   thumbnails required woud be a very useful enhancement for “Media from FTP”.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disable Generate Thumbnails] Clarification of functionality](https://wordpress.org/support/topic/clarification-of-functionality/)
 *  Thread Starter [hlhs](https://wordpress.org/support/users/hlhs/)
 * (@hlhs)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/clarification-of-functionality/#post-12109200)
 * I can’t try a plugin if I’m worried about unexpected consequences for the website.
   I’m not a professional developer, just a volunteer building a site for a charity.
   I do not have a test site I can experiment with.
 * I tried to explain my concern above.
 * Thanks for your time, I’ll just continue with having more thumbnails generated
   than I need.

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/users/hlhs/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/hlhs/replies/page/2/?output_format=md)