Skip to content

Commit

Permalink
Changed: The set_max_table_rows() method is deprecated, use `conf_t…
Browse files Browse the repository at this point in the history
…able_size_limiter()` instead.
  • Loading branch information
BenceSzalai committed Nov 29, 2020
1 parent 26dbd43 commit 661e73d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/WordPressHandler/WordPressHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ public function conf_table_size_limiter( $max_table_rows, $truncate_batch_size =
*
* @param int $max_table_rows The max number of rows to accumulate.
* Use 0 (or any negative number) to disable limit.
*
* @deprecated Use {@see conf_table_size_limiter()} instead.
*/
public function set_max_table_rows( $max_table_rows ) {
$this->conf_table_size_limiter( $max_table_rows );
Expand Down

0 comments on commit 661e73d

Please sign in to comment.