ldd-business-directory

Descrizione

Questo plugin è stato chiuso il 23 Ottobre 2019 e non è più disponibile per il download. Motivazione: Violazione linee guida.

Recensioni

8 Febbraio 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); } } }
Leggi tutte le recensioni di 13

Contributi e sviluppo

“LDD Business Directory” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori