• jvwx

    (@enfueggo)


    Our WP backend was loading extremely slow. I noticed the “suspend transients” button in the toolbar had changed to “Unsuspend transients”, so I assumed our other website editor must have clicked it accidentally. Clicking it brought everything back to normal.

    It really feels like that button can do a lot of damage and shouldn’t be so easily clickable! What if it was simply on the transient manager admin page instead?

    Maybe it wasn’t clicked and happened automatically like this similar report (which wasn’t answered): https://wordpress.org/support/topic/transient-suspended-automatically/

Viewing 2 replies - 1 through 2 (of 2 total)
  • drahija

    (@drahija)

    I know this is an old post, but I ran across it today. I did some digging in the code and they really don’t provide any options to disable or turn this off, so I threw this together. You can drop it in your functions.php file and it will remove the admin bar update that the TM plugin is adding:

    add_action( 'wp_loaded', function() {
    remove_action( 'admin_bar_menu', [ \AM\TransientsManager\TransientsManager::getInstance(), 'suspend_transients_button' ], 99 );
    });

    Thread Starter jvwx

    (@enfueggo)

    @drahija Nice, thanks for sharing it!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Hide/disable suspend button?’ is closed to new replies.