I have added the ability to list the users online at the site currently, look at the sidebar.
Fix: pural and singular grammer mistakes. 0 == pural
Fix: If user does not have wp-stats, it will not display the link.
Lester Chan's WordPress Plugins Development Blog
I have added the ability to list the users online at the site currently, look at the sidebar.
Fix: pural and singular grammer mistakes. 0 == pural
Fix: If user does not have wp-stats, it will not display the link.
WordPress 2.6.3 is out, it fixes a Snoopy class vulnerability.
A vulnerability in the Snoopy library was announced today. WordPress uses Snoopy to fetch the feeds shown in the Dashboard. Although this seems to be a low risk vulnerability for WordPress users, we wanted to get an update out immediately. 2.6.3 is available for download right now. If you don’t want to download the whole release to get the security fix, you can download the following two files and copy them over your 2.6.2 installation.
Replace these 2 files:
Download full version:
WordPress 4.0 RC1 has been released and the final version is targeted to be shipped next week.
For developers:
Developers, please test your plugins and themes against WordPress 4.0 and update your plugin’s Tested up to version in the readme to 4.0 before next week. If you find compatibility problems, please be sure to post any issues to the support forums so we can figure those out before the final release. You also may want to give your plugin an icon, which we launched last week and will appear in the dashboard along with banners.
Download: WordPress 4.0 RC 1
WordPress 2.5 has the ability to customize your administration dashboard with the help of widgets.
After poking around WordPress 2.5 codes, I have come out with this Dashboard Widget Sample Plugin. BUT do note that this plugin does not include Dashboard Widget Controls. If I have the time, I will add that in or perhaps I will create another plugin called “Dashboard Widget (With Controls) Sample Plugin”.
To get a clearer picture of what this sample plugin does, here is a screenshot of the Dashboard Widget (Without Controls) Sample in action.
Here comes the code:
'Full URL For "See All" link', // Example: 'index.php?page=wp-useronline/wp-useronline.php'
'feed_link' => 'Full URL For "RSS" link', // Example: 'index.php?page=wp-useronline/wp-useronline-rss.php'
'width' => 'half', // OR 'fourth', 'third', 'half', 'full' (Default: 'half')
'height' => 'single', // OR 'single', 'double' (Default: 'single')
)
);
}
### Function: Add Dashboard Widget
add_filter('wp_dashboard_widgets', 'PLUGINNAME_add_dashboard_widget');
function PLUGINNAME_add_dashboard_widget($widgets) {
global $wp_registered_widgets;
if (!isset($wp_registered_widgets['dashboard_PLUGINNAME'])) {
return $widgets;
}
array_splice($widgets, sizeof($widgets)-1, 0, 'dashboard_PLUGINNAME');
return $widgets;
}
### Function: Print Dashboard Widget
function dashboard_PLUGINNAME($sidebar_args) {
global $wpdb;
extract($sidebar_args, EXTR_SKIP);
echo $before_widget;
echo $before_title;
echo $widget_name;
echo $after_title;
echo 'YOUR CONTENT GOES IN HERE';
echo $after_widget;
}
?>
Hope this helps some of you guys. =)
The next update of my plugin will feature Right to Left Language support and this is done by Kambiz. He did a great job updating all my plugins to support RTL and fixing some minor bugs along the way. Kudos to you Kambiz!
I have not been developing at all besides committing those changes that Kambiz made since my school started on the 22nd August 2008. Hopefully I will have time to finished what I have planned for, for the next update in December 2008 where I will have only 1 month break.
Just to iterate once again, I decided to stopped developing WP-Sticky anymore as WordPress 2.7 will have that feature built-in and hence WP-Sticky 1.31 is the last version.
WordPress 2.7 will also feature comment threading and paging. Comment paging is the feature I have been waiting for!