rebase from live enviornment
This commit is contained in:
@@ -98,7 +98,7 @@ if ( ! class_exists( 'Brainstorm_Update_AIOSRS_Pro' ) ) :
|
||||
*
|
||||
* @since 1.1.0
|
||||
*/
|
||||
public function bsf_aiosrs_pro_bsf_registration_page_url() {
|
||||
public function bsf_aiosrs_pro_bsf_registration_page_url() { // phpcs:ignore WordPressVIPMinimum.Hooks.AlwaysReturnInFilter.MissingReturnStatement
|
||||
if ( is_multisite() ) {
|
||||
return network_admin_url( 'plugins.php?bsf-inline-license-form=wp-schema-pro' );
|
||||
} else {
|
||||
@@ -149,7 +149,7 @@ if ( ! class_exists( 'Brainstorm_Update_AIOSRS_Pro' ) ) :
|
||||
$version = file_get_contents( realpath( plugin_dir_path( BSF_AIOSRS_PRO_FILE ) . '/admin/bsf-core/version.yml' ) );
|
||||
|
||||
// Compare versions.
|
||||
if ( version_compare( $version, (string)$bsf_core_version, '>' ) ) {
|
||||
if ( version_compare( $version, (string) $bsf_core_version, '>' ) ) {
|
||||
$bsf_core_version = $version;
|
||||
$bsf_core_path = $bsf_core_dir;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user