~canonical-sysadmins/wordpress/4.7

« back to all changes in this revision

Viewing changes to wp-trackback.php

  • Committer: Nick Moffitt
  • Date: 2015-01-15 11:04:26 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: nick.moffitt@canonical.com-20150115110426-5stm1p14cfnxrtme
New Upstream Version 4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 *
21
21
 * @since 0.71
22
22
 *
23
 
 * @param int|bool $error         Whether there was an error.
24
 
 *                                Default '0'. Accepts '0' or '1'.
25
 
 * @param string   $error_message Error message if an error occurred.
 
23
 * @param mixed  $error         Whether there was an error.
 
24
 *                              Default '0'. Accepts '0' or '1', true or false.
 
25
 * @param string $error_message Error message if an error occurred.
26
26
 */
27
27
function trackback_response($error = 0, $error_message = '') {
28
28
        header('Content-Type: text/xml; charset=' . get_option('blog_charset') );