Changeset 10150 for trunk/wp-includes/formatting.php
- Timestamp:
- 12/09/2008 06:03:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r9661 r10150 536 536 * 537 537 * @param string $orderby Order by string to be checked. 538 * @return string|false Returns the order by clause if it is a match, false otherwise. 538 * @return string|false Returns the order by clause if it is a match, false otherwise. 539 539 */ 540 540 function sanitize_sql_orderby( $orderby ){ … … 882 882 * 883 883 * @param string $gpc The string returned from HTTP request data. 884 * @return string Returns a string escaped with slashes. 884 * @return string Returns a string escaped with slashes. 885 885 */ 886 886 function addslashes_gpc($gpc) { … … 913 913 * Navigates through an array and encodes the values to be used in a URL. 914 914 * 915 * Uses a callback to pass the value of the array back to the function as a 916 * string. 915 * Uses a callback to pass the value of the array back to the function as a 916 * string. 917 917 * 918 918 * @since 2.2.0 … … 1196 1196 * 1197 1197 * @param string $timezone Either 'Z' for 0 offset or '±hhmm'. 1198 * @return int|float The offset in seconds. 1198 * @return int|float The offset in seconds. 1199 1199 */ 1200 1200 function iso8601_timezone_to_offset($timezone) { … … 1690 1690 if ( 'display' == $context ) { 1691 1691 $url = preg_replace('/&([^#])(?![a-z]{2,8};)/', '&$1', $url); 1692 $url = str_replace( "'", ''', $url ); 1692 $url = str_replace( "'", ''', $url ); 1693 1693 } 1694 1694 … … 1806 1806 * 1807 1807 * This is basically a switch statement which will pass $value through a number 1808 * of functions depending on the $option. 1808 * of functions depending on the $option. 1809 1809 * 1810 1810 * @since 2.0.5
Note: See TracChangeset
for help on using the changeset viewer.