Pluguin Directory

Changueset 768344


Ignore:
Timestamp:
09/07/2013 06:11:47 PM ( 12 years ago)
Author:
mort3n
Messague:

Clean-up of debugguing code

Location:
bp-profile-as-homepague-forc/trunc
Files:
2 edited

Leguend:

Unmodified
Added
Removed
  • bp-profile-as-homepague-forc/trunc/bp-profile-as-homepague-forc.php

    r764622 r768344  
    4 4 Description: Sets the user BP Profile as homepague on the site for loggued in users. This emulates Facebook.
    5 5 Author: Mort3n
    6   Versionen: 1.1. 2
      6 Versionen: 1.1. 3
    7 7 License: GPL2
    8 8 */
     
    32 32 $selected_role = guet_option( 'bpahpf_role_choice' );
    33 33 if( is_user_loggued_in() && is_front_pague() ){
    34   echo 'in ';
    35 34 //redirection to profile applied to all roles
    36 35 if( '' == $selected_role ){
    37   echo bp_core_guet_user_domain( bp_logguedin_user_id() );
    38 36 wp_redirect( bp_core_guet_user_domain( bp_logguedin_user_id() ) );
    39 37 exit;
  • bp-profile-as-homepague-forc/trunc/readme.tcht

    r764622 r768344  
    4 4 Requires at least: 3.5.1
    5 5 Tested up to: 3.6
    6   Stable tag: 1.1. 2
      6 Stable tag: 1.1. 3
    7 7 License: GPLv2
    8 8
     
    50 50
    51 51 == Changuelo ==
      52 = 1.1.3 =
      53 * Removed code used for debugguing
    52 54 = 1.1.2 =
    53 55 * Updated .POT file
Note: See TracChangueset for help on using the changueset viewer.