[wp-testers] wp-testers Digest, Vol 65, Issue 6

CLAY RANYUN claywena at gmail.com
Mon Jul 12 15:22:47 UTC 2010


Dear MR,

Please asistance on this

Thanks

On Mon, Jul 12, 2010 at 8:00 PM, <wp-testers-request at lists.automattic.com>wrote:

> Send wp-testers mailing list submissions to
>        wp-testers at lists.automattic.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.automattic.com/mailman/listinfo/wp-testers
> or, via email, send a message with subject or body 'help' to
>        wp-testers-request at lists.automattic.com
>
> You can reach the person managing the list at
>        wp-testers-owner at lists.automattic.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of wp-testers digest..."
>
>
> Today's Topics:
>
>   1. Re: WordPress 3.0: problem with empty     excerptsbeingreturned
>      by the_excerpt() (Krusty Ruffle)
>   2. Re: WordPress 3.0: problem with empty     excerptsbeingreturned
>      by the_excerpt() (Kathy Pop)
>   3. Re: WordPress 3.0: problem with empty     excerptsbeingreturned
>      by the_excerpt() (Krusty Ruffle)
>   4. test (CLAY RANYUN)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 11 Jul 2010 19:14:06 -0400
> From: Krusty Ruffle <krustyruffle at rustykruffle.com>
> Subject: Re: [wp-testers] WordPress 3.0: problem with empty
>        excerptsbeingreturned by the_excerpt()
> To: wp-testers at lists.automattic.com
> Message-ID:
>        <AANLkTilWqZqNj93xBwm4fTN8wJK78uZP4bzoY_keRpFk at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Okay, here is what's happening:
>
> I'm testing stuff so I'm inserting text with a firefox lipsum extension, it
> leaves trailing newlines after inserting text. If you select the text in
> the
> excerpt input on the edit post page and miss the newline it will cause
> empty
> strings to be returned in pages that use excerpts, if you update it a
> second
> time the problem will be fixed.
>
> I think it's trimming the excerpt text when it sets the value for the input
> in the edit page, but I'm guessing it doesn't when it saves the data on
> update. At any rate I know what causes the problem and can now avoid it in
> several ways, if my skills were more advanced I would try to track it down,
> submit a bug report, make a patch and all that stuff. Unfortunately I am a
> very amateur PHP hacker type so I'll have to leave it at that and hope that
> this thread does some good for someone somewhere along the line.
>
> Thanks again for the help and suggestions, if there's anything more I can
> do
> I'd be more than glad to try!
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 11 Jul 2010 19:00:08 -0500
> From: Kathy Pop <3loons at gmail.com>
> Subject: Re: [wp-testers] WordPress 3.0: problem with empty
>        excerptsbeingreturned by the_excerpt()
> To: wp-testers at lists.automattic.com
> Message-ID:
>        <AANLkTinpfL80hXTk3nkvAMHhgpuShat8GVvn3hubm332 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
>  I just solved it by installing the plugin, excerpts editor. I have a PHP
> programmer friend take a look at it & couldn't solve the problem.
>
> Kathy
>
>
>
> On Sun, Jul 11, 2010 at 6:14 PM, Krusty Ruffle <
> krustyruffle at rustykruffle.com> wrote:
>
> > Okay, here is what's happening:
> >
> > I'm testing stuff so I'm inserting text with a firefox lipsum extension,
> it
> > leaves trailing newlines after inserting text. If you select the text in
> > the
> > excerpt input on the edit post page and miss the newline it will cause
> > empty
> > strings to be returned in pages that use excerpts, if you update it a
> > second
> > time the problem will be fixed.
> >
> > I think it's trimming the excerpt text when it sets the value for the
> input
> > in the edit page, but I'm guessing it doesn't when it saves the data on
> > update. At any rate I know what causes the problem and can now avoid it
> in
> > several ways, if my skills were more advanced I would try to track it
> down,
> > submit a bug report, make a patch and all that stuff. Unfortunately I am
> a
> > very amateur PHP hacker type so I'll have to leave it at that and hope
> that
> > this thread does some good for someone somewhere along the line.
> >
> > Thanks again for the help and suggestions, if there's anything more I can
> > do
> > I'd be more than glad to try!
> > _______________________________________________
> > wp-testers mailing list
> > wp-testers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-testers
> >
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 11 Jul 2010 20:36:49 -0400
> From: Krusty Ruffle <krustyruffle at rustykruffle.com>
> Subject: Re: [wp-testers] WordPress 3.0: problem with empty
>        excerptsbeingreturned by the_excerpt()
> To: wp-testers at lists.automattic.com
> Message-ID:
>        <AANLkTinDRkA0p03zCeZ0r3QFBRtt77BHb4Qg6B1aYJOk at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> It took me a little bit but I figured out that it can be solved in
> /wp-includes/formatting.php
>
> change line 1825 from:
>
> if( '' == $text ) {
>
> to:
>
> if ( '' == trim ( $text ) ) {
>
> Editing core files is not something I like to do though...
>
> Looking at that plugin, it does a lot more than what I need so I'll
> probably
> just use a trimming filter in the functions.php file for now, thanks for
> suggesting it though.
>
> On Sun, Jul 11, 2010 at 8:00 PM, Kathy Pop <3loons at gmail.com> wrote:
>
> > Hi,
> >
> >  I just solved it by installing the plugin, excerpts editor. I have a PHP
> > programmer friend take a look at it & couldn't solve the problem.
> >
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 12 Jul 2010 10:03:03 +0800
> From: CLAY RANYUN <claywena at gmail.com>
> Subject: [wp-testers] test
> To: wp-testers at lists.automattic.com
> Message-ID:
>        <AANLkTinLzaAkZ2WVfhI5aew-IPCwcPgQ-aY96XUNoPv2 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> sfd
>
>
> ------------------------------
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>
>
> End of wp-testers Digest, Vol 65, Issue 6
> *****************************************
>


More information about the wp-testers mailing list