Friday, 22 September 2017

Relicensing React, Jest, Flow, and Immutable.js


Next week, we are going to relicense our open source projects React, Jest, Flow, and Immutable.js under the MIT license. We’re relicensing these projects because React is the foundation of a broad ecosystem of open source software for the web, and we don’t want to hold back forward progress for nontechnical reasons. This decision comes after several weeks of disappointment and uncertainty for our community. Although we still believe our BSD + Patents license provides some benefits to users of our projects, we acknowledge that we failed to decisively convince this community.
In the wake of uncertainty about our license, we know that many teams went through the process of selecting an alternative library to React. We’re sorry for the churn. We don’t expect to win these teams back by making this change, but we do want to leave the door open. Friendly cooperation and competition in this space pushes us all forward, and we want to participate fully.
This shift naturally raises questions about the rest of Facebook’s open source projects. Many of our popular projects will keep the BSD + Patents license for now. We’re evaluating those projects’ licenses too, but each project is different and
Source: https://managewp.org/articles/16174/relicensing-react-jest-flow-and-immutable-js




source https://williechiu40.wordpress.com/2017/09/23/relicensing-react-jest-flow-and-immutable-js/

New Owner Adds Malicious Code to Fast Secure Contact Form Plugin


I am the original author of Fast Secure Contact Form. This plugin had a new owner in June 2017 with a WP user profile name “fastsecure”. The new owner attempted to put code in several of his newly acquired WordPress plugins that would connect to a 3rd party server he also owned and place spam ads for payday loans and such in the WP posts. The new owner put spam code in versions 4.0.52 4.0.53 4.0.54 and 4.0.55 but it failed to display any spam because he put the code in the secureimage.php file. The malicious code required WordPress libraries to also be loaded to execute. The reason the spam code did not do anything at all is because the secureimage.php file is not included in the WordPress run time environment. The secureimage.php file is included from another file securimage_show.php that loads the captcha image directly from html img src outside of the WordPress run time. The spam code in this plugin was never activated, it would not have corrupted your posts or changed anything in the WordPress database. I am sorry for any inconvenience this has caused. The plugin was taken off the WordPress repository by WordPress staff until this can be sorted out. Perhaps a new version
Source: https://managewp.org/articles/16173/new-owner-adds-malicious-code-to-fast-secure-contact-form-plugin




source https://williechiu40.wordpress.com/2017/09/22/new-owner-adds-malicious-code-to-fast-secure-contact-form-plugin/

Widgets Reloaded: Version 1.0.0


One of my favorite plugins that I’ve ever worked on just got a shiny, new coat of paint. Admittedly, I haven’t kept Widgets Reloaded as updated as I should have, primarily because I’ve been in a bit of a “no sidebar” phase for the past couple of years. When you’re not building too many themes or sites with sidebars, your widget plugins take a backseat at times.
I’m excited about this release.
Since I last updated the plugin, I’ve moved onto semantic versioning, so we’re making the leap from 0.6.0 to 1.0.0. That’s in case you were wondering what’s up with the version number.
What does the Widgets Reloaded plugin do?
If you’re not a current user of the plugin, you may be in for a treat. I encourage you to install the plugin and give it a go.
Widgets Reloaded gives you alternative versions of many core WP widgets. For example, there’s a Reloaded – Archives widget that’s a super-awesome take on the core Archives widget. Basically, you get a whole lot of additional widget options to play around with.
The plugin currently includes 9 reloaded widgets:
Reloaded – Archives
Reloaded – Authors
Source: https://managewp.org/articles/16168/widgets-reloaded-version-1-0-0




source https://williechiu40.wordpress.com/2017/09/22/widgets-reloaded-version-1-0-0/

Who hosts this website? Tips and tools for finding IP address, DNS details and more


These days, most companies of a decent size have their own websites. And while employees might be able to steer you to the address, often they don’t even know who hosts this website you’re tasked with keeping healthy. When I ask these folks who hosts their email — or the website itself — often the response is a blank stare. Or my personal favorite: “Who is hosting my website? Well … Bob’s nephew set it up years ago, but he’s away at college and we can’t get in touch with him.” In a way, it makes sense. People just need web and email hosting. They just want things to work. Who hosts a certain website just isn’t their concern.
But as web professionals, it’s our job to figure out these things, even if our client has no clue.
There are some tools already installed on Mac, PC and Linux systems that can help you find out who hosts a website, so you can get to work.
Find out who hosts this website in three steps
Use ping to find the IP address.
Use WHOIS to find the host information.
Use a dedicated service to look up details.
For this article, we’ll be using screenshots from a Mac, but equivalent tools exist for
Source: https://managewp.org/articles/16172/who-hosts-this-website-tips-and-tools-for-finding-ip-address-dns-details-and-more




