_wp_credits_build_object_link

The timeline below displays how wordpress function _wp_credits_build_object_link has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.3

/**
 * Retrieves the link to an external library used in WordPress.
 *
 * @access private
 * @since 3.2.0
 *
 * @param string $data External library data (passed by reference).
 */
function _wp_credits_build_object_link(&$data)
{
    $data = '<a href="' . esc_url($data[1]) . '">' . esc_html($data[0]) . '</a>';
}

WordPress Version: 4.9

/**
 * Retrieve the link to an external library used in WordPress.
 *
 * @access private
 * @since 3.2.0
 *
 * @param string $data External library data (passed by reference).
 */
function _wp_credits_build_object_link(&$data)
{
    $data = '<a href="' . esc_url($data[1]) . '">' . esc_html($data[0]) . '</a>';
}

WordPress Version: 4.5

/**
 * Retrieve the link to an external library used in WordPress.
 *
 * @access private
 * @since 3.2.0
 *
 * @param string $data External library data, passed by reference.
 */
function _wp_credits_build_object_link(&$data)
{
    $data = '<a href="' . esc_url($data[1]) . '">' . esc_html($data[0]) . '</a>';
}

WordPress Version: 4.3

/**
 * Retrieve the link to an external library used in WordPress.
 *
 * @access private
 * @since 3.2.0
 *
 * @param string &$data External library data, passed by reference.
 */
function _wp_credits_build_object_link(&$data)
{
    $data = '<a href="' . esc_url($data[1]) . '">' . esc_html($data[0]) . '</a>';
}

WordPress Version: 3.7

/**
 * Retrieve the link to an external library used in WordPress.
 *
 * @access private
 * @since 3.2.0
 *
 * @param string &$data External library data, passed by reference.
 * @return string Link to the external library.
 */
function _wp_credits_build_object_link(&$data)
{
    $data = '<a href="' . esc_url($data[1]) . '">' . $data[0] . '</a>';
}