Ticket #6671: 6671.patch
File 6671.patch, 5.7 KB (added by , 2 years ago) |
---|
-
wordpress.org/public_html/wp-content/plugins/photo-directory/inc/search.php
101 101 * @return string 102 102 */ 103 103 public static function limit_partial_matching( $where, $query ) { 104 global $wpdb;105 104 106 105 if ( ! is_admin() && $query->is_search() && $query->is_main_query() ) { 107 106 $where = preg_replace( -
wordpress.org/public_html/wp-content/plugins/photo-directory/vendor/google/grpc-gcp/cloudprober/grpc_gpc_prober/spanner_probes.php
246 246 247 247 function partition($client, &$metrics){ 248 248 global $_DATABASE; 249 global $_TEST_USERNAME;250 249 251 250 $createSessionRequest = new Google\Cloud\Spanner\V1\CreateSessionRequest(); 252 251 $createSessionRequest->setDatabase($_DATABASE); -
wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
161 161 * @static 162 162 */ 163 163 public static function output_meta() { 164 global $wp_query;165 164 166 165 $metas = []; 167 166 -
wordpress.org/public_html/wp-content/plugins/plugin-directory/class-tools.php
295 295 * @return array Array of WP_Post objects. 296 296 */ 297 297 public static function get_support_rep_plugins( $user ) { 298 global $wpdb;299 298 300 299 $user = new WP_User( $user ); 301 300 if ( ! $user->exists() ) { … … 564 563 * @return array Array of \WP_User's who are subscribed. 565 564 */ 566 565 public static function get_plugin_subscribers( $post, $include_committers = false ) { 567 global $wpdb;568 566 $post = Plugin_Directory::get_plugin_post( $post ); 569 567 if ( ! $post ) { 570 568 return []; -
wordpress.org/public_html/wp-content/plugins/theme-directory/rest-api/class-theme-review-stats.php
332 332 $rows = $this->get_average_review_days( $start_date ); 333 333 $out = array(); 334 334 335 global $wpdb;336 337 335 foreach ( $rows as $value ) { 338 336 $ym = $value->ym; 339 337 $review_days = round( floatval( $value->average_days_to_review ), 1 ); -
wordpress.org/public_html/wp-content/plugins/theme-directory/rest-api.php
34 34 // The /themes/1.0/* endpoints are Serialized PHP output when requested directly. 35 35 // Doesn't affect internal calls. 36 36 add_filter( 'rest_pre_echo_response', function( $result ) { 37 global $wp;38 37 39 38 if ( defined( 'THEMES_API_VERSION' ) && '1.0' === THEMES_API_VERSION ) { 40 39 echo serialize( $result ); -
wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/cli/class-export-json.php
90 90 } 91 91 92 92 // Create JED json files for each JS file. 93 $ plugin_json_files = $this->build_json_files( $gp_project, $gp_locale, $translation_set, $plugins, "{$export_dir}/plugins/{$textdomain}-{$gp_locale->wp_locale}" );94 $th eme_json_files = $this->build_json_files( $gp_project, $gp_locale, $translation_set, $themes, "{$export_dir}/themes/{$textdomain}-{$gp_locale->wp_locale}" );93 $this->build_json_files( $gp_project, $gp_locale, $translation_set, $plugins, "{$export_dir}/plugins/{$textdomain}-{$gp_locale->wp_locale}" ); 94 $this->build_json_files( $gp_project, $gp_locale, $translation_set, $themes, "{$export_dir}/themes/{$textdomain}-{$gp_locale->wp_locale}" ); 95 95 96 96 WP_CLI::success( "JSON Files for {$project_slug} {$locale} generated." ); 97 97 } -
wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/locale-projects.php
25 25 <select id="variant-selector" name="variant"> 26 26 <?php 27 27 foreach ( $variants as $variant ) { 28 $selected =29 28 printf( 30 29 '<option name="%s" data-project-url="%s"%s>%s</option>', 31 30 $variant,