WordPress.org

Support

Support » Plugins and Hacks » Transient should be purged when new pages are added

Transient should be purged when new pages are added

  • yitwail
    Participant

    @yitwail

    After updating the plugin, I discovered that newly added pages do not show up in the list of pages. I had to use phpmyadmin to delete _transient_dw_details from wp_options.

    Please flush the transient when pages are added, or else provide an option to do so in the plugin settings perhaps. It’s inconvenient using phpymyadmin, or waiting one week for the transient to expire.
    —————————————–
    PS: I looked at the plugin code, and I see this line:
    add_action('save_post_page', array(&$this, 'delete_transient'));

    This *should* delete the transient when a new page is created, but for some reason it’s not.

    https://wordpress.org/plugins/display-widgets/

Viewing 5 replies - 1 through 5 (of 5 total)
  • gtredwell
    Member

    @gtredwell

    I was having the same problem- obviously ideally the plugin code should be corrected, but for a quick fix I found that just deactivating then activating the plugin made the newly added pages show up in the list.

    yitwail
    Participant

    @yitwail

    that’s a good workaround, thanks

    kmitteldorf
    Member

    @kmitteldorf

    This sounds tempting, but . . .

    I have many widgets on many pages. If I deactivate and then reactivate, will I lose all of my settings? In other words, will I need to re-select which widgets appear on which pages?

    Plugin Author Steph Wells
    Participant

    @sswells

    No, settings aren’t deleted.

    Chris Dillon
    Participant

    @cdillon27

    See this thread if you would like to help track down this problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Transient should be purged when new pages are added’ is closed to new replies.