[wp-trac] [WordPress Trac] #37463: Abstract Query Class

WordPress Trac noreply at wordpress.org
Mon Dec 4 00:02:40 UTC 2017


#37463: Abstract Query Class
--------------------------+------------------------------
 Reporter:  spacedmonkey  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  performance
--------------------------+------------------------------

Comment (by PieWP):

 Think this is the beginning of something great, would love to some see
 constancy between the query classes.

 If we can fix the following can we maybe set an actual version and maybe
 assign an owner of the ticket?

 - Create unit tests
 - Extend for WP_Term_Query
 - Check backward compatibility
 - Extends WP_Object_Query some more (WP_Query has some great features
 which can be made generic, and I think I saw the mention either in slack
 or some other tickets of making the `meta_query` usage available for other
 Query-classes)
 - Align with coding standards (think bracket usage is of somewhere)
 - Align with latest changes/developments (last patch was 17 months old)

 More than willing to spend some time on this and creating a patch
 containing the points stated above if a core/lead developer can confirm
 wether the ticket/idea is actually desired.

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


More information about the wp-trac mailing list