Changeset 13220
- Timestamp:
- 02/19/2024 02:45:18 AM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-meta-sync.php
r12846 r13220 2 2 namespace WordPressdotorg\Plugin_Directory\Jobs; 3 3 4 use WPORG_Ratings; 4 5 use WordPressdotorg\Plugin_Directory\Plugin_Directory; 5 6 use WordPressdotorg\Plugin_Directory\Standalone\Plugins_Info_API; … … 90 91 $post->ID, 91 92 'rating', 92 \WPORG_Ratings::get_avg_rating( 'plugin', $post->post_name )93 WPORG_Ratings::get_avg_rating( 'plugin', $post->post_name ) 93 94 ); 94 95 update_post_meta( 95 96 $post->ID, 96 97 'ratings', 97 \WPORG_Ratings::get_rating_counts( 'plugin', $post->post_name ) 98 WPORG_Ratings::get_rating_counts( 'plugin', $post->post_name ) 99 ); 100 update_post_meta( 101 $post->ID, 102 'num_ratings', 103 WPORG_Ratings::get_rating_count( 'plugin', $post->post_name ) 98 104 ); 99 105
Note: See TracChangeset
for help on using the changeset viewer.