/** * Performance enhancements for Oxygen builder that are very for those * with large databases. Only do if you are comfortable with editing PHP. */ /** * Change lines 1085 to 1107 of /wp-content/plugins/oxygen/component-framework/component-init.php to this: */ $query = " SELECT DISTINCT($wpdb->postmeta.meta_key) FROM $wpdb->postmeta WHERE $wpdb->postmeta.meta_key NOT LIKE '\_%'; "; $meta = $wpdb->get_results($query); if( is_array( $meta ) ) { function oxygen_return_meta_keys( $val ) { return $val->meta_key; } $oxygen_meta_keys = array_map( 'oxygen_return_meta_keys', $meta ); } /** * Change line 3854 in /wp-content/plugins/oxygen/component-framework/components/classes/dynamic-list.class.php * to this. */ $authors = get_users( array( 'who' => 'authors', 'has_published_posts' => true ) ); /** * Change line 1129 in /wp-content/plugins/oxygen/component-framework/components/classes/easy-posts.class.php * to this. */ $authors = get_users( array( 'who' => 'authors', 'has_published_posts' => true ) );