Jonny Harris

Results 160 comments of Jonny Harris

This would be useful for cache invalidation of theme caches, related to current performance work. CC @swissspidy @joemcgill @felixarntz

> `WP_Theme::cache_add()` and `WP_Theme::cache_get()` are private, so we can't really use these. It maybe possible to use a reflection or copy the logic from inside these methods. > The delete...

> Can we maybe try to replicate the exact functions being internally used in `class-wp-theme.php` for these functions? We can replicate the entire logic for the functions and along with...

I agree with @tollmanz admin functionality has no place in a drop-in. I like the idea of not flushing the cache, but invalidating the salt is a great idea. It...

@eclarke1 Assigned to database for now. But this change is part of the autoload options epic.

It worth noting that svg-sanitizer library is only PHP 7.0+. WordPress core still supports 5.6. Either this library needs to be backported to php 5.6 or will have to be...

Seems like this there is movement on making PHP 7.2 min version. Which would be extremely helpful - https://core.trac.wordpress.org/ticket/57345

I had a play around with @markjaquith POC code. [See](https://gist.github.com/markjaquith/f21566334133d2843598c064e76f1142). My thoughts. I really like the idea of setting unused options to not autoload. But is hard to know when...

Stupid question, can't you just add `p:` to the start of the host constant. Like this ``` define( 'DB_HOST', 'p:127.0.0.1' ); ``` What else needs to change?

@jordantrizz Have you tried using [ludicrousdb](https://github.com/stuttter/ludicrousdb)? It a database plugin ( drop-in ) that allow for p: at the start of the connection. [See](https://github.com/stuttter/ludicrousdb/blob/145e3b5e3efe7e7ed7434037ac4c5f39045a520d/ludicrousdb/includes/class-ludicrousdb.php#L940-L946). You can config this [line](https://github.com/stuttter/ludicrousdb/blob/145e3b5e3efe7e7ed7434037ac4c5f39045a520d/ludicrousdb/drop-ins/db-config.php#L56).