WordPress.org

Ready to get started?Download WordPress

Forums

Network Nginx Proxy Cache Purge
Correction (2 posts)

  1. cesarlaso
    Member
    Posted 1 year ago #

    Hi,
    I´ve found an error in this line:

    $terms = wp_get_object_terms( $post_id, $tax, array( 'fields' => 'slug' ) );

    The plugin dont generate correct urls.

    To solve, correct line is:
    $terms = wp_get_object_terms( $post_id, $tax, array( 'fields' => 'slugs' ) );

    Change "slug" by "slugs" (with s)

    Now, works fine.

    sorry but English is not my language

    Thanks,
    César Laso

    http://wordpress.org/extend/plugins/network-nginx-proxy-cache-purge/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.