Changeset 2732443
- Timestamp:
- 05/27/2022 08:55:05 AM (4 years ago)
- Location:
- multiple-roles
- Files:
-
- 6 edited
- 1 copied
-
tags/1.3.5 (copied) (copied from multiple-roles/trunk)
-
tags/1.3.5/multiple-roles.php (modified) (2 diffs)
-
tags/1.3.5/readme.txt (modified) (2 diffs)
-
tags/1.3.5/views/column.html.php (modified) (1 diff)
-
trunk/multiple-roles.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/views/column.html.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
multiple-roles/tags/1.3.5/multiple-roles.php
r2730803 r2732443 3 3 Plugin Name: Multiple Roles 4 4 Description: Allow users to have multiple roles on one site. 5 Version: 1.3. 46 Author: Florian TIAR7 Author URI: http ://tiar-florian.fr5 Version: 1.3.5 6 Author: Christian Neumann 7 Author URI: https://utopicode.de 8 8 Plugin URI: https://wordpress.org/plugins/multiple-roles/ 9 Github URI: https://github.com/ Mahjouba91/multiple-roles9 Github URI: https://github.com/chrneumann/multiple-roles 10 10 Text Domain: multiple-roles 11 11 */ … … 47 47 add_filter( 'manage_users_custom_column', array( $column, 'output_column_content' ), 10, 3 ); 48 48 49 add_action( 'init', ' load_translation' );50 function load_translation() {49 add_action( 'init', 'mdmr_load_translation' ); 50 function mdmr_load_translation() { 51 51 load_plugin_textdomain( 'multiple-roles', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 52 52 } -
multiple-roles/tags/1.3.5/readme.txt
r2730803 r2732443 3 3 Tags: multiple roles, multiple roles per user, user roles, edit user roles, edit roles, more than one role, more than one role per user, more than one role for each user, many roles per user, unlimited roles 4 4 Requires at least: 3.1 5 Tested up to: 5.7.26 Stable tag: 1.3. 45 Tested up to: 6.0 6 Stable tag: 1.3.5 7 7 Requires PHP: 5.4 8 8 Donate link: https://www.paypal.me/FlorianTIAR/5 … … 65 65 == Changelog == 66 66 67 = 1.3.5 = 68 * 27th may 2022 69 * Test the plugin against WordPress 6.0 70 * Fix open issues with sanitizing text 71 67 72 = 1.3.4 = 68 73 * 25th may 2022 -
multiple-roles/tags/1.3.5/views/column.html.php
r2334065 r2732443 6 6 */ 7 7 ?><div class="md-multiple-roles"> 8 <?php if ( ! empty( $roles ) ) : 9 foreach( $roles as $name => $label ) :10 $roles[$name] = '<a href="users.php?role=' . esc_attr( $name ) . '">' . esc_html( translate_user_role( $label ) ) . '</a>';11 endforeach;12 echo implode( ', ', $roles );13 else : ?>8 <?php if ( ! empty( $roles ) ) : ?> 9 <?php $it = new CachingIterator( new ArrayIterator( $roles ) ); ?> 10 <?php foreach( $it as $name => $label ) : ?> 11 <a href="users.php?role=<?php echo esc_attr( $name ); ?>"><?php echo esc_html( translate_user_role( $label ) ) ?></a><?php if ( $it->hasNext() ) : ?>,<?php endif; ?> 12 <?php endforeach; ?> 13 <?php else : ?> 14 14 <span class="md-multiple-roles-no-role"><?php _e( 'None', 'multiple-roles' ); ?></span> 15 15 <?php endif; ?> -
multiple-roles/trunk/multiple-roles.php
r2730803 r2732443 3 3 Plugin Name: Multiple Roles 4 4 Description: Allow users to have multiple roles on one site. 5 Version: 1.3. 46 Author: Florian TIAR7 Author URI: http ://tiar-florian.fr5 Version: 1.3.5 6 Author: Christian Neumann 7 Author URI: https://utopicode.de 8 8 Plugin URI: https://wordpress.org/plugins/multiple-roles/ 9 Github URI: https://github.com/ Mahjouba91/multiple-roles9 Github URI: https://github.com/chrneumann/multiple-roles 10 10 Text Domain: multiple-roles 11 11 */ … … 47 47 add_filter( 'manage_users_custom_column', array( $column, 'output_column_content' ), 10, 3 ); 48 48 49 add_action( 'init', ' load_translation' );50 function load_translation() {49 add_action( 'init', 'mdmr_load_translation' ); 50 function mdmr_load_translation() { 51 51 load_plugin_textdomain( 'multiple-roles', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); 52 52 } -
multiple-roles/trunk/readme.txt
r2730803 r2732443 3 3 Tags: multiple roles, multiple roles per user, user roles, edit user roles, edit roles, more than one role, more than one role per user, more than one role for each user, many roles per user, unlimited roles 4 4 Requires at least: 3.1 5 Tested up to: 5.7.26 Stable tag: 1.3. 45 Tested up to: 6.0 6 Stable tag: 1.3.5 7 7 Requires PHP: 5.4 8 8 Donate link: https://www.paypal.me/FlorianTIAR/5 … … 65 65 == Changelog == 66 66 67 = 1.3.5 = 68 * 27th may 2022 69 * Test the plugin against WordPress 6.0 70 * Fix open issues with sanitizing text 71 67 72 = 1.3.4 = 68 73 * 25th may 2022 -
multiple-roles/trunk/views/column.html.php
r2334065 r2732443 6 6 */ 7 7 ?><div class="md-multiple-roles"> 8 <?php if ( ! empty( $roles ) ) : 9 foreach( $roles as $name => $label ) :10 $roles[$name] = '<a href="users.php?role=' . esc_attr( $name ) . '">' . esc_html( translate_user_role( $label ) ) . '</a>';11 endforeach;12 echo implode( ', ', $roles );13 else : ?>8 <?php if ( ! empty( $roles ) ) : ?> 9 <?php $it = new CachingIterator( new ArrayIterator( $roles ) ); ?> 10 <?php foreach( $it as $name => $label ) : ?> 11 <a href="users.php?role=<?php echo esc_attr( $name ); ?>"><?php echo esc_html( translate_user_role( $label ) ) ?></a><?php if ( $it->hasNext() ) : ?>,<?php endif; ?> 12 <?php endforeach; ?> 13 <?php else : ?> 14 14 <span class="md-multiple-roles-no-role"><?php _e( 'None', 'multiple-roles' ); ?></span> 15 15 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.