Actualizacion 7.1.2

This commit is contained in:
2026-09-25 12:02:42 -06:00
parent fa60d1f364
commit 32351c9497
221 changed files with 19735 additions and 6951 deletions
@@ -271,7 +271,7 @@ class Post_Type implements Provider {
*
* @return int
*/
protected function get_post_type_count( $post_types ) {
public function get_post_type_count( $post_types ) {
global $wpdb;
$posts_to_exclude = 'page' === $post_types ? $this->get_blog_page_id() : '';
@@ -237,7 +237,7 @@ class Taxonomy implements Provider {
* @param int $current_page Current page of the sitemap.
* @return false|array
*/
private function get_terms( $taxonomy, $max_entries, $current_page ) {
public function get_terms( $taxonomy, $max_entries, $current_page ) {
$offset = $current_page > 1 ? ( ( $current_page - 1 ) * $max_entries ) : 0;
$hide_empty = ! Helper::get_settings( 'sitemap.tax_' . $taxonomy->name . '_include_empty' );