source https://williechiu40.wordpress.com/2017/09/22/who-hosts-this-website-tips-and-tools-for-finding-ip-address-dns-details-and-more/

How to Recover all your Posts from a WordPress Database


Oh No! all of the blog posts and contents are deleted accidentally! Now, what to do? There are two options – you can either freak out or retrieve all of the lost contents from the WordPress database. If you want to restore the “lost” web page contents, I can show you two easy steps to accomplish this job:
Check the revision date
This is probably the easiest step to retrieve the lost posts or contents. Open the WordPress edit page of the desired content or blog post. Scroll down towards the end and you will find a list of page revision. You just have to click on the revision date. It will take you to the last version of the page. Here you will find a whole bunch of restore dates. Click on the desired and bring back the early contents.
From the Database
2.1 Use Plugins
Restoring database can also help you to recover the deleted or modified data. But, how are you gonna do this? First, you can use plugins / MySql interface or retrieve the database manually. BackUpWordPress is the plugin appropriate for this job. You can also use the BackupBuddy plugin, which is actively protecting half a million WordPress sites since 2010. The use of plugin is similar to the free data
Source: https://managewp.org/articles/16170/how-to-recover-all-your-posts-from-a-wordpress-database




source https://williechiu40.wordpress.com/2017/09/22/how-to-recover-all-your-posts-from-a-wordpress-database/

WP Elevation Rocks, Big Hiring Win, Speaking At WordCamps & The Bad Stuff


This is another chapter in a series of posts that I write to keep you updated on what’s going on with WP Buffs from the perspective of its Founder. That’s me. I’ll keep it pretty simple. 3 things I screwed up and 3 things that went well over the past month. I want to tell you about all the solid stuff happening at WPB, but I can’t stand people who only post when they have good news. It’s like looking at someone’s Instagram account and being jealous of how awesome their life is when those pictures have been carefully curated from the best 1% of their lives.
Please.
As anybody who’s run a startup before knows, what it looks like from the outside may not reflect what’s happening on the inside. A company can easily look like it’s running smoothly when in reality, it’s going up in flames. Let’s start practicing some radical transparency.
I’ll be writing something quick like this every month so please subscribe to stay tuned in.
1. Remote Work Challenges
I’ve been doing a lot of traveling over the past month and continuing to run WP Buffs has definitely been a trial by fire. Between a week away from an internet
Source: https://managewp.org/articles/16171/wp-elevation-rocks-big-hiring-win-speaking-at-wordcamps-the-bad-stuff




source https://williechiu40.wordpress.com/2017/09/22/wp-elevation-rocks-big-hiring-win-speaking-at-wordcamps-the-bad-stuff/

How to Trouble Shoot Print Style Sheets: Common Problems & Solutions


If any of you have played around with a print style style sheet on a complex theme or site you might already be familiar with the fact that print CSS does not always operate the way you would expect or desire. If you have not yet experienced the familiar urge to ram your head through your computer screen, I hope to save you from that experience with a few tips and tricks I picked up while learning to troubleshoot print style sheets. Before we jump in, I want to ensure you’ve got some useful tools right off the bat to help set you up for success.
What you need
First, make sure you’re working on a browser that allows you to turn on a print emulator. This will make troubleshooting go a lot faster. However, be forewarned, while the print emulator shows the elements you will be printing and their style sheet rules, it does not necessarily visually represent perfectly what the printed page will actually look like. Frequently check your changes by either printing or viewing/downloading them as a PDF to confirm you’re getting the desired results. You will be sorely disappointed to get things pixel perfect in an emulator only to discover the printed result is vastly different.
Source: https://managewp.org/articles/16166/how-to-trouble-shoot-print-style-sheets-common-problems-solutions




source https://williechiu40.wordpress.com/2017/09/22/how-to-trouble-shoot-print-style-sheets-common-problems-solutions/