Changeset 13655
- Timestamp:
- 05/02/2024 08:13:54 AM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/dotorg/helpscout/plugins-themes.php
r13651 r13655 141 141 142 142 function display_items( $post_ids ) { 143 global $request; 144 143 145 echo '<ul>'; 144 146 foreach ( $post_ids as $post_id ) { … … 173 175 174 176 // Append Info URL. 175 if ( $download_url && class_exists( '\WordPressdotorg\Plugin_Directory\API\Routes\Plugin_Review' ) ) { 177 if ( 178 $download_url && 179 str_starts_with( $request->mailbox->email ?? '' , 'plugins' ) && 180 class_exists( '\WordPressdotorg\Plugin_Directory\API\Routes\Plugin_Review' ) 181 ) { 176 182 $download_url = \WordPressdotorg\Plugin_Directory\API\Routes\Plugin_Review::append_plugin_review_info_url( $download_url, $post ); 177 183 }
Note: See TracChangeset
for help on using the changeset viewer.