Browse Source

first function can be used in other plugins. second function is private and
available in both stable and devel

tokul 20 năm trước cách đây
mục cha
commit
496791f313
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      plugins/administrator/auth.php

+ 2 - 2
plugins/administrator/auth.php

@@ -17,7 +17,6 @@
  * Check if user has access to administrative functions
  *
  * @return boolean
- * @access private
  */
 function adm_check_user() {
     global $PHP_SELF;
@@ -53,7 +52,8 @@ function adm_check_user() {
  * Removes whitespace from array values
  * @param string $value array value that has to be trimmed
  * @param string $key array key
- * @since 1.5.1
+ * @since 1.5.1 and 1.4.5
+ * @access private
  */
 function adm_array_trim(&$value,$key) {
     $value=trim($value);