Snippets cant be deleted
-
Hi,
since V3.10.0 i can’t trash or completely delete any snippets. They stay exactly the same and won’t move. Snippets that should go to trash still appear in the list; and 2 trashed snippets can’t be deleted.
-
Hi Nico,
Thank you for reporting this – we will take a look to see if we can reproduce this on our end, and get back to you about a fix.
Can I ask – is this only affecting your existing snippets? If you add a new one, is that deletable?
Hi @bungeshea
The issues arises both with new and old snippets. I’ve tried this:
/**
* Plugin Test-Snippet: Umgehung deaktivierter Admin Notices
* Sichtbarkeit: Ausschließlich im WordPress-Backend (Admin-Bereich) für Administratoren.
* Frontend-Spuren: Absolute 0 (weder visuell noch im Quellcode für normale Besucher).
*/
// 1. Visuelles Floating-Banner im Admin-Footer (funktioniert unabhängig von Admin Notices)
add_action('admin_footer', function() {
if (!current_user_can('manage_options')) {
return;
}
?>
<div id="test-snippet-indicator" style="position: fixed; bottom: 20px; right: 20px; z-index: 999999; background: #dc3545; color: #ffffff; padding: 12px 18px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 13px; font-weight: bold; pointer-events: none;">
🚨 [TEST-SNIPPET AKTIV] - Snippet ist derzeit noch aktiv!
</div>
<?php
});
// 2. Ergänzender HTTP-Header für Browser-DevTools (Netzwerk-Tab im Admin-Bereich)
add_action('send_headers', function() {
if (is_admin() && current_user_can('manage_options')) {
header('X-Test-Snippet-Status: Active');
}
});and i can’t disable, delete or trash it. It’s currently active still since disabling won’t work, too.
Hi Nico,
We’ve released 3.10.1 today with a batch of fixes including one for your issue.
Please update and let us know how you get on.Hi, I still got the issue where when i check every snippet in “Trashed”, select “Delete permanently” and then hit “Apply” that there is no refresh. Upon reloading the page, the trash is still full with the same snippets.
Plugins:
Glossary2.3.15
301 Redirects Pro6.28
Action Scheduler Daily Cleanup2.0.0
Ivory Search5.5.18
The SEO Framework5.1.4
Better Search Replace1.4.11
Auto Bluesky Poster2.0
Code Snippets3.10.1
Delete Me3.2
FAZ Cookie Manager1.28.1
Forminator1.57.2
Frumbik Affiliate Hub – Affiliate Links, Amazon Product Displays, Click Tracking & Geo-Targeting2.5.1
gooloo.de Review Bar Plugin Enhanced4.0.15.1
Hide Posts Toggle System1.6.2
OMGF6.3.10
Index WP MySQL For Speed1.5.7
Koko Analytics2.5.2
Leira Letter Avatar1.3.13
Lightweight Accordion1.7.0
LiteSpeed Cache7.9
Loco Translate2.8.8
MailPoet5.36.1
Nextend Social Login3.1.26
OpenPorte Spam Protection1.28.1
Paid Memberships Pro3.8.5
Paid Memberships Pro - Add Name to Checkout0.7.3
Paid Memberships Pro - Failed Payment Limit Add On.3
Paid Memberships Pro - PayPal Gateway1.1.2
Paid Memberships Pro - Social Login Add On1.1.1
Paid Memberships Pro - Update Manager1.0.3
Pods - Custom Content Types and Fields3.3.9.1
Post Feedback Collector1.3
Send Users Email2.0.3
Smart Slider 33.5.1.39
SQLite Object Cache1.6.5
Temporary Login Without Password1.9.8
The SEO Framework - Extension Manager2.7.2
Advanced Editor Tools5.10.1
White Label CMS2.7.14
WP 2FA - Two-factor authentication for WordPress4.1.0
WP Auto Updater1.7.4
WP Grid Builder2.3.4
WP-PageNavi3.0.1
WP-Sweep2.0.1
WP to Buffer6.2.3
wpDiscuz7.6.66Theme: Divi 5.11.1, PHP 8.3
You must be logged in to reply to this topic.