[wp-trac] Re: [WordPress Trac] #4319: Boomark Link
    WordPress Trac 
    wp-trac at lists.automattic.com
       
    Wed May 23 14:42:18 GMT 2007
    
    
  
#4319: Boomark Link
-------------------------------+--------------------------------------------
 Reporter:  wesselam           |        Owner:  anonymous
     Type:  defect             |       Status:  new      
 Priority:  normal             |    Milestone:  2.4      
Component:  Template           |      Version:           
 Severity:  normal             |   Resolution:           
 Keywords:  reporter-feedback  |  
-------------------------------+--------------------------------------------
Old description:
> bookmark-template.php
>
> line: 61, 229-244
>
> line 61 :get_links (.. $echo = false)
>
> line:229-244
>
>                 foreach ( (array) $cats as $cat ) {
>                         // Handle each category.
>                         $bglink= get_links($cat->cat_ID, '<li>', "</li>",
> "\n", true, 'name', false);
>
>                         if(is_null($bglink))
>                                 return false;
>                         // Display the category name
>                         echo '  <li id="linkcat-' . $cat->cat_ID . '"
> class="linkcat"><h2>' . $cat->cat_name . "</h2>\n\t<ul>\n";
>                         // Call get_links() with all the appropriate
> params
>                         print $bglink;
>                         // Close the last category
>                         echo "\n\t</ul>\n</li>\n";
>                 }
New description:
 bookmark-template.php
 line: 61, 229-244
 line 61 :get_links (.. $echo = false)
 line:229-244
 {{{
                 foreach ( (array) $cats as $cat ) {
                         // Handle each category.
                         $bglink= get_links($cat->cat_ID, '<li>', "</li>",
 "\n", true, 'name', false);
                         if(is_null($bglink))
                                 return false;
                         // Display the category name
                         echo '  <li id="linkcat-' . $cat->cat_ID . '"
 class="linkcat"><h2>' . $cat->cat_name . "</h2>\n\t<ul>\n";
                         // Call get_links() with all the appropriate
 params
                         print $bglink;
                         // Close the last category
                         echo "\n\t</ul>\n</li>\n";
                 }
 }}}
-- 
Ticket URL: <http://trac.wordpress.org/ticket/4319#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
    
    
More information about the wp-trac
mailing list