diff --git a/build/index.php b/build/index.php index 28594a6..792f2f0 100644 --- a/build/index.php +++ b/build/index.php @@ -396,7 +396,7 @@ if($settings->sessionprefix == "auto") ///////////////////////////////////////////////////////////////////////////// /** The version of Pepperminty Wiki currently running. */ $version = "v0.17-dev"; -$commit = "f7f408280f0309e628099c4ba0f0cc59856742f7"; +$commit = "b6eda24adaf3607cf3437be0b8419215b52d662b"; /// Environment /// /** Holds information about the current request environment. */ $env = new stdClass(); diff --git a/modules/page-edit.php b/modules/page-edit.php index 2b65da6..fe9b35c 100644 --- a/modules/page-edit.php +++ b/modules/page-edit.php @@ -536,7 +536,12 @@ DIFFSCRIPT; . "

"); } ]); - +/** + * Generates a unique hash of a page's content for edit conflict detection + * purposes. + * @param string $page_data The page text to hash. + * @return string A hash of the given page text. + */ function generate_page_hash($page_data) { return sha1($page_data); } diff --git a/modules/page-login.php b/modules/page-login.php index 87b541a..c0115f0 100644 --- a/modules/page-login.php +++ b/modules/page-login.php @@ -159,6 +159,9 @@ register_module([ } ]); +/** + * Recalculates and updates the password hashing cost. + */ function do_password_hash_code_update() { global $settings, $paths;