Plugin Directory

Changeset 3468456

Timestamp:
02/24/2026 09:39:48 AM (9 days ago)
Author:
Yoast
Message:

Committing 27.1-RC4 to trunk

Location:
wordpress-seo/trunk
Files:
75 added
75 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • wordpress-seo/trunk/src/schema-aggregator/application/aggregate-site-schema-command-handler.php

    r3463477 r3468456  
    6565
    6666        $aggregated_schema_pieces = $this->schema_piece_aggregator->aggregate( $schema_pieces );
    67         return $this->schema_response_composer->compose( $aggregated_schema_pieces, $command->is_debug() );
     67        return $this->schema_response_composer->compose( $aggregated_schema_pieces );
    6868    }
    6969}
  • wordpress-seo/trunk/src/schema-aggregator/application/aggregate-site-schema-command.php

    r3463477 r3468456  
    1919
    2020    /**
    21      * Whether debug mode is enabled.
    22      *
    23      * @var bool
    24      */
    25     private $is_debug;
    26 
    27     /**
    2821     * The constructor.
    2922     *
     
    3124     * @param int    $per_page  The number of items per page.
    3225     * @param string $post_type The post type to aggregate schema for.
    33      * @param bool   $is_debug  Whether debug mode is enabled.
    3426     */
    35     public function __construct( int $page, int $per_page, string $post_type, bool $is_debug = false ) {
     27    public function __construct( int $page, int $per_page, string $post_type ) {
    3628        $this->page_controls = new Page_Controls( $page, $per_page, $post_type );
    37         $this->is_debug      = $is_debug;
    3829    }
    3930
     
    4637        return $this->page_controls;
    4738    }
    48 
    49     /**
    50      * Checks if debug mode is enabled.
    51      *
    52      * @return bool
    53      */
    54     public function is_debug(): bool {
    55         return $this->is_debug;
    56     }
    5739}
  • wordpress-seo/trunk/src/schema-aggregator/application/schema-aggregator-response-composer.php

    r3464314 r3468456  
    1616     *
    1717     * @param Schema_Piece_Collection $schema_pieces The schema pieces to include in the response.
    18      * @param bool                    $is_debug      Whether debug mode is enabled.
    1918     *
    2019     * @return array<string> The composed schema response.
    2120     */
    22     public function compose( Schema_Piece_Collection $schema_pieces, bool $is_debug ): array {
     21    public function compose( Schema_Piece_Collection $schema_pieces ): array {
    2322        $composed_pieces = [];
    2423        foreach ( $schema_pieces->to_array() as $piece ) {
     
    3029            );
    3130        }
    32         if ( $is_debug ) {
    33             $composed_pieces[] =
    34                 [
    35                     '@context'   => 'https://schema.org',
    36                     '@type'      => 'Thing',
    37                     'name'       => 'Yoast SEO schema aggregator version',
    38                     'identifier' => '1.0',
    39                 ];
    40         }
    41 
    4231        return $composed_pieces;
    4332    }
  • wordpress-seo/trunk/src/schema-aggregator/user-interface/site-schema-aggregator-route.php

    r3463477 r3468456  
    165165        }
    166166
    167         $is_debug = (bool) $request->get_param( 'debug' );
    168167        $page     = ( $request->get_param( 'page' ) ?? 1 );
    169168        $per_page = $this->config->get_per_page( $post_type );
    170169
    171170        $output = $this->cache_manager->get( $post_type, $page, $per_page );
    172         if ( $is_debug ) {
    173             $output = null;
    174         }
    175171        if ( $output === null ) {
    176172            try {
    177                 $output = $this->aggregate_site_schema_command_handler->handle( new Aggregate_Site_Schema_Command( $page, $per_page, $post_type, $is_debug ) );
     173                $output = $this->aggregate_site_schema_command_handler->handle( new Aggregate_Site_Schema_Command( $page, $per_page, $post_type ) );
    178174                $this->cache_manager->set( $post_type, $page, $per_page, $output );
    179175
  • wordpress-seo/trunk/vendor/composer/installed.php

    r3465838 r3468456  
    44        'pretty_version' => 'dev-trunk',
    55        'version' => 'dev-trunk',
    6         'reference' => '0a597e38e91c71ec73a57fdc7979181316ba15f6',
     6        'reference' => '',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    2323            'pretty_version' => 'dev-trunk',
    2424            'version' => 'dev-trunk',
    25             'reference' => '0a597e38e91c71ec73a57fdc7979181316ba15f6',
     25            'reference' => '',
    2626            'type' => 'wordpress-plugin',
    2727            'install_path' => __DIR__ . '/../../',
  • wordpress-seo/trunk/wp-seo-main.php

    r3465838 r3468456  
    1616 *            serious issues with the options, so no if ( ! defined() ).}}
    1717 */
    18 define( 'WPSEO_VERSION', '27.1-RC3' );
     18define( 'WPSEO_VERSION', '27.1-RC' );
    1919
    2020
  • wordpress-seo/trunk/wp-seo.php

    r3465838 r3468456  
    99 * @wordpress-plugin
    1010 * Plugin Name: Yoast SEO
    11  * Version:     27.1-RC3
     11 * Version:     27.1-RC
    1212 * Plugin URI:  https://yoa.st/1uj
    1313 * Description: The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.
Note: See TracChangeset for help on using the changeset viewer.