mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-26 02:57:45 +01:00
fea3051f54
`WP_Comment_Query` will now report the total number of comments matching the query params (`comments_found`), as well as the total number of pages required to display these comments (`max_num_pages`). Because `SQL_CALC_FOUND_ROWS` queries can introduce a lot of overhead in some cases, we disable the feature by default. Pass `no_found_rows=false` to `WP_Comment_Query` to enable the count. (We use the negative parameter name 'no_found_rows' for parity with `WP_Query`.) Props wonderboymusic, boonebgorges. See #8071. Built from https://develop.svn.wordpress.org/trunk@34544 git-svn-id: http://core.svn.wordpress.org/trunk@34508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
36 lines
629 B
PHP
36 lines
629 B
PHP
<?php
|
|
/**
|
|
* The WordPress version string
|
|
*
|
|
* @global string $wp_version
|
|
*/
|
|
$wp_version = '4.4-alpha-34544';
|
|
|
|
/**
|
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
|
*
|
|
* @global int $wp_db_version
|
|
*/
|
|
$wp_db_version = 34528;
|
|
|
|
/**
|
|
* Holds the TinyMCE version
|
|
*
|
|
* @global string $tinymce_version
|
|
*/
|
|
$tinymce_version = '4205-20150908';
|
|
|
|
/**
|
|
* Holds the required PHP version
|
|
*
|
|
* @global string $required_php_version
|
|
*/
|
|
$required_php_version = '5.2.4';
|
|
|
|
/**
|
|
* Holds the required MySQL version
|
|
*
|
|
* @global string $required_mysql_version
|
|
*/
|
|
$required_mysql_version = '5.0';
|