Ticket #21149: 21149.3.patch
File 21149.3.patch, 5.2 KB (added by , 13 years ago) |
---|
-
wp-includes/bookmark-template.php
42 42 * 43 43 * @since 2.1.0 44 44 * @access private 45 * @usedby wp_list_bookmarks()46 45 * 47 46 * @param array $bookmarks List of bookmarks to traverse 48 47 * @param string|array $args Optional. Overwrite the defaults. … … 189 188 * @link http://codex.wordpress.org/Template_Tags/wp_list_bookmarks 190 189 * 191 190 * @since 2.1.0 192 * @uses _ list_bookmarks() Used to iterate over all of the bookmarks and return191 * @uses _walk_bookmarks() Used to iterate over all of the bookmarks and return 193 192 * the html 194 193 * @uses get_terms() Gets all of the categories that are for links. 195 194 * -
wp-includes/class-http.php
200 200 * @param array $args Request arguments 201 201 * @param string $url URL to Request 202 202 * 203 * @return string| falseClass name for the first transport that claims to support the request. False if no transport claims to support the request.203 * @return string|bool Class name for the first transport that claims to support the request. False if no transport claims to support the request. 204 204 */ 205 205 public function _get_first_available_transport( $args, $url = null ) { 206 206 $request_order = array( 'curl', 'streams', 'fsockopen' ); -
wp-includes/formatting.php
100 100 } 101 101 102 102 // Transform into regexp sub-expression used in _wptexturize_pushpop_element 103 // Must do this every time in case plugins use these filters in a context sensitive manner103 // Must do this every time in case plugins use these filters in a context sensitive manner 104 104 $no_texturize_tags = '(' . implode('|', apply_filters('no_texturize_tags', $default_no_texturize_tags) ) . ')'; 105 105 $no_texturize_shortcodes = '(' . implode('|', apply_filters('no_texturize_shortcodes', $default_no_texturize_shortcodes) ) . ')'; 106 106 … … 141 141 * @param array $stack Array used as stack of opened tag elements 142 142 * @param string $disabled_elements Tags to match against formatted as regexp sub-expression 143 143 * @param string $opening Tag opening character, assumed to be 1 character long 144 * @param string $opening Tag closing character 145 * @return object 144 * @param string $closing Tag closing character 146 145 */ 147 146 function _wptexturize_pushpop_element($text, &$stack, $disabled_elements, $opening = '<', $closing = '>') { 148 147 // Check if it is a closing tag -- otherwise assume opening tag … … 264 263 * @since 3.1.0 265 264 * @access private 266 265 * @param array $matches preg_replace_callback matches array 267 * @return sstring266 * @return string 268 267 */ 269 268 function _autop_newline_preservation_helper( $matches ) { 270 269 return str_replace("\n", "<WPPreserveNewline />", $matches[0]); … … 1009 1008 * @since 2.5.1 1010 1009 * 1011 1010 * @param string $orderby Order by string to be checked. 1012 * @return string| falseReturns the order by clause if it is a match, false otherwise.1011 * @return string|bool Returns the order by clause if it is a match, false otherwise. 1013 1012 */ 1014 1013 function sanitize_sql_orderby( $orderby ){ 1015 1014 preg_match('/^\s*([a-z0-9_]+(\s+(ASC|DESC))?(\s*,\s*|\s*$))+|^\s*RAND\(\s*\)\s*$/i', $orderby, $obmatches); … … 1623 1622 * @since 3.4.0 1624 1623 * @access private 1625 1624 * 1626 * @param string $string The string to split 1627 * @param int $goalThe desired chunk length.1625 * @param string $string The string to split. 1626 * @param int $goal The desired chunk length. 1628 1627 * @return array Numeric array of chunks. 1629 1628 */ 1630 1629 function _split_str_by_whitespace( $string, $goal ) { … … 1822 1821 * Convert to ASCII from email subjects. 1823 1822 * 1824 1823 * @since 1.2.0 1825 * @usedby wp_mail() handles charsets in email subjects1826 1824 * 1827 1825 * @param string $string Subject line 1828 1826 * @return string Converted string to ASCII … … 1839 1837 } 1840 1838 1841 1839 /** 1842 * Helper function to convert hex encoded chars to ascii1840 * Helper function to convert hex encoded chars to ASCII 1843 1841 * 1844 1842 * @since 3.1.0 1845 1843 * @access private 1846 * @param array $match the preg_replace_callback matches array 1844 * @param array $match The preg_replace_callback matches array 1845 * @return array Converted chars 1847 1846 */ 1848 1847 function _wp_iso_convert( $match ) { 1849 1848 return chr( hexdec( strtolower( $match[1] ) ) ); -
wp-includes/general-template.php
1050 1050 * Get number of days since the start of the week. 1051 1051 * 1052 1052 * @since 1.5.0 1053 * @usedby get_calendar()1054 1053 * 1055 1054 * @param int $num Number of day. 1056 1055 * @return int Days since the start of the week. … … 1067 1066 * no posts for the month, then it will not be displayed. 1068 1067 * 1069 1068 * @since 1.0.0 1069 * @uses calendar_week_mod() 1070 1070 * 1071 1071 * @param bool $initial Optional, default is true. Use initial calendar names. 1072 1072 * @param bool $echo Optional, default is true. Set to false for return.