WordPress.org

Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #16476, comment 2


Ignore:
Timestamp:
03/29/11 00:25:33 (3 years ago)
Author:
rofflox
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16476, comment 2

    v2 v3  
    99  a. Add an optional second parameter "mode" to format the output based on the calling function. E.g. mode = mw_getPost will format the output of the result array in a different way. 
    10104. Take an associative array instead of a numeric one as argument, so we could seamless add additional features in the future. Thats already WP standard. 
    11 5. For custom post types, we have to check for the registered capabilities. Unfortunaltey, they aren't mapped by default. This should also be added to the register_posttype function. e.g. 
     115. For custom post types, we have to check for the registered capabilities. Unfortunately, they aren't mapped by default. This should also be added to the register_posttype function. e.g. 
    1212 
    1313{{{