From f8a32e8d475981f31aa7bb9055289ed6e4750171 Mon Sep 17 00:00:00 2001 From: westi Date: Sat, 14 Jun 2008 16:36:13 +0000 Subject: [PATCH] Updated phpdoc for external libs. See #7038 props jacobsantos. git-svn-id: http://svn.automattic.com/wordpress/trunk@8082 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-phpass.php | 17 +++++++------ wp-includes/class-phpmailer.php | 21 ++++++++-------- wp-includes/class-pop3.php | 5 ++++ wp-includes/class-smtp.php | 26 ++++++++++---------- wp-includes/class-snoopy.php | 43 ++++++++++++++++----------------- 5 files changed, 58 insertions(+), 54 deletions(-) diff --git a/wp-includes/class-phpass.php b/wp-includes/class-phpass.php index c964b09b1..70f9bdf5c 100644 --- a/wp-includes/class-phpass.php +++ b/wp-includes/class-phpass.php @@ -7,20 +7,12 @@ * @link http://www.openwall.com/phpass/ */ -# -# Portable PHP password hashing framework. -# -# Version 0.1 / genuine. # # Written by Solar Designer in 2004-2006 and placed in # the public domain. # # There's absolutely no warranty. # -# The homepage URL for this framework is: -# -# http://www.openwall.com/phpass/ -# # Please be sure to update the Version line if you edit this file in any way. # It is suggested that you leave the main version number intact, but indicate # your project name (after the slash) and add your own revision information. @@ -32,6 +24,15 @@ # Obviously, since this code is in the public domain, the above are not # requirements (there can be none), but merely suggestions. # + +/** + * Portable PHP password hashing framework. + * + * @package phpass + * @version 0.1 / genuine + * @link http://www.openwall.com/phpass/ + * @since 2.5 + */ class PasswordHash { var $itoa64; var $iteration_count_log2; diff --git a/wp-includes/class-phpmailer.php b/wp-includes/class-phpmailer.php index c40b84de3..52840d8fe 100644 --- a/wp-includes/class-phpmailer.php +++ b/wp-includes/class-phpmailer.php @@ -1,15 +1,14 @@ -Copyright (c): 1999-2000 ispi, all rights reserved -Version: 1.01 +if ( !in_array('Snoopy', get_declared_classes() ) ) : +/** + * Snoopy - the PHP net client + * + * @author Monte Ohrt + * @copyright (c): 1999-2000 ispi, all rights reserved + * @version 1.01 + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either @@ -28,22 +30,19 @@ Version: 1.01 * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -You may contact the author of Snoopy by e-mail at: -monte@ispi.net - -Or, write to: -Monte Ohrt -CTO, ispi -237 S. 70th suite 220 -Lincoln, NE 68510 - -The latest version of Snoopy can be obtained from: -http://snoopy.sourceforge.net/ - -*************************************************/ - -if ( !in_array('Snoopy', get_declared_classes() ) ) : + * + * You may contact the author of Snoopy by e-mail at: + * monte@ispi.net + * + * Or, write to: + * Monte Ohrt + * CTO, ispi + * 237 S. 70th suite 220 + * Lincoln, NE 68510 + * + * @link http://snoopy.sourceforge.net/ The latest version of Snoopy can be + * obtained + */ class Snoopy { /**** Public variables ****/