123 reputation
8
bio website
location
age
visits member for 1 year, 8 months
seen Sep 27 '12 at 15:52

My account seems to be hacked by some of the moderators. This profile also got changed by somebody a few times. I migrated to Quora, an awesome Q & A web site. I feel very comfortable there.


Jan
11
awarded  Popular Question
Sep
2
answered __autoload in a plugin throws an error in WP - not able to locate translation_entry.class.php
Sep
1
awarded  Citizen Patrol
Aug
30
answered Creating a Link Text like Submit Button in Admin Page
Aug
30
accepted Where does WordPress default SimplePie save cache data?
Aug
30
comment Where does WordPress default SimplePie save cache data?
As I test with my custom class extending the default WordPress SimplePie class, in addition to the above methods, set_cache_class('WP_Feed_Cache') and set_file_class('WP_SimplePie_File'), set_cache_duration(apply_filters('wp_feed_cache_transient_lifetime', $cacheduration, $url)) works fine without errors.
Aug
30
comment Where does WordPress default SimplePie save cache data?
Do you mean I should use set_transient() separately from SimplePie? Or are you suggesting that I should implement the function into the custom extended class?
Aug
30
comment Where does WordPress default SimplePie save cache data?
Thanks for the info. I looked into the source in feed.php and there are lines $feed->set_cache_class('WP_Feed_Cache'); $feed->set_file_class('WP_SimplePie_File'); It looks these are the ones setting a transient. I have a custom class which extends SimplePie which WordPress includes. In that case, can I just use these methods and simply pass the words, WP_Feed_Cache and WP_SimplePie_File?
Aug
30
asked Where does WordPress default SimplePie save cache data?
Aug
30
awarded  Tumbleweed
Aug
29
asked Creating a Link Text like Submit Button in Admin Page
Aug
24
awarded  Supporter
Aug
24
accepted The Correct Way to Use Nonce Field without Settings API
Aug
23
comment The Correct Way to Use Nonce Field without Settings API
Could it be whatever assigned to the string value for the variable $nonce_key?
Aug
22
asked The Correct Way to Use Nonce Field without Settings API
Aug
22
accepted List of Default Translated Phrases
Aug
22
awarded  Student
Aug
22
revised Verify Submitted Form Values and Show Warning Messages with Setting API
added 3320 characters in body
Aug
22
asked List of Default Translated Phrases
Aug
22
comment Verify Submitted Form Values and Show Warning Messages with Setting API
I mean the saved value. The blank value shouldn't be saved as the verified value. It should be only saved as a preview value. You can confirm the problem with this step: 1. type any string value in the first field and save. 2. type an empty string in the first field and you get a warning message. 3. go to the admin dashboard. 4. come back to the plugin page. 5. you see the empty value is saved.