Home User profile
tagDiv Member
Geek that enjoys solving problems, technology, software development, food, reading, photography, blogging, and traveling.
reatlat
tagDiv Member

@epickenyan Do you know termine SANITAZE???

I don’t ask you how to use searchbar, and I don’t want search urls, I just found a bug! And report it!

FYI:

Why Is Sanitization Important?
When data is included in some context (say in a HTML document) – that data could be misinterpreted as a code for that environment (for example HTML code). If that data contains malicious code, then using that data without sanitizing it, means that code will be executed. The code doesn’t even necessarily have to be malicious for it to cause undesired effects. The job of sanitization is to make sure that any code in the data isn’t interpreted as code – otherwise you may end up like Bobby Tables’ school…

Validating Sanitizing and Escaping User Data
Why Is Sanitization Important?

reatlat
tagDiv Member

Ohh man, do you think If I start this topic without checkin the forum?


@byvaly
please check my question!
It was request to new feature!

For sure I can add my custom function to F**KING footer.php
Or much better edit file ./parts/footer/td_sub_footer_template_1.php

But I don’t want edit pure theme! I don’t want lose my changes every update(for reason tagDiv team) footer or something.

Will be really helpful add_filter or add_action for that,
But NOT edit original theme!!! Also I don’t want have a child theme, it’s too complicated, and I don’t want loose a lot of time, for me much faster write a small plugin!

I already check the source and right now its not so easy to implement it without hardcode!

PS: don’t offer me lazy solution!

  • This reply was modified 8 years by reatlat.
reatlat
tagDiv Member
reatlat
tagDiv Member

@epickenyan theme works well :joy: try to

define( 'WP_DEBUG', true );

https://codex.wordpress.org/WP_DEBUG
And you will see a Cristmas Tree of Shit =)

reatlat
tagDiv Member

@neotrope Yes, I know, but I’m Arch Linux user! I always use latest stable version!
I think it’s better way to keep code not hackable,

Just fix it on theme and td-social-counter plugin
using this solution =)
https://stackoverflow.com/questions/39666228/how-to-rewrite-an-example-without-the-use-of-create-function

If authors has interest, I can share it via GitHub =)

  • This reply was modified 8 years by reatlat.
reatlat
tagDiv Member

FYI, I use the latest version of WP from docker
https://hub.docker.com/_/wordpress/
WordPress v.4.9.4
PHP: 7.2.0

Problem exactly with latest version PHP 7.2.0 and upper
because in version 7.2.0+ function create_function() was deprecated.

My project WIP, but I think Support team has to fix it ASAP!
Because if you check https://wordpress.org/about/requirements/
You can find best server configuration:

PHP 7.2 or greater
MySQL 5.6 or greater OR MariaDB 10.0 or greater
Nginx or Apache with mod_rewrite module
HTTPS support

Viewing 6 posts - 51 through 56 (of 56 total)