Remove unnecessary inline `@see` tags from a variety of parameter and return descriptions in wp-includes/wp-db.php.
See #31888. git-svn-id: https://develop.svn.wordpress.org/trunk@32050 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
131b3d08d2
commit
868d12ef38
|
@ -2179,7 +2179,7 @@ class wpdb {
|
||||||
* @access protected
|
* @access protected
|
||||||
*
|
*
|
||||||
* @param string $table Table name.
|
* @param string $table Table name.
|
||||||
* @return string|WP_Error Table character set, {@see WP_Error} object if it couldn't be found.
|
* @return string|WP_Error Table character set, WP_Error object if it couldn't be found.
|
||||||
*/
|
*/
|
||||||
protected function get_table_charset( $table ) {
|
protected function get_table_charset( $table ) {
|
||||||
$tablekey = strtolower( $table );
|
$tablekey = strtolower( $table );
|
||||||
|
@ -2279,7 +2279,7 @@ class wpdb {
|
||||||
* @param string $table Table name.
|
* @param string $table Table name.
|
||||||
* @param string $column Column name.
|
* @param string $column Column name.
|
||||||
* @return mixed Column character set as a string. False if the column has no
|
* @return mixed Column character set as a string. False if the column has no
|
||||||
* character set. {@see WP_Error} object if there was an error.
|
* character set. WP_Error object if there was an error.
|
||||||
*/
|
*/
|
||||||
public function get_col_charset( $table, $column ) {
|
public function get_col_charset( $table, $column ) {
|
||||||
$tablekey = strtolower( $table );
|
$tablekey = strtolower( $table );
|
||||||
|
@ -2370,7 +2370,7 @@ class wpdb {
|
||||||
* @return array|WP_Error The $data parameter, with invalid characters removed from
|
* @return array|WP_Error The $data parameter, with invalid characters removed from
|
||||||
* each value. This works as a passthrough: any additional keys
|
* each value. This works as a passthrough: any additional keys
|
||||||
* such as 'field' are retained in each value array. If we cannot
|
* such as 'field' are retained in each value array. If we cannot
|
||||||
* remove invalid characters, a {@see WP_Error} object is returned.
|
* remove invalid characters, a WP_Error object is returned.
|
||||||
*/
|
*/
|
||||||
protected function strip_invalid_text( $data ) {
|
protected function strip_invalid_text( $data ) {
|
||||||
// Some multibyte character sets that we can check in PHP.
|
// Some multibyte character sets that we can check in PHP.
|
||||||
|
@ -2503,7 +2503,7 @@ class wpdb {
|
||||||
* @access protected
|
* @access protected
|
||||||
*
|
*
|
||||||
* @param string $query Query to convert.
|
* @param string $query Query to convert.
|
||||||
* @return string|WP_Error The converted query, or a {@see WP_Error} object if the conversion fails.
|
* @return string|WP_Error The converted query, or a WP_Error object if the conversion fails.
|
||||||
*/
|
*/
|
||||||
protected function strip_invalid_text_from_query( $query ) {
|
protected function strip_invalid_text_from_query( $query ) {
|
||||||
$table = $this->get_table_from_query( $query );
|
$table = $this->get_table_from_query( $query );
|
||||||
|
@ -2544,7 +2544,7 @@ class wpdb {
|
||||||
* @param string $table Table name.
|
* @param string $table Table name.
|
||||||
* @param string $column Column name.
|
* @param string $column Column name.
|
||||||
* @param string $value The text to check.
|
* @param string $value The text to check.
|
||||||
* @return string|WP_Error The converted string, or a `WP_Error` object if the conversion fails.
|
* @return string|WP_Error The converted string, or a WP_Error object if the conversion fails.
|
||||||
*/
|
*/
|
||||||
public function strip_invalid_text_for_column( $table, $column, $value ) {
|
public function strip_invalid_text_for_column( $table, $column, $value ) {
|
||||||
if ( ! is_string( $value ) || $this->check_ascii( $value ) ) {
|
if ( ! is_string( $value ) || $this->check_ascii( $value ) ) {
|
||||||
|
|
Loading…
Reference in New Issue