Title: Restricted Path option doesn’t work correctly
Last modified: July 7, 2025

---

# Restricted Path option doesn’t work correctly

 *  Resolved [lucasw89](https://wordpress.org/support/users/lucasw89/)
 * (@lucasw89)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/restricted-path-option-doesnt-work-correctly/)
 * The Restricted Path option doesn’t work due to the bug in the code described 
   here:
 * [https://wordpress.org/support/topic/fixed-a-bug-when-deciding-whether-the-table-of-contents-is-displayed-or-not/](https://wordpress.org/support/topic/fixed-a-bug-when-deciding-whether-the-table-of-contents-is-displayed-or-not/)
 * The issue has been present for years and haven’t been fixed due to lack of proper
   support. Now seeing that the support forums are active again, it’s time to finally
   fix this. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Prabhat](https://wordpress.org/support/users/prabhatrai/)
 * (@prabhatrai)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/restricted-path-option-doesnt-work-correctly/#post-18548092)
 * Hi [@lucasw89](https://wordpress.org/support/users/lucasw89/),
 * Thank you for bringing this up and sharing the thread.
 * I tested the “Restrict Path” option and replicated the issue. I’ve created an
   internal issue for this, and we’ll be addressing it in our future updates.
 * I’ll ensure to notify you as soon as we have an update.
 * Please feel free to let me know if you have any other questions.
 * Thanks!
 *  Thread Starter [lucasw89](https://wordpress.org/support/users/lucasw89/)
 * (@lucasw89)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/restricted-path-option-doesnt-work-correctly/#post-18760234)
 * Heey! Is there any update coming regarding this?
 *  Plugin Support [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * (@aurangajeb)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/restricted-path-option-doesnt-work-correctly/#post-18762630)
 * Hi [@lucasw89](https://wordpress.org/support/users/lucasw89/) ,
 * I’ve escalated this issue to our Development team and will follow up with you
   as soon as there is an update.
 * While I can’t provide an exact timeframe for the fix, please be assured that 
   we will notify you once an update is available.
 * Thank you for your patience.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frestricted-path-option-doesnt-work-correctly%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/table-of-contents-plus/assets/icon-256x256.png?rev=1151771)
 * [Table of Contents Plus](https://wordpress.org/plugins/table-of-contents-plus/)
 * [Support Threads](https://wordpress.org/support/plugin/table-of-contents-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/table-of-contents-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/table-of-contents-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/table-of-contents-plus/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * Last activity: [5 months, 3 weeks ago](https://wordpress.org/support/topic/restricted-path-option-doesnt-work-correctly/#post-18762630)
 * Status: resolved