WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
[resolved] Hijack of child page with past in the slug (4 posts)

  1. Rasmataz
    Member
    Posted 7 months ago #

    After upgrading a site and all plugins, we found that TEC was hijacking a child page of the Events page. The child page is a posts listing page and was called Past Projects (slug: past-projects). Attempting to display the page, the content showed a title of Past Events and a Next Event button. (there were no past events)

    Changing the parent from Events to another page everything worked correctly.

    Our work around was to change the page slug to old-projects and leave the title as Past Projects after which it worked correctly as a child of the Events page. Further playing around showed that any child page with past in the slug was hijacked.

    If TEC is going to hijack a page, it should be part of the settings and use a complete page slug rather than a fragment.

    https://wordpress.org/plugins/the-events-calendar/

  2. Brook
    Modern Tribe Support Rep
    Plugin Author

    Posted 6 months ago #

    Thanks for reporting this Rastamataz. I am looking into this to see if there is anything we can change. I will get back to you once I have had a chance to run this by the devs. Cheers!

    - Brook

  3. Brook
    Modern Tribe Support Rep
    Plugin Author

    Posted 5 months ago #

    Howdy again Rastamataz,

    I am so sorry. I forgot to get back to you. It seems I lost my note telling me to followup. :(

    Is this still happening for you? When I create a page a page called "Past Projects" I get the slug /past-projects/. That page worked fine. So then I tried renaming the slug to /past/. Again it worked as expected, so finally I thought maybe this is a child page? So I create a parent "Projects" page and thus changed the URL to /projects/past/. Once again it worked as expected. Perhaps this was incidentally fixed in a newer version of our plugin? Or maybe there is something unique about your server environment that causes this? Either way, please let me know if it is still happening. Thanks!

    - Brook

  4. leahkoerper
    Modern Tribe Support Rep
    Plugin Author

    Posted 4 months ago #

    It’s been a month since we last heard from you, so in accordance with our forum guidelines I’m marking this thread resolved. Thanks for your support!

    ~Leah

Reply

You must log in to post.

About this Plugin

About this Topic