Changeset 21471 for trunk/wp-includes/wp-db.php
- Timestamp:
- 08/08/2012 06:13:48 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/wp-db.php
r21470 r21471 1561 1561 1562 1562 /** 1563 * The database character collate. 1564 * 1565 * @since 3.5.0 1566 * 1567 * @return string The database character collate. 1568 */ 1569 public function get_charset_collate() { 1570 $charset_collate = ''; 1571 1572 if ( ! empty( $this->charset ) ) 1573 $charset_collate = "DEFAULT CHARACTER SET $this->charset"; 1574 if ( ! empty( $this->collate ) ) 1575 $charset_collate .= " COLLATE $this->collate"; 1576 1577 return $charset_collate; 1578 } 1579 1580 /** 1563 1581 * Determine if a database supports a particular feature 1564 1582 *
Note: See TracChangeset
for help on using the changeset viewer.