Bruno Chériaux
Forum Replies Created
-
Hi Chris,
I’ve investigated more and find out that if I set a title with the ‘ char (char code #39), WP replaces it with an ’ (char code #8217) and encodes it with HTML entity name ‘rsquo’ in “get_wp_title_rss” function.
So I wrote a filter :add_filter('document_title', function($title){ $title = str_replace(['’', '& rsquo;'], ['& #8217;', '& #8217;'], $title); return $title; });
This patch works for me and I don’t need a plugin evolution.
Note that I use WordPress in French.
Hi Chris,
Thank you for your answer.
The validator returns an error (not valid) at line 10 when “& apos;” is used in de <title> tag.
To avoid this issue, I have renamed the category name in the WP admin: I replaced the apostrophe with “& #8217;”.Forum: Plugins
In reply to: [WP Maintenance] Using maintenance.php from parent theme in child themegreat! thank you
Hi @ryankienstra , thank you for your reply.
It fixes the issue. Well done! The only drawback is that now, I have to update each block one by one.- This reply was modified 4 years, 2 months ago by Bruno Chériaux.
Hi again,
I have now tested with all types of fields: text, textarea, URL, email, number, color, image, select, select multiple, toggle, interval, checkbox, radio.
The PHP notice only shows up with “textareas” fields.Hi,
I also have the same PHP Notice (in french):
Notice: rest_validate_value_from_schema est appelée de la mauvaise manière. Le mot-clé ? type ? du schéma pour peut uniquement être l’un des types natifs : array, object, string, number, integer, boolean, et null. Veuillez lire Débogage dans WordPress (en) pour plus d’informations. (Ce message a été ajouté à la version 5.5.0.) in /***/wp-includes/functions.php on line 5225
## Suspected cause
The PHP Notice shows up when the block contains a “textarea”. If I use only text fields, the PHP Notice disapears. I have not tested for all others field types yet.## Versions:
PHP 7.3.15
Wordpress 5.5.1 (the notice also appeared for WordPress 5.5.0)
Block Lab 1.5.6Thank you
Thank you for your answer. I hope it will be integrated in futures versions.