Prevent WordPress from convert ✔ (& other text symbols/emoji) to SVG [duplicate]

In my page content, I have the following:

<li><span class="tick">✔</span> Fully qualified and insured technicians, with over a decade of experience</li> 

On the frontend, WordPress changes the ✔ to:

<img draggable="false" role="img" class="emoji" alt="✔" src="https://s.w.org/images/core/emoji/13.0.1/svg/2714.svg"> 

I can’t change the colour of this SVG image, it is black, and we need it white.

How do I prevent the conversion of emojis to SVG?

EDIT

I’ve found this answer which says to use:

add_filter( 'emoji_svg_url', '__return_false' ); 

All that does is break the image but display the alt text in the correct format:

enter image description here

The same code remains:

<img draggable="false" role="img" class="emoji" alt="✔" src="https://s.w.org/images/core/emoji/13.0.1/svg/2714.svg"> 

How and why use validate_username and how to secure inputs fields of registration form?

I would use validate_username to protect username and other inputs from tags, octet, and others filters and conditions from sanitize_user but these functions only remove these dangerous chars and does not warn the user to not use these chars.

Does it exist a wordpress function of the same kind as validate_username that allow to warn and restrict user to use the same chars and conditions than those used in validate_username function ?

Could you help me to write a regex which fulfills the same conditions as validate_username to display error if one of conditions is positive.

And how I must do to add this regex |%([a-fA-F0-9][a-fA-F0-9])| to this one /^[A-Za-z0-9]$ / I don’t understand the use of | and / . In php.net this | is use to say "or" . For example this /^[A-Za-z0-9]$ / does not take into account octet (or exadecimal ?) as it define here : WordPress sanitize_user/

Knowing that hackers always discover solutions to hack what is to date the best solution to protect a registration and login form. If this last question is duplicate could you please post the link of existing response ?

Woocommerce Custom product fields need to be editable after purchase in View Orders Page

I am Using https://stackoverflow.com/questions/46612499/display-a-custom-field-value-in-woocommerce-orders-edit-view/#answer-46615303 answer code, which works fine.

I want to display that checkout custom fields on My Account > View Order Pages, to allow customer to edit its value after purchase, so Customers can change and save the custom field value.

Any help?

wp-blog-header.php): failed to open stream: No such file or directory in /home/

Need help with current error below. WP website is down and cannot even login to WP-admin. Anyone available to help resolve problem?

Warning: require(/home/mdvince/public_html/wp-blog-header.php): failed to open stream: No such file or directory in /home/mdvince/public_html/index.php on line 17

Fatal error: require(): Failed opening required ‘/home/mdvince/public_html/wp-blog-header.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) in /home/mdvince/public_html/index.php on line 17

wp_register_script() and wp_register_style() 4th parameter (version) not working for logged out users

I’m enqueuing scripts and styles from functions.php in my custom theme. The 4th parameter is the version number. It’s working only for logged in users.

wp_register_script( 'my-handle', get_stylesheet_directory_uri( __FILE__ ) . '/js/my-script.js', array( '' ), filemtime( get_stylesheet_directory( __FILE__ ) . '/js/my-script.js' ), true ); wp_enqueue_script( 'my-handle' ); 

Logged in:

<script src="https://mysite.com.local/path/to/my-script.js?ver=1614637944" type="text/javascript"></script> 

Logged out:

<script src="https://mercury.photo/wp-content/plugins/instagram-feed/js/sbi-scripts.min.js" id="sb_instagram_scripts-js" type="text/javascript"></script> 

Caching plugin on the live site is LiteSpeed Cache. The local dev site uses no caching. Same output on both sites.

Disable title block on edit screen for a custom post type

I have a custom post type with a custom block to collect required data and store it in post meta data or standard fields like title or slug, so I don’t want to display the Title block. I can’t disable title support in the CPT, because too much else depends on it.

The only successful attempt so far has been using CSS to target the id "post-title-0" of the for the title and can clearly enqueue a small CSS file depending on the post type, but I don’t want to depend on something set by WordPress that I can’t control; it feels that something in Javascript would be a better way to go if possible. I was wondering if WP provde any hooks for this but haven’t found any.

I’m a javascript novice, having started learning it in the last few weeks in order to write some custom blocks, so am not clear on the extent of what can be acheived with it. (I have 50 years experience of programming, just not in JS).

It would be OK to only hide the title until the post has been saved.

Has anyone any ideas?