Changeset 30624 for trunk/src/wp-includes/wp-db.php
- Timestamp:
- 11/28/2014 12:33:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r30587 r30624 1965 1965 1966 1966 /** 1967 * Adds field charsets to field/value/format arrays 1968 * generated by the process_field_formats()method.1967 * Adds field charsets to field/value/format arrays generated by 1968 * the {@see wpdb::process_field_formats()} method. 1969 1969 * 1970 1970 * @since 4.1.0 1971 1971 * @access protected 1972 1972 * 1973 * @param array $data As it comes from the process_field_formats()method.1973 * @param array $data As it comes from the {@see wpdb::process_field_formats()} method. 1974 1974 * @param string $table Table name. 1975 1975 * @return The same array as $data with additional 'charset' keys. … … 2162 2162 * 2163 2163 * @param string $table Table name. 2164 * @return string|WP_Error Table character set, `WP_Error`object if it couldn't be found.2164 * @return string|WP_Error Table character set, {@see WP_Error} object if it couldn't be found. 2165 2165 */ 2166 2166 protected function get_table_charset( $table ) { … … 2255 2255 * @param string $table Table name. 2256 2256 * @param string $column Column name. 2257 * @return mixed Column character set as a string. 2258 * False if the column has no character set. 2259 * `WP_Error` object if there was an error. 2257 * @return mixed Column character set as a string. False if the column has no 2258 * character set. {@see WP_Error} object if there was an error. 2260 2259 */ 2261 2260 protected function get_col_charset( $table, $column ) { … … 2348 2347 * each value. This works as a passthrough: any additional keys 2349 2348 * such as 'field' are retained in each value array. If we cannot 2350 * remove invalid characters, a `WP_Error`object is returned.2349 * remove invalid characters, a {@see WP_Error} object is returned. 2351 2350 */ 2352 2351 protected function strip_invalid_text( $data ) { … … 2470 2469 * 2471 2470 * @param string $query Query to convert. 2472 * @return string|WP_Error The converted query, or a `WP_Error`object if the conversion fails.2471 * @return string|WP_Error The converted query, or a {@see WP_Error} object if the conversion fails. 2473 2472 */ 2474 2473 protected function strip_invalid_text_from_query( $query ) {
Note: See TracChangeset
for help on using the changeset viewer.