Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there,

    Our plugin wouldn’t cause this. Are you sure this isn’t being caused by another plugin?

    Thanks

    Thread Starter Art Armstrong

    (@arthurjarmstrong)

    Well we have other plugins activated on the site and I didn’t do a lot of extensive testing but I found when Sucuri was activated then the title on all pages was “Site Info” but after deactivating it was back to normal.

    Not sure if another plugin would affect it in that way.

    Yeah, really weird. We did some checks here and there is really nothing on our side that could be causing this.

    We’ll keep our eyes open, though, and if we do spot anything we’ll let you know.

    Thanks

    There are two instances of the text “Site Info” in the plugin, one in the local variable named “template_variables” inside function “sucuriscan_infosys_page” which technically speaking you can not access without extending the function.

    The second instance of this text is in the global variable “sucuriscan_pages” used as a dictionary to build the sub-menu on the WordPress admin sidebar, this is the only thing that could be causing the issue. However, there is nothing in the code that could trigger a global replacement of text outside the scope of the plugin.

    If you have not noticed, most if not all global variables defined in the Sucuri plugin are prefixed with the text “sucuriscan_” to avoid this situation of unwanted variable hierarchy, but this only works if the other plugins/extensions respect the same rules.

    I suspect that your site has a 3rd-party extension or theme that is somehow extending this variable and using it elsewhere causing an unexpected behavior which in your case is translated to a replacement of the titles of the live pages of your site. Can you provide a list of plugins and themes installed in your site so I can try to replicate the issue in my own server?

    Marking as resolved as OP is unresponsive, feel free to reopen if you have more information that allow us to reproduce the issue on our side. If you continue seeing this text replacement but do not have more information to share then the best thing to do will be to deactivate the plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Replacing with "Site Info"’ is closed to new replies.