[wp-trac] [WordPress Trac] #39769: plugin rating: web vs backend discrepancies
WordPress Trac
noreply at wordpress.org
Thu Feb 2 16:23:51 UTC 2017
#39769: plugin rating: web vs backend discrepancies
----------------------------------------+--------------------------------
Reporter: agm65 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.8
Component: Plugins | Version: 4.7.2
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses: ui, accessibility
----------------------------------------+--------------------------------
Comment (by agm65):
Maybe is version?
I'm using 4.8-alpha-40038 (not present in select box)
{{{
grep -nr plugins_api_args .
./_wp-admin/includes/plugin-install.php:17: * The first filter, {@see
'plugins_api_args'}, is for the args and gives the action
./_wp-admin/includes/plugin-install.php:18: * as the second parameter. The
hook for {@see 'plugins_api_args'} must ensure that
./_wp-admin/includes/plugin-install.php:125: $args = apply_filters(
'plugins_api_args', $args, $action );
./wp-admin/includes/plugin-install.php:17: * The first filter, {@see
'plugins_api_args'}, is for the args and gives the action
./wp-admin/includes/plugin-install.php:18: * as the second parameter. The
hook for {@see 'plugins_api_args'} must ensure that
./wp-admin/includes/plugin-install.php:125: $args = apply_filters(
'plugins_api_args', $args, $action );
}}}
{{{
grep -nr plugins_api .
./wp-content/plugins/siteorigin-panels/inc/plugin-activation.php:70:
require_once ABSPATH . 'wp-admin/includes/plugin-install.php'; // Need for
plugins_api
./wp-content/plugins/wordpress-seo/vendor/yoast/license-manager/class-
plugin-update-manager.php:29: add_filter(
'plugins_api', array( $this, 'plugins_api_filter' ), 10, 3 );
./wp-content/plugins/wordpress-seo/vendor/yoast/license-manager/class-
plugin-update-manager.php:74: public function
plugins_api_filter( $data, $action = '', $args = null ) {
./wp-content/themes/metro-creativex/class-tgm-plugin-activation.php:761:
$api = ( 'repo' === $this->plugins[ $slug ]['source_type'] ) ?
$this->get_plugins_api( $slug ) : null;
./wp-content/themes/metro-creativex/class-tgm-plugin-activation.php:1493:
$api = $this->get_plugins_api( $slug );
./wp-content/themes/metro-creativex/class-tgm-plugin-activation.php:1510:
protected function get_plugins_api( $slug ) {
./wp-content/themes/metro-creativex/class-tgm-plugin-activation.php:1514:
if ( ! function_exists( 'plugins_api' ) ) {
./wp-content/themes/metro-creativex/class-tgm-plugin-activation.php:1518:
$response = plugins_api( 'plugin_information', array( 'slug' => $slug,
'fields' => array( 'sections' => false ) ) );
./wp-content/themes/metro-creativex/class-tgm-plugin-activation.php:1692:
$api = $this->get_plugins_api( $slug );
./wp-content/themes/verbosa/cryout/tgmpa-class.php:758:
$api = ( 'repo' === $this->plugins[ $slug ]['source_type'] ) ?
$this->get_plugins_api( $slug ) : null;
./wp-content/themes/verbosa/cryout/tgmpa-class.php:1533:
$api = $this->get_plugins_api( $slug );
./wp-content/themes/verbosa/cryout/tgmpa-class.php:1550:
protected function get_plugins_api( $slug ) {
./wp-content/themes/verbosa/cryout/tgmpa-class.php:1554:
if ( ! function_exists( 'plugins_api' ) ) {
./wp-content/themes/verbosa/cryout/tgmpa-class.php:1558:
$response = plugins_api( 'plugin_information', array( 'slug' => $slug,
'fields' => array( 'sections' => false ) ) );
./wp-content/themes/verbosa/cryout/tgmpa-class.php:1761:
$api = $this->get_plugins_api( $slug );
./wp-content/themes/canape/inc/plugin-enhancements.php:344: *
plugins_api() function
./wp-content/themes/canape/inc/plugin-enhancements.php:348:
$plugin_information = plugins_api( 'plugin_information', array( 'slug' =>
$slug ) );
./wp-content/themes/sapor/inc/plugin-enhancements.php:350: *
plugins_api() function
./wp-content/themes/sapor/inc/plugin-enhancements.php:354:
$plugin_information = plugins_api( 'plugin_information', array( 'slug' =>
$slug ) );
./_wp-admin/includes/ajax-actions.php:3596: $api = plugins_api(
'plugin_information', array(
./_wp-admin/includes/class-wp-plugin-install-list-table.php:208:
$api = plugins_api( 'query_plugins', $args );
./_wp-admin/includes/plugin-install.php:17: * The first filter, {@see
'plugins_api_args'}, is for the args and gives the action
./_wp-admin/includes/plugin-install.php:18: * as the second parameter. The
hook for {@see 'plugins_api_args'} must ensure that
./_wp-admin/includes/plugin-install.php:21: * The second filter, {@see
'plugins_api'}, allows a plugin to override the WordPress.org
./_wp-admin/includes/plugin-install.php:26: * Finally, the third filter,
{@see 'plugins_api_result'}, makes it possible to filter the
./_wp-admin/includes/plugin-install.php:98: * {@link
https://developer.wordpress.org/reference/functions/plugins_api/ function
reference article}
./_wp-admin/includes/plugin-install.php:101:function plugins_api( $action,
$args = array() ) {
./_wp-admin/includes/plugin-install.php:125: $args = apply_filters(
'plugins_api_args', $args, $action );
./_wp-admin/includes/plugin-install.php:141: $res = apply_filters(
'plugins_api', false, $action, $args );
./_wp-admin/includes/plugin-install.php:163: $res = new
WP_Error('plugins_api_failed', __( '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 <a
href="https://wordpress.org/support/">support forums</a>.' ),
$request->get_error_message() );
./_wp-admin/includes/plugin-install.php:167:
$res = new WP_Error('plugins_api_failed', __( '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 <a
href="https://wordpress.org/support/">support forums</a>.' ),
wp_remote_retrieve_body( $request ) );
./_wp-admin/includes/plugin-install.php:182: return apply_filters(
'plugins_api_result', $res, $action, $args );
./_wp-admin/includes/plugin-install.php:198: $tags =
plugins_api('hot_tags', $args);
./_wp-admin/includes/plugin-install.php:435: $api = plugins_api(
'plugin_information', array(
./_wp-admin/update.php:98: include_once( ABSPATH . 'wp-
admin/includes/plugin-install.php' ); //for plugins_api..
./_wp-admin/update.php:101: $api = plugins_api(
'plugin_information', array(
./wp-admin/update.php:98: include_once( ABSPATH . 'wp-
admin/includes/plugin-install.php' ); //for plugins_api..
./wp-admin/update.php:101: $api = plugins_api(
'plugin_information', array(
./wp-admin/includes/ajax-actions.php:3591: $api = plugins_api(
'plugin_information', array(
./wp-admin/includes/class-wp-plugin-install-list-table.php:207:
$api = plugins_api( 'query_plugins', $args );
./wp-admin/includes/plugin-install.php:17: * The first filter, {@see
'plugins_api_args'}, is for the args and gives the action
./wp-admin/includes/plugin-install.php:18: * as the second parameter. The
hook for {@see 'plugins_api_args'} must ensure that
./wp-admin/includes/plugin-install.php:21: * The second filter, {@see
'plugins_api'}, allows a plugin to override the WordPress.org
./wp-admin/includes/plugin-install.php:26: * Finally, the third filter,
{@see 'plugins_api_result'}, makes it possible to filter the
./wp-admin/includes/plugin-install.php:98: * {@link
https://developer.wordpress.org/reference/functions/plugins_api/ function
reference article}
./wp-admin/includes/plugin-install.php:101:function plugins_api( $action,
$args = array() ) {
./wp-admin/includes/plugin-install.php:125: $args = apply_filters(
'plugins_api_args', $args, $action );
./wp-admin/includes/plugin-install.php:141: $res = apply_filters(
'plugins_api', false, $action, $args );
./wp-admin/includes/plugin-install.php:170: $res = new
WP_Error( 'plugins_api_failed',
./wp-admin/includes/plugin-install.php:181:
$res = new WP_Error( 'plugins_api_failed',
./wp-admin/includes/plugin-install.php:204: return apply_filters(
'plugins_api_result', $res, $action, $args );
./wp-admin/includes/plugin-install.php:220: $tags =
plugins_api('hot_tags', $args);
./wp-admin/includes/plugin-install.php:463: $api = plugins_api(
'plugin_information', array(
}}}
{{{
grep -nr plugins_api_result .
./_wp-admin/includes/plugin-install.php:26: * Finally, the third filter,
{@see 'plugins_api_result'}, makes it possible to filter the
./_wp-admin/includes/plugin-install.php:182: return apply_filters(
'plugins_api_result', $res, $action, $args );
./wp-admin/includes/plugin-install.php:26: * Finally, the third filter,
{@see 'plugins_api_result'}, makes it possible to filter the
./wp-admin/includes/plugin-install.php:204: return apply_filters(
'plugins_api_result', $res, $action, $args );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39769#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list