[wp-trac] Re: [WordPress Trac] #1907: page_rows -function inefficient?

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 7 22:47:50 GMT 2007


#1907: page_rows -function inefficient?
---------------------------------------------------------------+------------
 Reporter:  janit                                              |        Owner:  anonymous
     Type:  defect                                             |       Status:  new      
 Priority:  normal                                             |    Milestone:           
Component:  Optimization                                       |      Version:  1.5.2    
 Severity:  normal                                             |   Resolution:           
 Keywords:  pages cms performance page_rows reporter-feedback  |  
---------------------------------------------------------------+------------
Changes (by jhodgdon):

  * keywords:  pages cms performance page_rows bg|has-patch => pages cms
               performance page_rows reporter-feedback

Comment:

 This is not so easy to fix now. As of SVN version [4984], the page_rows
 function is no longer doing its own SQL query. It has instead been
 centralized into a function called get_pages (in wp-includes/posts.php).

 So a different patch is needed, if the optimization still needs to be
 done, perhaps passing different arguments into get_pages?

 I am curious if the slowness is still a problem in more current versions
 or not. ??

 Anyway, for now marking as needing more feedback....

-- 
Ticket URL: <http://trac.wordpress.org/ticket/1907#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list