Changeset 53299 for trunk/src/wp-includes/wp-db.php
- Timestamp:
- 04/28/2022 09:44:12 AM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/wp-db.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r53131 r53299 1852 1852 * 1853 1853 * @param string $host The DB_HOST setting to parse. 1854 * @return array|false Array containing the host, the port, the socket and 1855 * whether it is an IPv6 address, in that order. 1856 * False if $host couldn't be parsed. 1854 * @return array|false { 1855 * Array containing the host, the port, the socket and 1856 * whether it is an IPv6 address, in that order. 1857 * False if the host couldn't be parsed. 1858 * 1859 * @type string $0 Host name. 1860 * @type string|null $1 Port. 1861 * @type string|null $2 Socket. 1862 * @type bool $3 Whether it is an IPv6 address. 1863 * } 1857 1864 */ 1858 1865 public function parse_db_host( $host ) { … … 3044 3051 * @param string $table Table name. 3045 3052 * @param string $column Column name. 3046 * @return array|false|WP_Error array( 'length' => (int), 'type' => 'byte' | 'char' ). 3047 * False if the column has no length (for example, numeric column). 3048 * WP_Error object if there was an error. 3053 * @return array|false|WP_Error { 3054 * Array of column length information, false if the column has no length (for 3055 * example, numeric column), WP_Error object if there was an error. 3056 * 3057 * @type int $length The column length. 3058 * @type string $type One of 'byte' or 'char'. 3049 3059 */ 3050 3060 public function get_col_length( $table, $column ) {
Note: See TracChangeset
for help on using the changeset viewer.