o()->breadcrumbs->frontend->getDefaultTemplate( 'notFound' ) ), 'date' => [ 'year' => aioseo()->helpers->encodeOutputHtml( aioseo()->breadcrumbs->frontend->getDefaultTemplate( 'year' ) ), 'month' => aioseo()->helpers->encodeOutputHtml( aioseo()->breadcrumbs->frontend->getDefaultTemplate( 'month' ) ), 'day' => aioseo()->helpers->encodeOutputHtml( aioseo()->breadcrumbs->frontend->getDefaultTemplate( 'day' ) ) ] ]; $archives = aioseo()->helpers->getPublicPostTypes( false, true, true ); foreach ( $archives as $archive ) { // phpcs:ignore Generic.Files.LineLength.MaxExceeded $this->data['breadcrumbs']['defaultTemplates']['archives']['postTypes'][ $archive['name'] ] = aioseo()->helpers->encodeOutputHtml( aioseo()->breadcrumbs->frontend->getDefaultTemplate( 'postTypeArchive', $archive ) ); } } if ( 'tools' === $this->args['page'] && is_multisite() && is_network_admin() && aioseo()->license->hasCoreFeature( 'tools', 'network-tools-import-export' ) ) { foreach ( aioseo()->helpers->getSites()['sites'] as $site ) { aioseo()->helpers->switchToBlog( $site->blog_id ); $this->data['data']['network']['backups'][ $site->blog_id ] = array_reverse( aioseo()->backup->all() ); } aioseo()->helpers->restoreCurrentBlog(); } } /** * We may need to force a check for plugin updates. * * @since 4.1.6 * * @return void */ private function maybeCheckForPluginUpdates() { // If we aren't on one of the addon pages, return early. if ( ! in_array( $this->args['page'], [ 'feature-manager', 'link-assistant', 'local-seo', 'redirects', 'search-appearance', 'sitemaps' ], true ) ) { return; } $shouldCheckForUpdates = false; // Loop through all addons and see if the addon needing an update matches the current page. foreach ( aioseo()->addons->getAddons() as $addon ) { if ( $addon->hasMinimumVersion ) { continue; } if ( 'feature-manager' === $this->args['page'] ) { $shouldCheckForUpdates = true; continue; } if ( 'aioseo-' . $this->args['page'] === $addon->sku ) { $shouldCheckForUpdates = true; continue; } if ( 'sitemaps' === $this->args['page'] && in_array( $addon->sku, [ 'aioseo-video-sitemap', 'aioseo-news-sitemap' ], true ) ) { $shouldCheckForUpdates = true; } } // We want to force checks for updates, so let's go ahead and do that now. if ( $shouldCheckForUpdates ) { delete_site_transient( 'update_plugins' ); } } /** * Clean sensitive data. * * @since 4.5.3 * * @return void */ private function cleanSensitiveData() { // If the user is an admin, we don't need to clean the data. if ( aioseo()->access->isAdmin() ) { return; } // Check for the license key and override it with a placeholder. if ( ! empty( $this->data['options']['general']['licenseKey'] ) ) { $this->data['options']['general']['licenseKey'] = '*****************'; } if ( ! empty( $this->data['networkOptions']['general']['licenseKey'] ) ) { $this->data['networkOptions']['general']['licenseKey'] = '*****************'; } } }
Fatal error: Trait "AIOSEO\Plugin\Pro\Traits\Helpers\Vue" not found in /home/valigeria/public_html/wp-content/plugins/all-in-one-seo-pack-pro/app/Pro/Utils/Helpers.php on line 17