Changeset 12469
- Timestamp:
- 03/14/2023 07:30:35 AM (3 years ago)
- Location:
- sites/trunk/api.wordpress.org/public_html/dotorg/helpscout
- Files:
-
- 2 edited
-
common.php (modified) (1 diff)
-
plugins-themes.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/dotorg/helpscout/common.php
r12468 r12469 148 148 149 149 $regexes = [ 150 '!/([^/]+\.)?wordpress.org/(?<type>plugins|themes)/(?P<slug>[ ^/]+)/?!im',150 '!/([^/]+\.)?wordpress.org/(?<type>plugins|themes)/(?P<slug>[a-z0-9-]+)/?!im', 151 151 '!(?P<type>Plugin|Theme):\s*(?P<slug>[a-z0-9-]+)$!im', 152 '!(?P<type>plugins|themes)\.(trac|svn)\.wordpress\.org/(browser/)?(?P<slug>[ ^/]+)!im',152 '!(?P<type>plugins|themes)\.(trac|svn)\.wordpress\.org/(browser/)?(?P<slug>[a-z0-9-]+)!im', 153 153 ]; 154 154 -
sites/trunk/api.wordpress.org/public_html/dotorg/helpscout/plugins-themes.php
r12467 r12469 59 59 60 60 display_items( $post_ids ); 61 62 echo '<br/>'; 61 63 } 62 64 … … 74 76 75 77 display_items( $items ); 78 79 echo '<br/>'; 76 80 } 77 81 … … 116 120 "SELECT ID 117 121 FROM $wpdb->posts 118 WHERE post_type IN( 'plugin', 'repopackage' ) AND {$where}122 WHERE post_type IN( 'plugin', 'repopackage' ) AND ( {$where} ) 119 123 ORDER BY FIELD( post_status, 'new', 'pending', 'publish', 'disabled', 'delisted', 'closed', 'approved', 'suspended', 'rejected', 'draft' ), post_title", 120 124 );
Note: See TracChangeset
for help on using the changeset viewer.