From 5bf66662a9bdd62c5bccab15e607cd95cfb8fcab Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 27 Jul 2020 10:05:23 +0200 Subject: Removed wordpress and phpmyadmin, my server doesn't handle it well and it brings shame on my familly --- srcs/wordpress/wp-admin/edit-link-form.php | 171 ----------------------------- 1 file changed, 171 deletions(-) delete mode 100644 srcs/wordpress/wp-admin/edit-link-form.php (limited to 'srcs/wordpress/wp-admin/edit-link-form.php') diff --git a/srcs/wordpress/wp-admin/edit-link-form.php b/srcs/wordpress/wp-admin/edit-link-form.php deleted file mode 100644 index 05c3751..0000000 --- a/srcs/wordpress/wp-admin/edit-link-form.php +++ /dev/null @@ -1,171 +0,0 @@ -Links / Edit Link' ), 'link-manager.php' ); - $submit_text = __( 'Update Link' ); - $form_name = 'editlink'; - $nonce_action = 'update-bookmark_' . $link_id; -} else { - /* translators: %s: URL to Links screen. */ - $heading = sprintf( __( 'Links / Add New Link' ), 'link-manager.php' ); - $submit_text = __( 'Add Link' ); - $form_name = 'addlink'; - $nonce_action = 'add-bookmark'; -} - -require_once( ABSPATH . 'wp-admin/includes/meta-boxes.php' ); - -add_meta_box( 'linksubmitdiv', __( 'Save' ), 'link_submit_meta_box', null, 'side', 'core' ); -add_meta_box( 'linkcategorydiv', __( 'Categories' ), 'link_categories_meta_box', null, 'normal', 'core' ); -add_meta_box( 'linktargetdiv', __( 'Target' ), 'link_target_meta_box', null, 'normal', 'core' ); -add_meta_box( 'linkxfndiv', __( 'Link Relationship (XFN)' ), 'link_xfn_meta_box', null, 'normal', 'core' ); -add_meta_box( 'linkadvanceddiv', __( 'Advanced' ), 'link_advanced_meta_box', null, 'normal', 'core' ); - -/** This action is documented in wp-admin/includes/meta-boxes.php */ -do_action( 'add_meta_boxes', 'link', $link ); - -/** - * Fires when link-specific meta boxes are added. - * - * @since 3.0.0 - * - * @param object $link Link object. - */ -do_action( 'add_meta_boxes_link', $link ); - -/** This action is documented in wp-admin/includes/meta-boxes.php */ -do_action( 'do_meta_boxes', 'link', 'normal', $link ); -/** This action is documented in wp-admin/includes/meta-boxes.php */ -do_action( 'do_meta_boxes', 'link', 'advanced', $link ); -/** This action is documented in wp-admin/includes/meta-boxes.php */ -do_action( 'do_meta_boxes', 'link', 'side', $link ); - -add_screen_option( - 'layout_columns', - array( - 'max' => 2, - 'default' => 2, - ) -); - -get_current_screen()->add_help_tab( - array( - 'id' => 'overview', - 'title' => __( 'Overview' ), - 'content' => - '

' . __( 'You can add or edit links on this screen by entering information in each of the boxes. Only the link’s web address and name (the text you want to display on your site as the link) are required fields.' ) . '

' . - '

' . __( 'The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don’t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.' ) . '

' . - '

' . __( 'XFN stands for XHTML Friends Network, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking.' ) . '

', - ) -); - -get_current_screen()->set_help_sidebar( - '

' . __( 'For more information:' ) . '

' . - '

' . __( 'Documentation on Creating Links' ) . '

' . - '

' . __( 'Support' ) . '

' -); - -require_once( ABSPATH . 'wp-admin/admin-header.php' ); -?> - -
-

- -

- - - -
- - -

- - -
- - -
- -
-
-
-

-
- -

-
-
- -
-

-
- -

http://wordpress.org/ — don’t forget the http://' ); ?>

-
-
- -
-

-
- -

-
-
-
- -
- -
-
- -
- - - - - - - - -
-
- -
-
-- cgit