Skip to content

VIP Platform Changelog

The VIP Platform Changelog includes updates made to the functionality and behavior of the platform's tooling (i.e. VIP Dashboard, VIP-CLI), VIP MU plugins, VIP File System, caching layers, and other underlying architecture and software.

RSS 

Showing page 65 of 68

11 February 2021

23:59:19 GMT+0000

Passing a query string like http://vip-go-dev.lndo.site/?name[]=test will cause the below php error:

PHP Warning: trim() expects parameter 1 to be string, array given in /app/wp/wp-includes/class-wp-query.php on line 779

Because WordPress interprets these sorts of query strings as single post or single page queries – it will end up with a main query that looks like the SQL query below – which is notably limitless:

SELECT wp_posts.*
FROM wp_posts
WHERE 1=1
AND wp_posts.post_type = 'post'
ORDER BY wp_posts.post_date DESC

This is a stopgap while awaiting the resolution of the following core ticket:

https://core.trac.wordpress.org/ticket/17737

https://github.com/Automattic/vip-go-mu-plugins/pull/1981

11 February 2021

23:58:35 GMT+0000

This change skips count validation on indexes that have no documents – these are assumed uninitialized. This results in a special line in the CLI initiated report:

$ wp vip-search health validate-counts
Validating post count

✅ no inconsistencies found when counting entity: post, type: post, index_version: 2 - (DB: 5, ES: 5, Diff: 0)
✅ no inconsistencies found when counting entity: post, type: page, index_version: 2 - (DB: 1, ES: 1, Diff: 0)
🟧 skipping, because there are no documents in ES when counting entity: post, type: post, index_version: 3
🟧 skipping, because there are no documents in ES when counting entity: post, type: page, index_version: 3

Validating user count

✅ no inconsistencies found when counting entity: user, type: N/A, index_version: 1 - (DB: 3, ES: 3, Diff: 0)
✅ no inconsistencies found when counting entity: user, type: N/A, index_version: 2 - (DB: 3, ES: 3, Diff: 0)

Also, the health cron job will not report mismatches for indexes with 0 documents.

https://github.com/Automattic/vip-go-mu-plugins/pull/1976

08 February 2021

16:31:35 GMT+0000

Adds another filter to reduce requests from Jetpack made to detect HTTPS / SSL support.

https://github.com/Automattic/vip-go-mu-plugins/pull/1973

02 February 2021

12:26:44 GMT+0000

Phpcs cleanup of class-health-job.php.

https://github.com/Automattic/vip-go-mu-plugins/pull/1960

#mu-plugins, #search, #code-standards

29 January 2021

16:58:32 GMT+0000

There’s now the option to skip loading VaultPress code entirely, which can be useful if it’s not being used.

Some considerations need to be taken to disable VaultPress if it has been used before. So in case you are interested, please open a support ticket to get more information.

https://github.com/Automattic/vip-go-mu-plugins/pull/1965

#mu-plugins, #vaultpress