• I wish that copyright cannot be deleted from the site WordPress.

    It is a function that if you delete copyright from the site, the site will no longer work correctly?

    Or an idea how I can do this.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator bcworkz

    (@bcworkz)

    The context in which you want this is unclear. Do you mean like the copyright notice in a theme’s footer, a theme that you’ve developed? Equivalent to the “Powered by WordPress” line that is often in WP default themes?

    If so, there’s nothing you can do. The site owner has access and control of their copy of your theme’s source code. Anything you could contrive of to make things difficult could be circumvented.

    For example, you could implement a hashing scheme on the file containing the notice. Should the file be altered, the hash check would fail and code could abort further loading. Sounds doable, right? All someone would have to do is comment out the hash check and the entire scheme would fail to work as intended.

    You could even cryptologically encode everything so what your hash check is really doing and how to defeat it is obscured. But the decode key has to be available for the code to execute, so all anyone needs to do is use the key to decode everything. You can obfuscate and make things difficult, but you cannot prevent.

    Thread Starter emanuelemn

    (@emanuelemn)

    Yes, it is also good if I can make the deletion more difficult.

    Can you help me with this?

    Thank you

    Moderator bcworkz

    (@bcworkz)

    Sorry, no. Ideas I have lots of. Functioning code, no.

    This would be breach the license that allows you to use WordPress (GPL), so no, you can’t do that.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Copyright protection so that it cannot be deleted’ is closed to new replies.