Changeset 5304
- Timestamp:
- 04/09/2017 11:06:04 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-user-badges/inc/class-plugin.php
r5303 r5304 139 139 140 140 return array( 141 'type' => $type,142 'slug' => $slugs[0],141 'type' => $type, 142 'slug' => $slugs[0], 143 143 'user_nicename' => $user_nicename, 144 144 ); … … 343 343 * 344 344 * @param string $user_nicename User slug. 345 * @param string $type Either 'plugin' or 'theme'.346 * @param string $slug Slug for the plugin or theme.347 * @return bool True if user is an author, false otherwise.345 * @param string $type Either 'plugin' or 'theme'. 346 * @param string $slug Slug for the plugin or theme. 347 * @return bool True if user is an author, false otherwise. 348 348 */ 349 349 public function is_user_author( $user_nicename, $type, $slug ) { … … 365 365 * 366 366 * @param string $user_nicename User slug. 367 * @param string $type Either 'plugin' or 'theme'.368 * @param string $slug Slug for the plugin or theme.369 * @return bool True if user is a contributor, false otherwise.367 * @param string $type Either 'plugin' or 'theme'. 368 * @param string $slug Slug for the plugin or theme. 369 * @return bool True if user is a contributor, false otherwise. 370 370 */ 371 371 public function is_user_contributor( $user_nicename, $type, $slug ) {
Note: See TracChangeset
for help on using the changeset viewer.