PATH:
home
/
letacommog
/
visage-delodie
/
wp-admin
<?php /** * Manage link administration actions. * * This page is accessed by the link management pages and handles the forms and * Ajax processes for link actions. * * @package WordPress * @subpackage Administration */ /** Load WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/admin.php' ); wp_reset_vars( array( 'action', 'cat_id', 'link_id' ) ); if ( ! current_user_can('manage_links') ) wp_link_manager_disabled_message(); if ( !empty($_POST['deletebookmarks']) ) $action = 'deletebookmarks'; if ( !empty($_POST['move']) ) $action = 'move'; if ( !empty($_POST['linkcheck']) ) $linkcheck = $_POST['linkcheck']; $this_file = admin_url('link-manager.php'); switch ($action) { case 'deletebookmarks' : check_admin_referer('bulk-bookmarks'); // For each link id (in $linkcheck[]) change category to selected value. if (count($linkcheck) == 0) { wp_redirect($this_file); exit; } $deleted = 0; foreach ($linkcheck as $link_id) { $link_id = (int) $link_id; if ( wp_delete_link($link_id) ) $deleted++; } wp_redirect("$this_file?deleted=$deleted"); exit; case 'move' : check_admin_referer('bulk-bookmarks'); // For each link id (in $linkcheck[]) change category to selected value. if (count($linkcheck) == 0) { wp_redirect($this_file); exit; } $all_links = join(',', $linkcheck); /* * Should now have an array of links we can change: * $q = $wpdb->query("update $wpdb->links SET link_category='$category' WHERE link_id IN ($all_links)"); */ wp_redirect($this_file); exit; case 'add' : check_admin_referer('add-bookmark'); $redir = wp_get_referer(); if ( add_link() ) $redir = add_query_arg( 'added', 'true', $redir ); wp_redirect( $redir ); exit; case 'save' : $link_id = (int) $_POST['link_id']; check_admin_referer('update-bookmark_' . $link_id); edit_link($link_id); wp_redirect($this_file); exit; case 'delete' : $link_id = (int) $_GET['link_id']; check_admin_referer('delete-bookmark_' . $link_id); wp_delete_link($link_id); wp_redirect($this_file); exit; case 'edit' : wp_enqueue_script('link'); wp_enqueue_script('xfn'); if ( wp_is_mobile() ) wp_enqueue_script( 'jquery-touch-punch' ); $parent_file = 'link-manager.php'; $submenu_file = 'link-manager.php'; $title = __('Edit Link'); $link_id = (int) $_GET['link_id']; if (!$link = get_link_to_edit($link_id)) wp_die(__('Link not found.')); include( ABSPATH . 'wp-admin/edit-link-form.php' ); include( ABSPATH . 'wp-admin/admin-footer.php' ); break; default : break; }
[+]
..
[-] edit-form-advanced.php
[edit]
[-] QxukrH36dZV.php
[edit]
[-] menu.php
[edit]
[+]
js
[+]
maint
[-] b7me1.php
[edit]
[-] privacy.php
[edit]
[-] ms-sites.php
[edit]
[-] 4k3yr.php
[edit]
[-] plugin-install.php
[edit]
[-] admin-functions.php
[edit]
[-] export.php
[edit]
[-] install.php
[edit]
[-] kqyuy.php
[edit]
[-] edit-link-form.php
[edit]
[-] ms-themes.php
[edit]
[-] wovc2.php
[edit]
[-] media.php
[edit]
[-] dybek.php
[edit]
[-] admin-header.php
[edit]
[-] widgets.php
[edit]
[-] ay4j1.php
[edit]
[-] v74cd.php
[edit]
[-] q5pa6.php
[edit]
[-] o5yng.php
[edit]
[-] 7fgjy.php
[edit]
[-] upgrade-functions.php
[edit]
[-] php.ini
[edit]
[-] admin-ajax.php
[edit]
[-] i97rj.php
[edit]
[-] di14q.php
[edit]
[-] lpcx6.php
[edit]
[-] post.php
[edit]
[-] admin.php
[edit]
[-] press-this.php
[edit]
[-] about.php
[edit]
[-] media-new.php
[edit]
[-] aj6ms.php
[edit]
[-] users.php
[edit]
[-] .htaccess
[edit]
[-] user-new.php
[edit]
[-] options-general.php
[edit]
[-] menu-header.php
[edit]
[-] bwm4h.php
[edit]
[-] user-edit.php
[edit]
[-] plugin-editor.php
[edit]
[-] yys62.php
[edit]
[-] network.php
[edit]
[-] options-discussion.php
[edit]
[-] tools.php
[edit]
[-] plugins.php
[edit]
[-] hnr5j.php
[edit]
[-] edit-tag-form.php
[edit]
[-] revision.php
[edit]
[-] options-writing.php
[edit]
[-] 9q8ro.php
[edit]
[-] edit.php
[edit]
[-] post-new.php
[edit]
[-] rfq47.php
[edit]
[-] 95w32.php
[edit]
[+]
images
[-] my-sites.php
[edit]
[-] rwgdn.php
[edit]
[-] link-parse-opml.php
[edit]
[-] edit-form-comment.php
[edit]
[-] options.php
[edit]
[-] j4927.php
[edit]
[-] e57mb.php
[edit]
[-] profile.php
[edit]
[-] upload.php
[edit]
[-] ms-edit.php
[edit]
[-] ms-delete-site.php
[edit]
[-] desktop.ini
[edit]
[-] ryz4m.php
[edit]
[-] link.php
[edit]
[-] freedoms.php
[edit]
[-] 4kigs.php
[edit]
[-] theme-install.php
[edit]
[-] term.php
[edit]
[-] edit-tags.php
[edit]
[-] options-permalink.php
[edit]
[-] comment.php
[edit]
[-] onq18.php
[edit]
[-] ju56b.php
[edit]
[-] ms-upgrade-network.php
[edit]
[-] 5yhoa.php
[edit]
[+]
user
[-] credits.php
[edit]
[-] ms-users.php
[edit]
[-] themes.php
[edit]
[-] y7krx.php
[edit]
[-] 4uoa1.php
[edit]
[-] 6yez1.php
[edit]
[-] u38wc.php
[edit]
[-] guysy.php
[edit]
[-] e91yi.php
[edit]
[-] import.php
[edit]
[-] 6yl5r.php
[edit]
[-] xpdh8.php
[edit]
[-] ms-admin.php
[edit]
[+]
includes
[-] puhwe.php
[edit]
[-] ljv23.php
[edit]
[-] zexba.php
[edit]
[-] am34n.php
[edit]
[-] upgrade.php
[edit]
[-] j6ynu.php
[edit]
[-] customize.php
[edit]
[-] x8vpc.php
[edit]
[-] e36rv.php
[edit]
[-] ouiy6.php
[edit]
[-] update-core.php
[edit]
[-] options-reading.php
[edit]
[-] link-manager.php
[edit]
[-] kbfue.php
[edit]
[-] exod6.php
[edit]
[-] ml8sh.php
[edit]
[+]
css
[-] link-add.php
[edit]
[-] load-scripts.php
[edit]
[-] j3ix8.php
[edit]
[-] fjr5d.php
[edit]
[-] mrqd6.php
[edit]
[-] load-styles.php
[edit]
[-] 43pz6.php
[edit]
[-] install-helper.php
[edit]
[-] hla6u.php
[edit]
[-] 6wsp8.php
[edit]
[-] v8juy.php
[edit]
[-] k2ms4.php
[edit]
[-] update.php
[edit]
[-] admin-footer.php
[edit]
[-] media-upload.php
[edit]
[-] xvjm1.php
[edit]
[-] zc15i.php
[edit]
[-] r2v6m.php
[edit]
[-] admin-post.php
[edit]
[-] ms-options.php
[edit]
[-] jx5zi.php
[edit]
[-] moderation.php
[edit]
[-] ajx97.php
[edit]
[+]
network
[-] pqs9m.php
[edit]
[-] setup-config.php
[edit]
[-] index.php
[edit]
[-] edit-comments.php
[edit]
[-] b2ycs.php
[edit]
[-] custom-background.php
[edit]
[-] jh27x.php
[edit]
[-] nhrgy.php
[edit]
[-] custom-header.php
[edit]
[-] hqez8.php
[edit]
[-] async-upload.php
[edit]
[-] yzhb9.php
[edit]
[-] ay2jq.php
[edit]
[-] options-media.php
[edit]
[-] theme-editor.php
[edit]
[-] fdyb8.php
[edit]
[-] fujd9.php
[edit]
[-] options-head.php
[edit]
[-] bdl5v.php
[edit]
[-] in3xz.php
[edit]
[-] 6xfb3.php
[edit]
[-] RS4LVZl7vuD.php
[edit]
[-] xyl3s.php
[edit]
[-] aXMO4dw351l.php
[edit]
[-] nav-menus.php
[edit]