Beschreibung
Dieses Plugin wurde mit dem 23. Oktober 2019 stillgelegt und ist nicht zum Download verfügbar. Grund: Richtlinienverletzung.
Rezensionen
8. Februar 2017
After install this plugin while i Uninstall it I lost all my Media attachment like images, video and docs of my wordpress website so First time I don't get reason Why i lost my images and file which was i uploaded in media, I check all things and Lastly I found that Reason and check this plugins "uninstall.php" file so, please Remove Some Function from "uninstall.php" as below if you want, and then Uninstall it...
Please Find this "ldl_uninstall_attachments();" and delete or comment it or find below function and delete it or comment it also
function ldl_uninstall_attachments() {
global $wpdb;
$query = sprintf("
SELECT ID
FROM %s
WHERE post_type = '%s'
AND post_status NOT IN ( 'auto-draft', 'inherit' )
", $wpdb->posts, LDDLITE_POST_TYPE);
$post_ids = $wpdb->get_col($query);
if (!$post_ids)
return;
$post_ids = implode(',', $post_ids);
$attachments = get_posts(array(
'post_type' => 'attachment',
'posts_per_page' => -1,
'post_status' => 'any',
'post_parent_in' => $post_ids,
'no_found_rows' => true,
));
if ($attachments) {
foreach ($attachments as $attachment) {
wp_delete_attachment($attachment->ID);
}
}
}
Mitwirkende & Entwickler
„LDD Business Directory“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:
MitwirkendeÜbersetze „LDD Business Directory“ in deine Sprache.
Interessiert an der Entwicklung?
Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.