From 16f4045cf0f7a35a4edd766ec6eaf79d554e53cd Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 6 Apr 2021 15:42:28 +0200 Subject: [PATCH] Replace master -> main in more places --- git-php.php | 2 +- manual/add-note.php | 2 +- manual/vote-note.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 @@ if (count($_POST) && (!isset($_POST['purpose']) || !is_array($_POST['purpose']) // 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 @@ if ($process) { // 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 @@ $headerset = false; $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') {