t
* have been set to their defaults.
*
* @return array
*/
protected function retain_variable_keys( $dirty, $clean ) {
if ( ( is_array( $this->variable_array_key_patterns ) && $this->variable_array_key_patterns !== [] ) && ( is_array( $dirty ) && $dirty !== [] ) ) {
// Add the extra pattern.
$patterns = $this->variable_array_key_patterns;
$patterns[] = 'tax-hideeditbox-';
/**
* Allow altering the array with variable array key patterns.
*
* @api array $patterns Array with the variable array key patterns.
*/
$patterns = apply_filters( 'wpseo_option_titles_variable_array_key_patterns', $patterns );
foreach ( $dirty as $key => $value ) {
// Do nothing if already in filtered option array.
if ( isset( $clean[ $key ] ) ) {
continue;
}
foreach ( $patterns as $pattern ) {
if ( strpos( $key, $pattern ) === 0 ) {
$clean[ $key ] = $value;
break;
}
}
}
}
return $clean;
}
/**
* Retrieves a list of separator options.
*
* @return array An array of the separator options.
*/
protected static function get_separator_option_list() {
$separators = [
'sc-dash' => [
'option' => '-',
'label' => __( 'Dash', 'wordpress-seo' ),
],
'sc-ndash' => [
'option' => '–',
'label' => __( 'En dash', 'wordpress-seo' ),
],
'sc-mdash' => [
'option' => '—',
'label' => __( 'Em dash', 'wordpress-seo' ),
],
'sc-colon' => [
'option' => ':',
'label' => __( 'Colon', 'wordpress-seo' ),
],
'sc-middot' => [
'option' => '·',
'label' => __( 'Middle dot', 'wordpress-seo' ),
],
'sc-bull' => [
'option' => '•',
'label' => __( 'Bullet', 'wordpress-seo' ),
],
'sc-star' => [
'option' => '*',
'label' => __( 'Asterisk', 'wordpress-seo' ),
],
'sc-smstar' => [
'option' => '⋆',
'label' => __( 'Low asterisk', 'wordpress-seo' ),
],
'sc-pipe' => [
'option' => '|',
'label' => __( 'Vertical bar', 'wordpress-seo' ),
],
'sc-tilde' => [
'option' => '~',
'label' => __( 'Small tilde', 'wordpress-seo' ),
],
'sc-laquo' => [
'option' => '«',
'label' => __( 'Left angle quotation mark', 'wordpress-seo' ),
],
'sc-raquo' => [
'option' => '»',
'label' => __( 'Right angle quotation mark', 'wordpress-seo' ),
],
'sc-lt' => [
'option' => '>',
'label' => __( 'Less than sign', 'wordpress-seo' ),
],
'sc-gt' => [
'option' => '<',
'label' => __( 'Greater than sign', 'wordpress-seo' ),
],
];
/**
* Allows altering the separator options array.
*
* @api array $separators Array with the separator options.
*/
$separator_list = apply_filters( 'wpseo_separator_option_list', $separators );
if ( ! is_array( $separator_list ) ) {
return $separators;
}
return $separator_list;
}
}
Warning: call_user_func() expects parameter 1 to be a valid callback, class 'WPSEO_Option_Titles' not found in /var/www/html/acompinformatica.com.br/web/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-options.php on line 63
Fatal error: Uncaught TypeError: Argument 1 passed to WPSEO_Options::register_option() must be an instance of WPSEO_Option, null given, called in /var/www/html/acompinformatica.com.br/web/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-options.php on line 63 and defined in /var/www/html/acompinformatica.com.br/web/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-options.php:95
Stack trace:
#0 /var/www/html/acompinformatica.com.br/web/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-options.php(63): WPSEO_Options::register_option(NULL)
#1 /var/www/html/acompinformatica.com.br/web/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-options.php(84): WPSEO_Options->__construct()
#2 /var/www/html/acompinformatica.com.br/web/wp-content/plugins/wordpress-seo/wp-seo-main.php(322): WPSEO_Options::get_instance()
#3 /var/www/html/acompinformatica.com.br/web/wp-includes/class-wp-hook.php(324): wpseo_init('')
#4 /var/www/html/acompinformatica.com.br/web/wp-includes/class-wp-hook.php(348): WP_Hook->apply_f in /var/www/html/acompinformatica.com.br/web/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-options.php on line 95