Changeset 1860019
- Timestamp:
- 04/17/2018 09:22:38 PM (8 years ago)
- File:
-
- 1 edited
-
chords-and-lyrics/trunk/ChordsAndLyrics.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
chords-and-lyrics/trunk/ChordsAndLyrics.php
r539307 r1860019 41 41 function chordsandlyrics_settings_init(){ 42 42 global $userdata; 43 get_currentuserinfo();43 wp_get_current_user(); 44 44 $user_settings_name = 'cnl_setting_values_for_' . $userdata->user_login; 45 45 add_settings_section('cnl_setting_section','Chords and Lyrics Options','cnl_setting_section','reading'); … … 57 57 function cnl_lyrics_only_enabled(){ 58 58 global $userdata; 59 get_currentuserinfo();59 wp_get_current_user(); 60 60 $user_settings_name = 'cnl_setting_values_for_' . $userdata->user_login; 61 61 $cnl_options = get_option($user_settings_name); … … 68 68 function cnl_european_chords_enabled(){ 69 69 global $userdata; 70 get_currentuserinfo();70 wp_get_current_user(); 71 71 $user_settings_name = 'cnl_setting_values_for_' . $userdata->user_login; 72 72 $cnl_options = get_option($user_settings_name); … … 134 134 { 135 135 global $userdata; 136 get_currentuserinfo();136 wp_get_current_user(); 137 137 $user_settings_name = 'cnl_setting_values_for_' . $userdata->user_login; 138 138 $cnl_options = get_option($user_settings_name);
Note: See TracChangeset
for help on using the changeset viewer.