[wp-meta] [Making WordPress.org] #666: Wrong Plugin shown from view details in wp-admin/plugins.php
Making WordPress.org
noreply at wordpress.org
Fri Jan 29 21:05:27 UTC 2016
#666: Wrong Plugin shown from view details in wp-admin/plugins.php
---------------------+------------------------------
Reporter: anmari | Owner: ocean90
Type: defect | Status: reviewing
Priority: normal | Component: Plugin Directory
Resolution: | Keywords:
---------------------+------------------------------
Changes (by ocean90):
* owner: => ocean90
* status: new => reviewing
Comment:
{{{#!php
<?php
include_once( ABSPATH . 'wp-admin/includes/plugin-install.php' ); //for
plugins_api..
$api = plugins_api( 'plugin_information', array(
'slug' => 'maintenance-mode',
) );
var_dump( $api );
}}}
returns
{{{
object(WP_Error)#346 (2) {
["errors"]=>
array(1) {
["plugins_api_failed"]=>
array(1) {
[0]=>
string(219) "An unexpected error occurred. Something may be wrong
with WordPress.org or this server’s configuration. If you continue to have
problems, please try the support forums."
}
}
["error_data"]=>
array(1) {
["plugins_api_failed"]=>
string(2) "N;"
}
}
}}}
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/666#comment:3>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list