Title: sam2kb's Replies | WordPress.org

---

# sam2kb

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to suggest a change to WP documentation page](https://wordpress.org/support/topic/how-to-suggest-a-change-to-wp-documentation-page/)
 *  Thread Starter [sam2kb](https://wordpress.org/support/users/sam2kb/)
 * (@sam2kb)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/how-to-suggest-a-change-to-wp-documentation-page/#post-12846829)
 * Thanks for the info
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Real Media Library: Media Library Folder & File Manager] Gallery tags don’t work in a free version](https://wordpress.org/support/topic/gallery-tags-dont-work-in-a-free-version/)
 *  Thread Starter [sam2kb](https://wordpress.org/support/users/sam2kb/)
 * (@sam2kb)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/gallery-tags-dont-work-in-a-free-version/#post-12819841)
 *     ```
       Request URL:http://localhost:81/wp-json/wp/v2/block-renderer/real-media-library/gallery?context=edit&attributes%5Bfid%5D=504&attributes%5Bcolumns%5D=5&attributes%5BimageCrop%5D=true&attributes%5Bcaptions%5D=true&attributes%5BlinkTo%5D=media&attributes%5BlastEditReload%5D=0&post_id=6939&_locale=user
   
       Request Method:GET
       Remote Address:127.0.0.1:81
       Status Code: 404
       Version:HTTP/1.1
       ```
   
 * `{"code":"rest_no_route","message":"No route was found matching the URL and request
   method","data":{"status":404}}`
 * If I deactivate the free plugin and then activate a paid one, the code is rendered
   ok
    -  This reply was modified 6 years, 5 months ago by [sam2kb](https://wordpress.org/support/users/sam2kb/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Real Media Library: Media Library Folder & File Manager] Gallery tags don’t work in a free version](https://wordpress.org/support/topic/gallery-tags-dont-work-in-a-free-version/)
 *  Thread Starter [sam2kb](https://wordpress.org/support/users/sam2kb/)
 * (@sam2kb)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/gallery-tags-dont-work-in-a-free-version/#post-12819817)
 * Here’s the screenshot. It’s a post with a folder.
 * `<!-- wp:real-media-library/gallery {"fid":504,"columns":5,"linkTo":"media"} /--
   >`
 * [https://i.ibb.co/9cZFNJg/Screenshot-2020-05-12-Edit-Post-Toe-Shoes-Barefoot-or-Minimalist-Shoes-and-Vibram-Five-Fingers-Reviews-News-Forums-Bir.png](https://i.ibb.co/9cZFNJg/Screenshot-2020-05-12-Edit-Post-Toe-Shoes-Barefoot-or-Minimalist-Shoes-and-Vibram-Five-Fingers-Reviews-News-Forums-Bir.png)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Facebook Feed] Pull feeds from multiple pages](https://wordpress.org/support/topic/pull-feeds-from-multiple-pages/)
 *  Thread Starter [sam2kb](https://wordpress.org/support/users/sam2kb/)
 * (@sam2kb)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/pull-feeds-from-multiple-pages/#post-8703497)
 * Thanks for adding the changes
 * There’s a problem though, you need to check and return cached feeds BEFORE you
   do the **“foreach”** loop. Otherwise there’s no sense in having it cached.
 * Also there’s no need to run `implode('', $cachedFeed);` twice, just implode the
   items before you save them to cache, and then return the results as is.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Facebook Feed] Pull feeds from multiple pages](https://wordpress.org/support/topic/pull-feeds-from-multiple-pages/)
 *  Thread Starter [sam2kb](https://wordpress.org/support/users/sam2kb/)
 * (@sam2kb)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/pull-feeds-from-multiple-pages/#post-8541614)
 * BTW to make things even smoother we need to cache the feeds
 *     ```
       $cacheKey = md5('eff'.serialize($shortcode_atts));
       if( $cachedFeed = get_transient($cacheKey) )
       {	// Return cached feed
       	return $cachedFeed;
       }
   
       /* foreach() & krsort() etc.  */
   
       // Save to cache for 30 minutes
       set_transient($cacheKey, $items, 1800);
   
       return $items;
       ```
   
    -  This reply was modified 9 years, 10 months ago by [sam2kb](https://wordpress.org/support/users/sam2kb/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[reCaptcha by BestWebSoft] reCaptcha Not Required](https://wordpress.org/support/topic/recaptcha-not-required-1/)
 *  [sam2kb](https://wordpress.org/support/users/sam2kb/)
 * (@sam2kb)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/recaptcha-not-required-1/#post-5641276)
 * You guys must be joking, this **PLUGIN DOES NOTHING to stop comment spam** since
   it relies entirely on javascript. Just disable javascript and post anything without
   entering captcha.
 * **Quick fix**: edit line 124 in google-captcha.php and make it look like the 
   code below.
 *     ```
       if ( '1' == $gglcptch_options['comments_form'] ) {
           add_action( 'comment_form_after_fields', 'gglcptch_commentform_display' );
           add_action( 'comment_form_logged_in_after', 'gglcptch_commentform_display' );
           add_action( 'pre_comment_on_post', 'gglcptch_lostpassword_check' );
       }
       ```
   
 * Ideally we need to use a hook in wp-load.php and check $_POST params to exit 
   the script early and save resources.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[reCaptcha by BestWebSoft] reCaptcha Not Required](https://wordpress.org/support/topic/recaptcha-not-required-1/)
 *  [sam2kb](https://wordpress.org/support/users/sam2kb/)
 * (@sam2kb)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/recaptcha-not-required-1/#post-5641275)
 * Same here, captcha is ignored when javascript is disabled.

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