The Higher Education and Research forge

Home My Page Projects Code Snippets Project Openings MonLabo
Summary Activity Tracker Tasks Docs SCM Files Dokuwiki Continious Integration Listes Sympa

SCM Repository

index a09c12f..9ed918f 100644 (file)
@@ -734,7 +734,10 @@ function  display_advanced_features_for_mmebers() {
                        }
                }
                if ( !empty( $members_without_wp_post_id ) ) {
-                       $retval .= '<input type="hidden" name="create_missing_pages_submit_ids" value="'.serialize( array_keys( $members_without_wp_post_id ) ).'">';
+                       $retval .=
+                               '<input type="hidden" name="create_missing_pages_submit_ids" value="'
+                               .serialize( MonLaboLib::secured_array_keys( $members_without_wp_post_id ) )
+                               .'">';
                }
                $retval .= wp_nonce_field( 'creer_pages_manquantes_form', 'creer_pages_manquantes_form_wpnonce', true, false );
                $retval .= generate_submit_button( __( 'Créer les pages manquantes', 'mon-laboratoire' ).' ( '.count( $members_without_wp_post_id ).' )', 'submit_creer_pages_manquantes', '' );