Title: Ryan Williams's Replies | WordPress.org

---

# Ryan Williams

  [  ](https://wordpress.org/support/users/cyclic/)

 *   [Profile](https://wordpress.org/support/users/cyclic/)
 *   [Topics Started](https://wordpress.org/support/users/cyclic/topics/)
 *   [Replies Created](https://wordpress.org/support/users/cyclic/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/cyclic/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/cyclic/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/cyclic/engagements/)
 *   [Favorites](https://wordpress.org/support/users/cyclic/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Login by Auth0] Action Required: Authorization Code and Access Token Variable Size](https://wordpress.org/support/topic/action-required-authorization-code-and-access-token-variable-size/)
 *  [Ryan Williams](https://wordpress.org/support/users/cyclic/)
 * (@cyclic)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/action-required-authorization-code-and-access-token-variable-size/#post-15526196)
 * I don’t think this plugin is affected by the change. I saw notices in my Auth0
   logs, disabled the toggle in the settings, and did not have any problem logging
   in to WordPress using Auth0 before or after the toggle.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP REST Filter] Why was it taken out in the first place..](https://wordpress.org/support/topic/why-was-it-taken-out-in-the-first-place/)
 *  [Ryan Williams](https://wordpress.org/support/users/cyclic/)
 * (@cyclic)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/why-was-it-taken-out-in-the-first-place/#post-10686549)
 * [https://github.com/WP-API/WP-API/issues/2799](https://github.com/WP-API/WP-API/issues/2799)
 * [https://core.trac.wordpress.org/ticket/38378](https://core.trac.wordpress.org/ticket/38378)
    -  This reply was modified 7 years, 9 months ago by [Ryan Williams](https://wordpress.org/support/users/cyclic/).
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [wp-cli scaffold plugin-tests does not pass phpcs rules](https://wordpress.org/support/topic/wp-cli-scaffold-plugin-tests-does-not-pass-phpcs-rules/)
 *  Thread Starter [Ryan Williams](https://wordpress.org/support/users/cyclic/)
 * (@cyclic)
 * [8 years ago](https://wordpress.org/support/topic/wp-cli-scaffold-plugin-tests-does-not-pass-phpcs-rules/#post-10308934)
 * Disregard, I had an old version of wp-cli.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CommentPress Core] AJAX error!](https://wordpress.org/support/topic/ajax-error-26/)
 *  [Ryan Williams](https://wordpress.org/support/users/cyclic/)
 * (@cyclic)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/ajax-error-26/#post-9454855)
 * I discovered that disabling the comment group of our Redis object cache makes
   the comments show up under the correct paragraph and thereby fixes the JS error.
   Here’s how I did it:
 *     ```
       /**
        * Comments are not nested correctly if caching is on, so disable it for commentpress.
        */
       function hcommons_selectively_disable_object_cache() {
       	$theme = wp_get_theme();
   
       	if ( false !== strpos( strtolower( $theme->get( 'Name' ) ), 'commentpress' ) ) {
       		wp_cache_add_non_persistent_groups( array( 'comment' ) );
       	}
       }
       add_action( 'plugins_loaded', 'hcommons_selectively_disable_object_cache' );
       ```
   
    -  This reply was modified 8 years, 9 months ago by [Ryan Williams](https://wordpress.org/support/users/cyclic/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CommentPress Core] AJAX error!](https://wordpress.org/support/topic/ajax-error-26/)
 *  [Ryan Williams](https://wordpress.org/support/users/cyclic/)
 * (@cyclic)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/ajax-error-26/#post-9428242)
 * We have the same issue in commentpress-core:3.9.3. It happens when the comment
   being added is the first on its paragraph, because line 958 of cp-ajax-comments.
   js calls last_id.toString() but last_id is empty due to this being the first 
   comment (see line 945 last_id = $(last).prop(‘id’); ).
 * The plugin should definitely not alert() this error in any case, but I’m not 
   sure how you want to handle it or I would be happy to submit a PR myself.
 * You can see it in action at [https://cyborguniversity.hcommons.org/](https://cyborguniversity.hcommons.org/).

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