Use jetpack autoloader and composer instead of namespace rewrite

This commit is contained in:
David Stone
2025-02-02 01:22:03 -07:00
parent 1e02e42706
commit 71b0e7a455
3479 changed files with 4128 additions and 379511 deletions

View File

@ -0,0 +1,11 @@
--- /dev/null
+++ ../src/Database/Query.php
@@ -2169,7 +2169,7 @@
$caps = $this->get_column_field( array( 'name' => $key ), 'caps' );
// Unset if not explicitly allowed
- if ( empty( $caps[ $method ] ) || ! current_user_can( $caps[ $method ] ) ) {
+ if ( empty( $caps[ $method ] ) ) {
if ( is_array( $item ) ) {
unset( $item[ $key ] );
} elseif ( is_object( $item ) ) {