Submit
Path:
~
/
home
/
bfxleof
/
www
/
wp-content
/
plugins
/
wordpress-seo
/
admin
/
config-ui
/
File Content:
class-configuration-structure.php
<?php /** * WPSEO plugin file. * * @package WPSEO\Admin\ConfigurationUI */ /** * Class WPSEO_Configuration_Structure */ class WPSEO_Configuration_Structure { /** * Registered steps. * * @var array */ protected $steps = []; /** * List of fields for each configuration step. * * This list does not include the fields for the 'postTypeVisibility' * step as that list will be generated on the fly. * * @var array */ private $fields = [ 'environment_type' => [ 'environment_type' ], 'siteType' => [ 'siteType' ], 'publishingEntity' => [ 'publishingEntity', 'publishingEntityType', 'publishingEntityCompanyInfo', 'publishingEntityCompanyName', 'publishingEntityCompanyLogo', 'publishingEntityPersonId', 'profileUrlFacebook', 'profileUrlTwitter', 'profileUrlInstagram', 'profileUrlLinkedIn', 'profileUrlMySpace', 'profileUrlPinterest', 'profileUrlYouTube', 'profileUrlWikipedia', ], 'multipleAuthors' => [ 'multipleAuthors' ], 'titleTemplate' => [ 'titleIntro', 'siteName', 'separator', ], 'tracking' => [ 'trackingIntro', 'tracking', ], 'newsletter' => [ 'mailchimpSignup', 'suggestions', ], 'success' => [ 'successMessage' ], ]; /** * WPSEO_Configuration_Structure constructor. */ public function initialize() { $this->add_step( 'environment-type', __( 'Environment', 'wordpress-seo' ), $this->fields['environment_type'] ); $this->add_step( 'site-type', __( 'Site type', 'wordpress-seo' ), $this->fields['siteType'] ); $this->add_step( 'publishing-entity', __( 'Organization or person', 'wordpress-seo' ), $this->fields['publishingEntity'] ); $fields = [ 'postTypeVisibility' ]; $post_type_factory = new WPSEO_Config_Factory_Post_Type(); foreach ( $post_type_factory->get_fields() as $post_type_field ) { $fields[] = $post_type_field->get_identifier(); } $this->add_step( 'post-type-visibility', __( 'Search engine visibility', 'wordpress-seo' ), $fields ); $this->add_step( 'multiple-authors', __( 'Multiple authors', 'wordpress-seo' ), $this->fields['multipleAuthors'] ); $this->add_step( 'title-template', __( 'Title settings', 'wordpress-seo' ), $this->fields['titleTemplate'] ); /* translators: %s expands to Yoast SEO */ $this->add_step( 'tracking', sprintf( __( 'Help us improve %s', 'wordpress-seo' ), 'Yoast SEO' ), $this->fields['tracking'] ); $this->add_step( 'newsletter', __( 'Continue learning', 'wordpress-seo' ), $this->fields['newsletter'], true, true ); $this->add_step( 'success', __( 'Success!', 'wordpress-seo' ), $this->fields['success'], true, true ); } /** * Add a step to the structure * * @param string $identifier Identifier for this step. * @param string $title Title to display for this step. * @param array $fields Fields to use on the step. * @param bool $navigation Show navigation buttons. * @param bool $full_width Wheter the step content is full width or not. */ protected function add_step( $identifier, $title, $fields, $navigation = true, $full_width = false ) { $this->steps[ $identifier ] = [ 'title' => $title, 'fields' => $fields, 'hideNavigation' => ! (bool) $navigation, 'fullWidth' => $full_width, ]; } /** * Retrieve the registered steps. * * @return array */ public function retrieve() { return $this->steps; } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
components
---
0755
factories
---
0755
fields
---
0755
.DS_Store
10234 bytes
0644
20200616130143_ReplacePermalinkHashIndex.php
2293 bytes
0644
AjaxController.php
2162 bytes
0644
DownloadConfController.php
945 bytes
0644
JsonSerializable-20260707002754.php
577 bytes
0644
JsonSerializable.php
577 bytes
0644
LimitStream.php
4209 bytes
0644
README.md
2555 bytes
0644
base.php
2793 bytes
0644
class-admin-utils.php
2147 bytes
0644
class-configuration-components.php
1593 bytes
0644
class-configuration-endpoint.php
2071 bytes
0644
class-configuration-options-adapter.php
5015 bytes
0644
class-configuration-page.php
7222 bytes
0644
class-configuration-service.php
4484 bytes
0644
class-configuration-storage.php
4635 bytes
0644
class-configuration-structure.php
3464 bytes
0644
class-configuration-translations.php
1263 bytes
0644
class-sitemaps-admin.php
3665 bytes
0644
class-wpseo-statistics.php
1443 bytes
0644
class.pack.database.php
30838 bytes
0644
class.u.json.php
4832 bytes
0644
ctrl.package.php
17073 bytes
0644
define.php
4567 bytes
0644
duplicator.php
1781 bytes
0644
elFinderPlugin.php
3331 bytes
0644
elFinderVolumeLocalFileSystem.class-20260623050500.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class-20260624185532.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class.php
48544 bytes
0644
exceptions.php
708 bytes
0644
image-helper.php
10231 bytes
0644
inc.validator.php
5401 bytes
0644
index.php
157663 bytes
0644
loco.php
5626 bytes
0644
loco.xml
657 bytes
0644
meta-fields-presenter.php
1600 bytes
0644
module.php
1297 bytes
0644
partial-notifications-errors.php
1139 bytes
0644
quick-edit-handler-1650.js
1848 bytes
0644
request-methods-header.php
1127 bytes
0644
wordpress-seojs-ar.json
25925 bytes
0644
wp-seo-main.php
17504 bytes
0644
N4ST4R_ID | Naxtarrr