Making WordPress.org


Ignore:
Timestamp:
08/25/2023 04:24:01 AM (3 years ago)
Author:
dd32
Message:

Plugin Directory: Review Tools metabox: Use the proper updateuri field name.

See [12861].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-review-tools.php

    r12861 r12862  
    297297                                // This is a placeholder filename, it'll work for our purposes.
    298298                                "{$post->post_name}/{$post->post_name}.php" => [
    299                                     // This Update-URI header should not exist in w.org plugins, but ensures this test request resolves to this plugin.
    300                                     'Update-URI' => "w.org/plugins/{$post->post_name}",
    301                                     'Name'       => $post->post_title,
    302                                     'Version'    => $post->version,
     299                                    // This Update URI header should not exist in w.org plugins, but ensures this test request resolves to this plugin.
     300                                    'UpdateURI' => "w.org/plugins/{$post->post_name}",
     301                                    'Name'      => $post->post_title,
     302                                    'Version'   => $post->version,
    303303                                ]
    304304                            ];
Note: See TracChangeset for help on using the changeset viewer.