Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/wp-conte.../plugins/wpforms-.../src/Migratio...
File: Base.php
self::INITIAL_FAKE_VERSION
[500] Fix | Delete
);
[501] Fix | Delete
}
[502] Fix | Delete
[503] Fix | Delete
/**
[504] Fix | Delete
* Determine if it is the core plugin (Lite or Pro).
[505] Fix | Delete
*
[506] Fix | Delete
* @since 1.7.5
[507] Fix | Delete
*
[508] Fix | Delete
* @return bool True if it is the core plugin.
[509] Fix | Delete
*/
[510] Fix | Delete
protected function is_core_plugin(): bool {
[511] Fix | Delete
[512] Fix | Delete
// phpcs:ignore WPForms.Formatting.EmptyLineBeforeReturn.RemoveEmptyLineBeforeReturnStatement
[513] Fix | Delete
return strpos( static::MIGRATED_OPTION_NAME, 'wpforms_versions' ) === 0;
[514] Fix | Delete
}
[515] Fix | Delete
[516] Fix | Delete
/**
[517] Fix | Delete
* Log migration message.
[518] Fix | Delete
*
[519] Fix | Delete
* @since 1.8.2.3
[520] Fix | Delete
*
[521] Fix | Delete
* @param bool $migrated Migration status.
[522] Fix | Delete
* @param string $plugin_name Plugin name.
[523] Fix | Delete
* @param string $upgrade_version Upgrade version.
[524] Fix | Delete
*
[525] Fix | Delete
* @return void
[526] Fix | Delete
*/
[527] Fix | Delete
private function log_migration_message( bool $migrated, string $plugin_name, string $upgrade_version ) {
[528] Fix | Delete
[529] Fix | Delete
$message = $migrated ?
[530] Fix | Delete
sprintf( 'Migration of %1$s to %2$s completed.', $plugin_name, $upgrade_version ) :
[531] Fix | Delete
sprintf( 'Migration of %1$s to %2$s failed.', $plugin_name, $upgrade_version );
[532] Fix | Delete
[533] Fix | Delete
$this->log( $message );
[534] Fix | Delete
}
[535] Fix | Delete
}
[536] Fix | Delete
[537] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function