WordPress.org

Make WordPress Core

Ticket #13452: 13452.diff

File 13452.diff, 1.6 KB (added by wonderboymusic, 5 years ago)
  • wp-includes/functions.php

     
    572572 * Build URL query based on an associative and, or indexed array.
    573573 *
    574574 * This is a convenient function for easily building url queries. It sets the
    575  * separator to '&' and uses _http_build_query() function.
     575 * separator to '&' and uses http_build_query() function.
    576576 *
    577  * @see _http_build_query() Used to build the query
     577 * @see http_build_query() Used to build the query
    578578 * @link http://us2.php.net/manual/en/function.http-build-query.php more on what
    579579 *              http_build_query() does.
    580580 *
     
    584584 * @return string URL encoded string
    585585 */
    586586function build_query( $data ) {
    587         return _http_build_query( $data, null, '&', '', false );
     587        return http_build_query( $data, null, '&', '', false );
    588588}
    589589
    590590// from php.net (modified by Mark Jaquith to behave like the native PHP5 function)
     
    14371437/**
    14381438 * Determine if a directory is writable.
    14391439 *
    1440  * This function is used to work around certain ACL issues 
     1440 * This function is used to work around certain ACL issues
    14411441 * in PHP primarily affecting Windows Servers.
    14421442 *
    14431443 * @see win_is_writable()
     
    14571457/**
    14581458 * Workaround for Windows bug in is_writable() function
    14591459 *
    1460  * PHP has issues with Windows ACL's for determine if a 
     1460 * PHP has issues with Windows ACL's for determine if a
    14611461 * directory is writable or not, this works around them by
    14621462 * checking the ability to open files rather than relying
    14631463 * upon PHP to interprate the OS ACL.