Author: Nikita Popov (nikic)
Date: 2021-04-06T15:42:28+02:00
Commit:
https://github.com/php/web-php/commit/16f4045cf0f7a35a4edd766ec6eaf79d554e53cd
Raw diff:
https://github.com/php/web-php/commit/16f4045cf0f7a35a4edd766ec6eaf79d554e53cd.diff
Replace master -> main in more places
Changed paths:
M git-php.php
M manual/add-note.php
M manual/vote-note.php
Diff:
diff --git a/git-php.php b/git-php.php
index a0e5e5e91..ddac98589 100644
--- a/git-php.php
+++ b/git-php.php
@@ -87,7 +87,7 @@
// Post the request if there is no error
if (!$error) {
$error = posttohost(
- "http://master.php.net/entry/svn-account.php",
+ "https://main.php.net/entry/svn-account.php",
array(
"username" => $cleaned['id'],
"name" => $cleaned['fullname'],
diff --git a/manual/add-note.php b/manual/add-note.php
index e42e449cc..6403e65c8 100644
--- a/manual/add-note.php
+++ b/manual/add-note.php
@@ -94,7 +94,7 @@
// Post the variables to the central user note script
$result = posttohost(
- "http://master.php.net/entry/user-note.php",
+ "https://main.php.net/entry/user-note.php",
array(
'user' => $user,
'note' => $note,
diff --git a/manual/vote-note.php b/manual/vote-note.php
index 0cc5e1554..4831c85d1 100644
--- a/manual/vote-note.php
+++ b/manual/vote-note.php
@@ -12,7 +12,7 @@
$BACKpage = htmlspecialchars(isset($_REQUEST['page']) ? $_REQUEST['page'] :
'');
$BACKid = htmlspecialchars(isset($_REQUEST['id']) ? $_REQUEST['id'] : '');
$link = "/{$BACKpage}#{$BACKid}";
-$master_url = "http://master.php.net/entry/user-notes-vote.php";
+$master_url = "https://main.php.net/entry/user-notes-vote.php";
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php