WordPress 7.1.3

This commit is contained in:
2026-10-06 18:59:45 -06:00
parent e2c26b7f21
commit 5c09d6fa68
51 changed files with 1111 additions and 825 deletions
@@ -48,6 +48,20 @@ class Rest extends WP_REST_Controller {
],
'postsRowsByObjects' => [
'callback' => [ Stats::get(), 'get_posts_rows_by_objects' ],
'args' => [
'page' => [
'description' => esc_html__( 'Page number.', 'seo-by-rank-math' ),
'type' => 'integer',
'required' => false,
'sanitize_callback' => 'absint',
],
'per_page' => [
'description' => esc_html__( 'Results per page.', 'seo-by-rank-math' ),
'type' => 'integer',
'required' => false,
'sanitize_callback' => 'absint',
],
],
],
'post/(?P<id>\d+)' => [
'callback' => [ $this, 'get_post' ],