81.1 F
Los Angeles
Monday, September 23, 2024

Trump Lawyer Resigns One Day Before Trial To Begin

Joseph Tacopina has filed with the courts that he will not represent Donald J. Trump. The E. Jean Carroll civil case is schedule to begin Tuesday January 16,...

Judge Lewis A. Kaplan Issues Order RE Postponement

On May 9, 2023, a jury found Donald J. Trump liable for sexual assault and defamation. The jury awarded Ms. Carroll $5 million in damages. Seven months ago,...

ASUS Announces 2023 Vivobook Classic Series

On April 7, 2023, ASUS introduced five new models in the 2023 Vivobook Classic series of laptops. The top laptops in the series use the 13th Gen Intel® Core™...
WebdesignXenWordXenWord 1.0.5.02 is Available for Download

XenWord 1.0.5.02 is Available for Download

XenWord 1.0.5.02 is now available for holders of the developer license. I appreciate all of the feedback on this version. There is an important bug fix for the login widget for select servers.

This release also improves the custom role code. The idea is for a webmaster to create a secondary user group in XenForo which is mapped in the XenWord settings panel. The plugin recognizes the secondary user group and writes it to the wp_usermeta table.

The secret was in re-writing the foreach loop for the user_has_cap filter.

[code] foreach ( $editable_roles as $role_name => $role_info ) {

/** If you have changed the wp_ prefix then you must modify this line to match the new prefix */
if ( is_object( $current_user ) && isset( $current_user->data->wp_capabilities[ $role_name ] ) ) {

foreach ( $new_caps as $new_cap ) {
$capabilities[ $new_cap ] = true;
$current_user->add_role( $role_name );
}

}

}
[/code]

This site is now live with this version.

This version will be released after developers have tested it on their servers. Thank you for your patience.

LPH
Layne Heinyhttp://www.layneheiny.com
LPH is a high school physics teacher interested in the Apple iPad and iPhone, Microsoft Surface, Tablet PCs, and other mobile devices. He resides with one large dog who begs for pizza, hamburgers, French fries, and anything else on the dinner table.

Latest news

Related news

1 COMMENT

1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Curie
10 years ago

Do you think this plugin will work with WooCommerce now?