Is there a security vulnerability in Advanced Custom Fields related to the SCF fork?

It’s probably the issue mentioned in the changelog for 6.3.8 here. The developers were unable to release the patch on dot org themselves because Mullenweg had unilaterally revoked their access to the plugin repository because the plugin is owned by WP Engine. The issue has been patched in the version available directly from the developer, … Read more

Randomize post list with some posts with specific ACF value in the top 50%

Issue with the way you are unsetting sticky posts from the $post_list array and then reinserting them at the specified positions and should work correctly like below code structure. Removed the unnecessary $position variable in the foreach loop. Changed the way sticky items are inserted back into the $post_list array using array_unshift to add them … Read more

WordPress API V2 – filter and order by ACF field

You could consider using the rest_{$this->post_type}_query filter hook to modify the result of certain REST API queries. To not mess with existing API calls, you could look at using new query parameters that have not been used. Then, use these parameters in your filter. For example: GET /wp-json/wp/v2/crowdfunding?per_page=6&foo_parameter=bar function my_plugin_filter( $args, $request ) { if … Read more