function wptouch_get_addon_deactivate_link_url() { return add_query_arg(array('admin_command' => 'deactivate_addon', 'addon_name' => urlencode(wptouch_get_addon_title()), 'addon_location' => urlencode(wptouch_get_addon_location()), 'admin_menu_nonce' => wptouch_admin_menu_get_nonce()), admin_url('admin.php?page=wptouch-admin-themes-and-addons')); }
<img src="<?php wptouch_the_addon_preview_url(); ?> " alt="preview-image" /> </div> <?php } ?> </div> <!-- Carousel nav --> <a class="carousel-control left" href="#carousel-<?php echo wptouch_convert_to_class_name(wptouch_get_addon_title()); ?> " data-slide="prev">«</a> <a class="carousel-control right" href="#carousel-<?php echo wptouch_convert_to_class_name(wptouch_get_addon_title()); ?> " data-slide="next">»</a> </div> </div> <div class="modal-footer"> <button class="button" data-dismiss="modal" aria-hidden="true">Close</button> </div> </div> </div> <?php } ?> <div class="item-information"> <?php if (wptouch_cloud_addon_update_available()) {
function wptouch_get_addon_deactivate_link_url() { return esc_url(add_query_arg(array('admin_command' => 'deactivate_addon', 'addon_name' => urlencode(wptouch_get_addon_title()), 'addon_location' => urlencode(wptouch_get_addon_location()), 'admin_menu_nonce' => wptouch_admin_menu_get_nonce()))); }