v1.2.0
This commit is contained in:
parent
693e5ae2e6
commit
7d3fc1969d
52 changed files with 1776 additions and 295 deletions
|
|
@ -135,10 +135,10 @@ function robotstxt_docmd_get_repository_contents_recursive( string $owner, strin
|
|||
|
||||
$url = sprintf(
|
||||
'https://api.github.com/repos/%s/%s/contents/%s?ref=%s',
|
||||
$owner,
|
||||
$repo,
|
||||
$path,
|
||||
$branch
|
||||
rawurlencode( $owner ),
|
||||
rawurlencode( $repo ),
|
||||
rawurlencode( $path ),
|
||||
rawurlencode( $branch )
|
||||
);
|
||||
|
||||
$response = wp_remote_get(
|
||||
|
|
@ -239,10 +239,10 @@ function robotstxt_docmd_get_file_content( string $owner, string $repo, string $
|
|||
|
||||
$url = sprintf(
|
||||
'https://api.github.com/repos/%s/%s/contents/%s?ref=%s',
|
||||
$owner,
|
||||
$repo,
|
||||
$file_path,
|
||||
$branch
|
||||
rawurlencode( $owner ),
|
||||
rawurlencode( $repo ),
|
||||
rawurlencode( $file_path ),
|
||||
rawurlencode( $branch )
|
||||
);
|
||||
|
||||
$response = wp_remote_get(
|
||||
|
|
|
|||
Loading…
Reference in a new issue