This commit is contained in:
Pingal Dixit 2021-12-17 16:33:15 +05:30
Родитель 33fde78668
Коммит 56924300f5
3 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -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 {