Ticket #7160: 7160.2.patch
| File 7160.2.patch, 3.5 KB (added by , 3 years ago) |
|---|
-
global.wordpress.org/public_html/wp-content/mu-plugins/downloads/rosetta-downloads.php
38 38 39 39 /** 40 40 * Returns download counts for release packages of the current stable branch. 41 * 42 * @global wpdb $wpdb WordPress database abstraction object. 41 43 * 42 44 * @return array Download counts per locale. 43 45 */ … … 73 75 74 76 /** 75 77 * Returns download counts for language packs of the current stable branch. 78 * 79 * @global wpdb $wpdb WordPress database abstraction object. 76 80 * 77 81 * @return array Download counts per locale. 78 82 */ -
global.wordpress.org/public_html/wp-content/mu-plugins/roles/cross-locale-pte.php
192 192 193 193 /** 194 194 * Retrieves the projects for which a user has cross-locale PTE permissions. 195 * 196 * @global wpdb $wpdb WordPress database abstraction object. 195 197 * 196 198 * @param int $user_id User ID. 197 199 * @return array List of project IDs. … … 209 211 } 210 212 /** 211 213 * Retrieves the projects for which a user has cross-locale PTE permissions. 214 * 215 * @global wpdb $wpdb WordPress database abstraction object. 212 216 * 213 217 * @return array List of User IDs. 214 218 */ … … 244 248 245 249 /** 246 250 * Check for the Cross-Locale PTE permission for the project. 251 * 252 * @global wpdb $wpdb WordPress database abstraction object. 247 253 * 248 254 * @param WP_User $user The user. 249 255 * @param int $project_id The Project ID. -
global.wordpress.org/public_html/wp-content/mu-plugins/roles/rosetta-roles.php
383 383 384 384 /** 385 385 * Removes a translation editor. 386 * 387 * @global wpdb $wpdb WordPress database abstraction object. 386 388 * 387 389 * @param int|WP_User $user User ID or object. 388 390 * @return bool True on success, false on failure. … … 418 420 419 421 /** 420 422 * Creates or updates a translation editor. 423 * 424 * @global wpdb $wpdb WordPress database abstraction object. 421 425 * 422 426 * @param int|WP_User $user User ID or object. 423 427 * @param array $projects The projects to which the user should get assigned. … … 508 512 /** 509 513 * Handles the update of the translation editor badges on 510 514 * profiles.wordpress.org. 515 * 516 * @global wpdb $wpdb WordPress database abstraction object. 511 517 * 512 518 * @param \WP_User $user The user object of the translation editor. 513 519 */ … … 712 718 713 719 /** 714 720 * Retrieves the assigned projects of a user 721 * 722 * @global wpdb $wpdb WordPress database abstraction object. 715 723 * 716 724 * @param int $user_id User ID. 717 725 * @return array List of project IDs. … … 891 899 /** 892 900 * Fetches all parent projects and their direct sub-projects like 'wp' 893 901 * and 'wp/dev' or 'wp-plugins' and 'wp-plugins/wordpress-importer'. 902 * 903 * @global wpdb $wpdb WordPress database abstraction object. 894 904 * 895 905 * @return array List of projects. 896 906 */
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)