wphooks.info - allow_minor_auto_core_updates

allow_minor_auto_core_updates

(trunk - 5.0-alpha-42719)

The hook occurs in the following file:

wp-admin/includes/class-core-upgrader.php:
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
		// 4: Minor In-branch updates (3.7.0 -> 3.7.1 -> 3.7.2 -> 3.7.4)
		if ( $current_branch == $new_branch ) {

			/**
			 * Filters whether to enable minor automatic core updates.
			 *
			 * @since 3.7.0
			 *
			 * @param bool $upgrade_minor Whether to enable minor automatic core updates.
			 */
			return apply_filters( 'allow_minor_auto_core_updates', $upgrade_minor );
		}

		// 5: Major version updates (3.7.0 -> 3.8.0 -> 3.9.1)
		if ( version_compare( $new_branch, $current_branch, '>' ) ) {

			/**
			 * Filters whether to enable major automatic core updates.
			 *
			 * @since 3.7.0