Support » Plugin: Permalinks Customizer » Flush Permalinks Cache

  • Resolved keengamer

    (@keengamer)


    Hello,

    I am not able to find any relevant information why all other roles except Administrator have at the main admin bar Flush Permalinks Cache. I have deactivated the right to do so but the item is not possible to remove from the menu, it is visible only for everyone except admins and I have no idea what it does. I don’t want to delete any permalinks which must work just by coincidence.

    Thanks for help and clarification.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Sami Ahmed Siddiqui

    (@sasiddiqui)

    Hi @keengamer

    Sorry for the delay in my response and thank you for reporting this issue. I will check and fix in the upcoming release.

    Regards,
    Sami

    Plugin Author Sami Ahmed Siddiqui

    (@sasiddiqui)

    Hi @keengamer

    I have fixed the issue and now the Flush Permalinks Cache option only seen to those users who have the manage_options permission.

    This fix will be available in the upcoming release.

    Regards,
    Sami

    Plugin Author Sami Ahmed Siddiqui

    (@sasiddiqui)

    Hi @keengamer

    I have released v2.7.0 which hopefully solves your issue. Please update the plugin and provide your valuable feedback.

    Regards,
    Sami

    Ok, I can’t see it anymore. However, just a question, shouldn’t admin be able to see it? I don’t use it anymore but admins should be able to flush the cache, shouldn’t they? If I use for example AAM plugin https://aamplugin.com/ then normally you can choose what to hide or see in the admin toolbar but your flush cache is not there…

    Plugin Author Sami Ahmed Siddiqui

    (@sasiddiqui)

    @keengamer Admin or the user which has the manage_options capability can see this option.

    I am seeing this option for admin (before making this change + after making this change).

    Maybe due to having AAM Plugin, you are not able to see this option for admin in any case. I don’t know why it happens. I’ll check that out.

    Regards,
    Sami

    Well, right now we just use in functions.php so nobody can see it…

    // Remove Permalinks Flush from admin menu
    add_action( ‘wp_before_admin_bar_render’, function() {
    global $wp_admin_bar;
    $wp_admin_bar->remove_menu(‘permalinks-customizer’);
    }, 7 );

    But I wasn’t able to see it even without removing it.

    • This reply was modified 4 months, 2 weeks ago by keengamer.
    Plugin Author Sami Ahmed Siddiqui

    (@sasiddiqui)

    @keengamer I think that is because of the AAM Plugin. It is removing it from the Admin bar.

    By the way, Which PHP Version you are using?

    Hi. The newest one. But strange is that the options to show or hide your menu is missing there in aam. Any other plugin is correctly displayed there. Either you do something differently or it could be our messed up installation right now. Best would be to test it with aam and you should be able to hide or show your menu from the admin bar…

    Plugin Author Sami Ahmed Siddiqui

    (@sasiddiqui)

    I am able to see this option in AAM Plugin. The option is available with the name of “Flush Permalinks Cache” as of now. Here is the screenshot:
    Screen Shot 2019-07-08 at 5.24.43 PM.png

    So, can you see it here in this menu? https://ibb.co/fdcY9HV If you can then the problem will be on our side…

    Plugin Author Sami Ahmed Siddiqui

    (@sasiddiqui)

    @keengamer I am seeing the option on my end until I don’t restrict that menu. Once I restrict that then it will no longer be available until or unless I reset to Default.

    I think you or someone else have already restricted the menu that’s the reason you are not seeing the option.

    Well, yeah, but I am the admin and changing the administrator :-). Nevermind, it seems like a bug on our site, so no problem now…

    Plugin Author Sami Ahmed Siddiqui

    (@sasiddiqui)

    @keengamer Let me know if you have any other issue.

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.