WordPress.org

Ready to get started?Download WordPress

Forums

Read Offline
Support / Feedback (2 posts)

  1. Per Soderlind
    Member
    Plugin Author

    Posted 1 year ago #

    Please post a comment at my site if you need support or have feedback.

    Thanks,
    PerS

    http://wordpress.org/extend/plugins/read-offline/

  2. szaqal21
    Member
    Posted 1 year ago #

    Your site is down so I'm posting here. Your plugin causes rewrite rules flush every time you navigate through admin, I think that the problem is here:

    function ps_read_offline_flush_rewrite_rules() {
    
    			$rules = $GLOBALS['wp_rewrite']->wp_rewrite_rules(); // you have missed this line
    			// without upper line this condition is always true :)
    			if ( ! isset( $rules['read-offline/([^/]+)/([^\.]+).(pdf|epub|mobi)$'] ) ) {
    				global $wp_rewrite;
    	   			$wp_rewrite->flush_rules();
    			}
        	}

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.