OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   14-Feb-2007 11:41:25
  Branch: HEAD                             Handle: 2007021410412400

  Modified files:
    openpkg-src/wordpress   wordpress.patch wordpress.spec

  Log:
    mailed postings IMHO really should just 'draft' status (so they are
    not going online immediately) as they usually always have to be
    post-adjusted before publishing

  Summary:
    Revision    Changes     Path
    1.3         +21 -2      openpkg-src/wordpress/wordpress.patch
    1.27        +1  -1      openpkg-src/wordpress/wordpress.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/wordpress/wordpress.patch
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 wordpress.patch
  --- openpkg-src/wordpress/wordpress.patch     13 Feb 2007 12:49:51 -0000      
1.2
  +++ openpkg-src/wordpress/wordpress.patch     14 Feb 2007 10:41:24 -0000      
1.3
  @@ -1,6 +1,6 @@
   Index: wp-includes/formatting.php
   --- wp-includes/formatting.php.orig  2007-01-09 23:53:14 +0100
  -+++ wp-includes/formatting.php       2007-02-13 13:48:07 +0100
  ++++ wp-includes/formatting.php       2007-02-14 11:32:46 +0100
   @@ -80,7 +80,7 @@
        $pee = preg_replace('!(</?' . $allblocks . '[^>]*>)\s*<br />!', "$1", 
$pee);
        $pee = preg_replace('!<br 
/>(\s*</?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)!', '$1', $pee);
  @@ -12,7 +12,7 @@
        return $pee;
   Index: wp-login.php
   --- wp-login.php.orig        2006-12-21 11:10:04 +0100
  -+++ wp-login.php     2007-02-13 13:47:46 +0100
  ++++ wp-login.php     2007-02-14 11:32:46 +0100
   @@ -114,7 +114,7 @@
                                // Now insert the new pass md5'd into the db
                                $wpdb->query("UPDATE $wpdb->users SET 
user_activation_key = '$key' WHERE user_login = '$user_login'");
  @@ -31,3 +31,22 @@
    
        if (FALSE == wp_mail($user->user_email, sprintf(__('[%s] Your new 
password'), get_option('blogname')), $message)) {
                die('<p>' . __('The e-mail could not be sent.') . "<br />\n" . 
__('Possible reason: your host may have disabled the mail() function...') . 
'</p>');
  +Index: wp-mail.php
  +--- wp-mail.php.orig 2006-08-30 23:46:31 +0200
  ++++ wp-mail.php      2007-02-14 11:36:00 +0100
  +@@ -131,7 +131,7 @@
  +     $post_category = $post_categories;
  + 
  +     // or maybe we should leave the choice to email drafts? propose a way
  +-    $post_status = 'publish';
  ++    $post_status = 'draft';
  + 
  +     $post_data = 
compact('post_content','post_title','post_date','post_date_gmt','post_author','post_category',
 'post_status');
  +     $post_data = add_magic_quotes($post_data);
  +@@ -161,4 +161,4 @@
  + 
  + $pop3->quit();
  + 
  +-?>
  +\ No newline at end of file
  ++?>
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/wordpress/wordpress.spec
  ============================================================================
  $ cvs diff -u -r1.26 -r1.27 wordpress.spec
  --- openpkg-src/wordpress/wordpress.spec      13 Feb 2007 14:48:31 -0000      
1.26
  +++ openpkg-src/wordpress/wordpress.spec      14 Feb 2007 10:41:24 -0000      
1.27
  @@ -33,7 +33,7 @@
   Group:        CMS
   License:      GPL
   Version:      2.1
  -Release:      20070213
  +Release:      20070214
   
   #   list of sources
   Source0:      
ftp://ftp.openpkg.org/sources/CPY/VERSIONED/wordpress/wordpress-%{version}.tar.gz
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to