Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add WpOrgApi abstraction to handle WordPress.org API requests#5526

Merged
schlessera merged 8 commits into
masterwp-cli/wp-cli:masterfrom
add/wp-org-api-abstractionwp-cli/wp-cli:add/wp-org-api-abstractionCopy head branch name to clipboard
May 10, 2021
Merged

Add WpOrgApi abstraction to handle WordPress.org API requests#5526
schlessera merged 8 commits into
masterwp-cli/wp-cli:masterfrom
add/wp-org-api-abstractionwp-cli/wp-cli:add/wp-org-api-abstractionCopy head branch name to clipboard

Conversation

@schlessera

Copy link
Copy Markdown
Member

This PR adds an abstraction for handling requests against the WordPress.org API.

The following methods are implemented for now:

  • WpApiOrg::get_core_checksums( $version, $locale = 'en_US' )
  • WpApiOrg::get_core_version_check( $locale = 'en_US' )
  • WpApiOrg::get_core_download_offer( $locale = 'en_US' )
  • WpApiOrg::get_plugin_checksums( $plugin, $version )
  • WpApiOrg::get_plugin_info( $plugin, $locale = 'en_US' )
  • WpApiOrg::get_theme_info( $theme, $locale = 'en_US' )
  • WpApiOrg::get_salts()

@schlessera schlessera requested a review from a team as a code owner May 10, 2021 13:22
@schlessera schlessera merged commit e067300 into master May 10, 2021
@schlessera schlessera deleted the add/wp-org-api-abstraction branch May 10, 2021 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.