Changeset 13105
- Timestamp:
- 01/12/2024 05:29:18 AM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-plugin-blueprint.php
r13088 r13105 58 58 } 59 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 60 74 function reviewer_blueprint( $request, $plugin ) { 61 75 // Direct zip preview for plugin reviewers … … 69 83 $landing_page = '/wp-admin/plugins.php'; 70 84 $activate_plugin = true; 85 86 87 88 89 90 91 92 93 94 71 95 72 96 // Plugin deactivated, and land on the Plugin Check page 73 97 if ( 'pcp' === $request->get_param('type') ) { 74 $landing_page = '/wp-admin/admin.php?page=plugin-check ';98 $landing_page = '/wp-admin/admin.php?page=plugin-check; 75 99 $activate_plugin = false; 100 76 101 } 77 102 … … 91 116 (object)[ 92 117 'step' => 'installPlugin', 93 'pluginZipFile' => [118 'pluginZipFile' => [ 94 119 'resource' => 'wordpress.org/plugins', 95 120 'slug' => 'plugin-check', … … 114 139 ]; 115 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 116 177 $output = json_encode( $zip_blueprint ); 117 178
Note: See TracChangeset
for help on using the changeset viewer.