WordPress.org

Make WordPress Core

Changeset 7646


Ignore:
Timestamp:
04/14/2008 04:23:16 PM (10 years ago)
Author:
ryan
Message:

Make get_posts args optional. Props karlkatzke and Otto42. fixes #6608 for 2.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/wp-includes/post.php

    r7637 r7646  
    404404 * @return array {@internal Missing Description}}
    405405 */
    406 function get_posts($args) {
     406function get_posts($args = null) {
    407407    global $wpdb;
    408408
Note: See TracChangeset for help on using the changeset viewer.