• Resolved KTS915

    (@kts915)


    There seems to be some unnecessary code at the top of your mu-plugin. What is the purpose of redefining functions like wp_get_current_user?

    In addition, on the plugin’s settings page, what is the purpose of the Select checkboxes? What is the difference between checking them and not checking them?

    • This topic was modified 6 years, 12 months ago by KTS915.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter KTS915

    (@kts915)

    Hmm, it seems that redefinition of those functions isn’t so much for the benefit of this plugin but so as to ensure that other things don’t break. Is that right?

    Plugin Author redcastor

    (@redcastor)

    Hello,

    Yes, some times on different request some global function is neccessary before load plugin.

    The name of the column in settings “Select” is not a correctly name. I suggest to change with “Active”. If the checkbox is not checked the route is not active.

    Thread Starter KTS915

    (@kts915)

    Thank you for the response. Yes, “Active” sounds like a more appropriate label.

    I have been testing the plugin and am impressed. I will write a review shortly.

    Plugin Author redcastor

    (@redcastor)

    HEllo,

    Thank you for your review. The plugin is updated with the new column name.

    Regards,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Extraneous code and settings’ is closed to new replies.