12:10 AM
there's no atomic operation to get an option and fii it has a value set it to another value else do something else
4 hours later…
4:26 AM
1 hour later…
5:45 AM
@ChristineCooper To be honest that is quite easy to achieve database-wise. If you have a properly designed database with indexed keys, relations and proper column types, you could query hundreds of millions of rows within milliseconds
It's not possible in a WP context since WP doesn't believe in any of those and it takes like a second for the core itself to load
7 hours later…
12:30 PM
1 hour later…
1:37 PM
@JackJohansson calling WP rest api an API is a joke. why would an API need to create all kind of objects that should be available only at the UI (and rest API waste time on doing translations of strings in all kinds of situation if not at all of them), so if you want a fast API you do it without initializing the fall stack. there is a
short_init
define that you might be able to use to get the "must have" without parsing wp-config by yourself.
1 hour later…
2:46 PM
4 hours later…
« first day (3997 days earlier) ← previous day next day → last day (962 days later) »