[wp-hackers] -was- Re: [wp-svn] [6273] trunk: Refactor atom support to share code.

Peter Westwood peter.westwood at ftwr.co.uk
Fri Oct 19 16:25:30 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lloyd Budd wrote:
> On 10/19/07, m at wordpress.org <m at wordpress.org> wrote:
>>
>>  Revision 6273 Author westi Date 2007-10-19 15:42:30 +0000 (Fri, 19 Oct
>> 2007)
>> Log Message Refactor atom support to share code. Fixes #5181 props rubys
>>
>> Modified Paths
>>
>> trunk/wp-app.php
>> trunk/wp-includes/feed-atom.php
>> trunk/wp-includes/feed.php
>>
>> Diff
> 
> snip
> 
>> Modified: trunk/wp-includes/feed.php (6272 => 6273)
>> --- trunk/wp-includes/feed.php 2007-10-18 22:09:56 UTC (rev 6272)
>> +++ trunk/wp-includes/feed.php 2007-10-19 15:42:30 UTC (rev 6273)
>> @@ -250,4 +250,46 @@
>>  }
>>  }
>>
>> +/**
>> + * prep_atom_text_construct() - determine if given string of data is
>> + * type text, html, or xhtml, per RFC 4287 section 3.1.
>> + *
>> + * In the case of WordPress, text is defined as containing no markup,
>> + * xhtml is defined as "well formed", and html as tag soup (i.e., the
>> rest).
>> + *
>> + * Container div tags are added to xhtml values, per section 3.1.1.3.
>> + *
>> + * @package WordPress
>> + * @subpackage Feed
>> + *
>> + * @param string $data input string
>> + * @return array $result array(type, value)
>> + * @link
> 
> snip
> 
> prep_atom_text_construct doesn't have @since
> 

Fixed

westi
- --
Peter Westwood
http://blog.ftwr.co.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHGNp6VPRdzag0AcURAiDsAKCCYlU1Sa/iJVhLJUG5kYkI19AhJwCgiUvg
ksISEc30x2QYpY6IrelqwmQ=
=UgyC
-----END PGP SIGNATURE-----


More information about the wp-hackers mailing list