PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.8.13
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.8.13
1.8.13.1 1.8.13 1.8.12.3 1.8.12.2 1.8.12.1 1.8.12 1.8.11.3 1.8.11.2 1.8.11.1 1.8.11 1.6.6 1.6.60 1.6.7 1.6.8 1.6.9 1.7.0 1.7.0.1 1.7.0.11 1.7.0.12 1.7.0.14 1.7.0.2 1.7.0.3 1.7.0.5 1.7.0.6 1.7.0.7 All 212 releases
← All changes | includes/libraries/wp-session/wp-cli.php +2 -2 1.7.0.12 → 1.8.13 View file →
@@ -5,9 +5,9 @@
5 5 *
6 6 * @package WP_Session
7 7 * @subpackage Commands
8 8 */
9 -class WP_Session_Command extends \WP_CLI_Command {
9 +class WP_Session_Command extends \WP_CLI_Command { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound -- This is a bundled library class. Changing it would break existing functionality.
10 10
11 11 /**
12 12 * Count the total number of sessions stored in the database.
13 13 *
@@ -75,9 +75,9 @@
75 75 * Determine the size of each batch for deletion.
76 76 *
77 77 * @param int
78 78 */
79 - $batch = isset( $assoc_args['batch'] ) ? absint( $assoc_args['batch'] ) : apply_filters( 'wp_session_delete_batch_size', 1000 );
79 + $batch = isset( $assoc_args['batch'] ) ? absint( $assoc_args['batch'] ) : apply_filters( 'wp_session_delete_batch_size', 1000 ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- This is a bundled library hook. Changing it would break existing functionality.
80 80
81 81 switch ( $all ) {
82 82 case true:
83 83 $count = WP_Session_Utils::delete_all_sessions();