WordPress.org

Make WordPress Core

Ticket #25447: 25447.3.diff

File 25447.3.diff, 1.2 KB (added by raamdev, 8 years ago)

Recreated the patch from the root directory

  • wp-admin/edit-link-form.php

    diff --git wp-admin/edit-link-form.php wp-admin/edit-link-form.php
    index ad2c6e5..e77b1ea 100644
    add_meta_box('linktargetdiv', __('Target'), 'link_target_meta_box', null, 'norma 
    3030add_meta_box('linkxfndiv', __('Link Relationship (XFN)'), 'link_xfn_meta_box', null, 'normal', 'core');
    3131add_meta_box('linkadvanceddiv', __('Advanced'), 'link_advanced_meta_box', null, 'normal', 'core');
    3232
     33/**
     34 * Fires after all built-in meta boxes have been added.
     35 *
     36 * @since 2.7.0
     37 *
     38 * @param string  $post_type Post type.
     39 * @param object  $link      Link being edited.
     40 */
    3341do_action('add_meta_boxes', 'link', $link);
     42
     43/**
     44 * Fires after all built-in meta boxes have been added.
     45 *
     46 * @since 3.0.0
     47 *
     48 * @param object  $link      Link being edited.
     49 */
    3450do_action('add_meta_boxes_link', $link);
    3551
    3652/** This action is documented in wp-admin/edit-form-advanced.php */
    wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?> 
    110126<div id="postbox-container-1" class="postbox-container">
    111127<?php
    112128
     129/**
     130 * Fires before submit link box.
     131 *
     132 * @since 2.5.0
     133 */
    113134do_action('submitlink_box');
    114135$side_meta_boxes = do_meta_boxes( 'link', 'side', $link );
    115136