[wp-meta] [Making WordPress.org] #211: Credits API: (groups - props - placeholders) wrong value for version

Making WordPress.org noreply at wordpress.org
Sat Oct 19 17:55:08 UTC 2013


#211: Credits API: (groups - props - placeholders) wrong value for version
---------------------+-------------------------------
  Reporter:  knutsp  |      Owner:
      Type:  defect  |     Status:  new
  Priority:  normal  |  Component:  api.wordpress.org
Resolution:          |   Keywords:
---------------------+-------------------------------

Comment (by knutsp):

 I added a few lines to credits.php just after `wp_remote_get`. I also
 commented out the line with `get_site_transient`
 {{{
 file_put_contents( '/home/x/public_html/credits-api.txt',
 "http://api.wordpress.org/core/credits/1.1/?version=$wp_version&locale=$locale"
 );
 file_put_contents( '/home/x/public_html/credits-api.txt', PHP_EOL,
 FILE_APPEND );
 file_put_contents( '/home/x/public_html/credits-api.txt', $response,
 FILE_APPEND );
 }}}

 PHP 5.4.19
 WordPress Multisite
 All of cURL, fsockopen and streams available according to "Core Control"

 Se file credits-api.txt

--
Ticket URL: <http://meta.trac.wordpress.org/ticket/211#comment:2>
Making WordPress.org <http://meta.trac.wordpress.org/>
WordPress blogging software


More information about the wp-meta mailing list