minor changes
This commit is contained in:
Родитель
33fde78668
Коммит
56924300f5
|
@ -79,7 +79,7 @@
|
|||
"build": "node scripts/build.js",
|
||||
"test": "node scripts/test.js",
|
||||
"clean": "rimraf build publish",
|
||||
"zip": "mkdir publish && cd build/ && copy ..\\*.md . && copy ..\\LICENSE.txt . && rimraf index.html && bestzip ../publish/plugin.zip *"
|
||||
"zip": "mkdir publish && cd build/ && copy ..\\*.md . && copy ..\\LICENSE.txt . && rimraf index.html && bestzip ../publish/IndexNow.zip *"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "react-app"
|
||||
|
|
|
@ -250,12 +250,12 @@ class BWT_IndexNow_Admin_Routes {
|
|||
);
|
||||
if ( true === WP_DEBUG && true === WP_DEBUG_LOG) error_log($data);
|
||||
$response = wp_remote_post(
|
||||
' https://api.indexnow.org/indexnow/',
|
||||
'https://api.indexnow.org/indexnow/',
|
||||
array(
|
||||
'body' => $data,
|
||||
'headers' => array(
|
||||
'Content-Type' => 'application/json',
|
||||
'X-Source-Info' => 'wordpress_' . $this->version . '_' . $is_manual_submission
|
||||
'X-Source-Info' => 'https://wordpress.com/' . $this->version . '/' . $is_manual_submission
|
||||
),
|
||||
)
|
||||
);
|
||||
|
|
|
@ -73,7 +73,6 @@
|
|||
|
||||
i {
|
||||
font-size: $bwt_smallIconSize;
|
||||
color: $bwt_darkGray30Color;
|
||||
}
|
||||
|
||||
.bwtIconTxtPair {
|
||||
|
|
Загрузка…
Ссылка в новой задаче