ldd-business-directory

Leírás

This plugin has been closed as of 2019.10.23. and is not available for download. This closure is temporary, pending a full review.

Vélemények

2017.02.08.
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); } } }
13 (az összes) vélemény olvasása

Közreműködők és fejlesztők

“LDD Business Directory” egy nyílt forráskódú szoftver. A bővítményhez a következő személyek járultak hozzá:

Közreműködők

“LDD Business Directory” fordítása a saját nyelvünkre.

Érdekeltek vagyunk a fejlesztésben?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.