WordPress.org

Make WordPress Core

Ticket #20756: 20756.patch

File 20756.patch, 462 bytes (added by SergeyBiryukov, 6 years ago)
  • wp-includes/post.php

     
    33703370 * @param mixed $args Optional. Array or string of options that overrides defaults.
    33713371 * @return array List of pages matching defaults or $args
    33723372 */
    3373 function &get_pages($args = '') {
     3373function get_pages($args = '') {
    33743374        global $wpdb;
    33753375
    33763376        $defaults = array(