[wp-trac] [WordPress Trac] #15499: Add an index for get_lastpostmodified query

WordPress Trac noreply at wordpress.org
Wed Jun 11 22:21:49 UTC 2014


#15499: Add an index for get_lastpostmodified query
----------------------------------------------+----------------------------
 Reporter:  simonwheatley                     |       Owner:
     Type:  enhancement                       |      Status:  new
 Priority:  normal                            |   Milestone:  Future
Component:  Database                          |  Release
 Severity:  normal                            |     Version:  3.0.1
 Keywords:  has-patch dev-feedback 3.6-early  |  Resolution:
                                              |     Focuses:
----------------------------------------------+----------------------------

Comment (by simonwheatley):

 Replying to [comment:7 nacin]:
 > I think we can just axe the call to `get_lastpostdate()` from
 `get_lastpostmodified()` for the same amount of functionality.

 15499.diff just attached addresses this. The only test which exercises
 `get_lastpostmodified` directly, `test_channel` in the `feed` group, fails
 on an earlier (unrelated) assertion.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/15499#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list