Make WordPress Core

Ticket #25447: 25447.diff

File 25447.diff, 2.4 KB (added by raamdev, 11 years ago)
  • edit-link-form.php

    diff --git a/edit-link-form.php b/edit-link-form.php
    index ad2c6e5..ec021df 100644
    a b 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
    36 /** This action is documented in wp-admin/edit-form-advanced.php */
     52/**
     53 * Fires after all built-in meta boxes have been added.
     54 *
     55 * @since 2.7.0
     56 *
     57 * @param string  'link'     The text 'link' for post type link.
     58 * @param string  'normal'   The text 'normal' for normal meta box context.
     59 * @param object  $link      Link being edited.
     60 */
    3761do_action('do_meta_boxes', 'link', 'normal', $link);
    38 /** This action is documented in wp-admin/edit-form-advanced.php */
     62
     63/**
     64 * Fires after all built-in meta boxes have been added.
     65 *
     66 * @since 2.7.0
     67 *
     68 * @param string  'link'     The text 'link' for post type link.
     69 * @param string  'advanced'   The text 'advanced' for advanced meta box context.
     70 * @param object  $link      Link being edited.
     71 */
    3972do_action('do_meta_boxes', 'link', 'advanced', $link);
    40 /** This action is documented in wp-admin/edit-form-advanced.php */
     73
     74/**
     75 * Fires after all built-in meta boxes have been added.
     76 *
     77 * @since 2.7.0
     78 *
     79 * @param string  'link'     The text 'link' for post type link.
     80 * @param string  'side'   The text 'side' for side meta box context.
     81 * @param object  $link      Link being edited.
     82 */
    4183do_action('do_meta_boxes', 'link', 'side', $link);
    4284
    4385add_screen_option('layout_columns', array('max' => 2, 'default' => 2) );
    wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?> 
    110152<div id="postbox-container-1" class="postbox-container">
    111153<?php
    112154
     155/**
     156 * Fires before submit link box.
     157 *
     158 * @since 2.5.0
     159 */
    113160do_action('submitlink_box');
    114161$side_meta_boxes = do_meta_boxes( 'link', 'side', $link );
    115162