[16910] Updated WP_Partial_Query with getters for internal WP_Query and SQL string