WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18433, comment 8


Ignore:
Timestamp:
09/26/11 22:30:05 (3 years ago)
Author:
maxcutler
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18433, comment 8

    initial v1  
    55And to give extra control, you can specify specific individual fields instead of/in addition to conceptual groups. So for daniloercoli's use-case, he could use array('title', 'dateCreated', 'post_status').  
    66 
    7 I'm still torn about whether we should keep using backcompat-names (mt_*, wp_*, camelCase) or cut the duplication and give them sensical names in the context of modern WordPress. API consumers will already have to change some code to use the new method, but I'm not sure if field name changes would be too much of an additional burden.  
     7I'm still torn about whether we should keep using backcompat-names (mt_*, wp_*, camelCase) or cut the duplication and give them sensical names in the context of modern WordPress. API consumers will already have to change some code to use the new method, but I'm not sure if field name changes would be too much of an additional burden. 
     8 
     9Also, should we add a filter to let plug-ins modifying the $post_data array after it's generated?