Encryption of the advertising code

[ad_1]

Thread Starter
Nikonn

(@nikonn)

on the experimental site, the code is set as expected [BLOCK_NUMBER] – [BLOCK_VERSION_NAME] – <div class=’code-block code-block-center code-block-7′>,

and on the working site, the code is changed – <div class=’ai-viewports ai-viewport-2 ai-viewport-3 ai-insert-8-91713747′ style=’margin: 8px auto; text-align: center; display: block; clear: both;’ data-insertion-position=’prepend’ data-selector=’.ai-insert-8-91713747′ data-insertion-no-dbg data-code=’…….’ data-block=’8′></div>

Hello,

when the insertion is set to client-side the code is not encrypted, it is only base64 encoded to be stored as a string in an attribute. When the block content is inserted, this attribute is decoded and the code is inserted as configured.

When the block is configured to be inserted server-side, the block code is inserted as it is.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer