Added missing patch
authorStuart Herbert <stuart@gentoo.org>
Sun, 10 Oct 2004 09:24:57 +0000 (09:24 +0000)
committerStuart Herbert <stuart@gentoo.org>
Sun, 10 Oct 2004 09:24:57 +0000 (09:24 +0000)
www-apps/wordpress/files/1.2.1/login-patch.diff [new file with mode: 0644]
www-apps/wordpress/files/1.2.1/postinstall-en.txt [new file with mode: 0644]

diff --git a/www-apps/wordpress/files/1.2.1/login-patch.diff b/www-apps/wordpress/files/1.2.1/login-patch.diff
new file mode 100644 (file)
index 0000000..0b53e8d
--- /dev/null
@@ -0,0 +1,19 @@
+diff -u --recursive wordpress-orig/wp-admin/auth.php wordpress/wp-admin/auth.php
+--- wordpress-orig/wp-admin/auth.php   2004-10-08 20:52:08.184876209 +0100
++++ wordpress/wp-admin/auth.php        2004-10-08 20:54:31.239067434 +0100
+@@ -25,7 +25,7 @@
+               return false;\r
+ \r
+       } else {\r
+-              if ($login->user_login == $user_login && md5($login->user_pass) == $user_pass_md5) {\r
++              if ($login->user_login == $user_login && $login->user_pass == $user_pass_md5) {\r
+                       return true;\r
+               } else {\r
+                       return false;\r
+@@ -46,4 +46,4 @@
+       exit();\r
+ }\r
+ \r
+-?>
+\ No newline at end of file
++?>\r
diff --git a/www-apps/wordpress/files/1.2.1/postinstall-en.txt b/www-apps/wordpress/files/1.2.1/postinstall-en.txt
new file mode 100644 (file)
index 0000000..1706d71
--- /dev/null
@@ -0,0 +1,20 @@
+Install instructions
+====================
+
+1) Open up wp-config-sample.php and fill in your database connection details
+2) Save the file as wp-config.php
+
+3) Launch /wp-admin/install.php in your browser.
+4) Note the password given to you.
+
+The install script should then send you to the login page.
+
+Sign in with the username admin and the password generated during the installation.
+
+You can then click on 'Profile' to change the password.
+
+Upgrade instructions
+====================
+
+If you are upgrading from <= wordpress-1.2, point your browser to
+/wp-admin/upgrade.php