upgrade_440() - WordPress 函数参考中文文档

返回介绍

upgrade_440()

发布于 2017-09-11 字数1027 浏览 876 评论 0

upgrade_440()

Executes changes made in WordPress 4.4.0.


描述


源代码

File: wp-admin/includes/upgrade.php

		);
	}

	if ( 'byte' !== $content_length['type'] || 0 === $content_length['length'] ) {
		// Sites with malformed DB schemas are on their own.
		return;
	}

	$allowed_length = intval( $content_length['length'] ) - 10;

	$comments = $wpdb->get_results(
		"SELECT `comment_ID` FROM `{$wpdb->comments}`
			WHERE `comment_date_gmt` > '2015-04-26'
			AND LENGTH( `comment_content` ) >= {$allowed_length}
			AND ( `comment_content` LIKE '%<%' OR `comment_content` LIKE '%>%' )"

更新日志

Version 描述
4.4.0 Introduced.

User Contributed Notes

上一篇:upgrade_431()

下一篇:upgrade_all()

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

目前还没有任何评论,快来抢沙发吧!