Wordpress News

WPTavern: Codecademy Launches New Free PHP Course

Wordpress Planet - Tue, 03/26/2019 - 00:26

Codecademy introduced a new free course today called Learn PHP. The company, which offers free coding courses, is rebuilding its PHP education after removing all of its PHP courses in 2017.

A Codecademy representative explained that the courses were outdated and that their team thought PHP was declining in popularity:

The PHP courses were very old, buggy, and outdated. They were the least used courses on Codecademy by far, and declining in use all the time, just as PHP itself is declining in popularity in the web development world. Student demand was far higher towards making, for example, more content in other languages like JavaScript or offer all-new languages like C#, rather than continuing to maintain PHP. Continued support and maintenance of any course for us costs money, and hiring PHP specialists to rewrite a course costs more money, but the market for PHP is very small. So, the decision was clear – to sunset this course.

PHP was created in 1994 by Rasmus Lerdorf, and it is still going strong 25 years later. Roughy 80% of websites run on PHP. Redmonk’s 2019 language rankings put PHP at #4 behind JavaScript, Java, and Python, based on data from GitHub and Stack Overflow.

Codecademy’s new Learn PHP course offers users an introduction to the fundamentals of PHP with language-specific syntax. Prerequisites include basic HTML. Students will learn about PHP variables and the string and number data types. Codecademy Pro users will get more quizzes and will create a portfolio project to showcase their new skills, but the basic course is free. The course currently takes approximately three hours to complete, and the company plans to add more content in the future.

WPTavern: Gutenberg Cloud Team Advocates for Making WordPress.org’s New Block Directory a CMS-Agnostic Library

Wordpress Planet - Mon, 03/25/2019 - 20:00

Frontkom‘s presentation at WordCamp Nordic introduced the audience to the Gutenberg Cloud project, which allows developers to share JS-only blocks across CMS platforms. Marco Fernandes and Thor Andre Gretland, representatives of the 45-person agency based in Europe, are also part of the Drupal Gutenberg project that brings WordPress’ open source editor to Drupal via an optional module. The module’s release candidate has been downloaded more than 9,000 times.

In the video below, I had the opportunity to sit down with the team at WordCamp Nordic to discuss the progress on their Gutenberg-related projects. Frontkom has clients using the Drupal module in production and their experience echoes a theme that seems common among those who are using the Gutenberg editor with clients.

“We see that especially people who don’t have too much experience in general working with visual content online, they find it easier to use than the ones that are into a routine where they expect some behavior,” Gretland said.

Drupal’s Gutenberg module could become a primary driver for the Gutenberg Cloud project, as access to the cloud blocks is included by default for all installations. The Cloud Blocks plugin for WordPress has been much less popular so far, with an estimated 100 active installations.

We discussed the potential of Drupal adopting Gutenberg as its core editor and the Frontkom team predicts that it will likely remain a separate module. Their vision for both Drupal Gutenberg and the Gutenberg Cloud is to make Gutenberg “the go-to solution for editing rich content on the web.” It is still achievable as a separate module but would have more impetus behind it if Drupal adopted it for its default editor.

Gretland said idea behind the Gutenberg Cloud was to provide “a sustainable ecosystem of blocks but also ease of use.” The project is a precursor to WordPress.org’s planned JS-only single block library. We discussed whether they perceive any competition between the two directories.

As the discussion on make.wordpress.org was just developing at the time of the interview, I contacted Frontkom CTO Per Andre Rønsen later on to get their thoughts on WordPress.org’s planned block directory. He had commented on the proposal, asking if this could become a library of truly CMS-agnostic blocks.

“I commented on the Make WP blog post right away, because I simply loved the idea of a directory of JS-only blocks,” Rønsen said. “We haven’t discussed it directly with Matt, but have had some good chats with the core Gutenberg team, and are planning to meet on a weekly basis. If Gutenberg Cloud can serve as a proof of concept that WP.org can later adopt as their own, we are happy. As the spec is very similar to what we already have created, porting between the two will be easy.”

Rønsen is advocating for a more open approach that isn’t so strictly tied to WordPress’ infrastructure.

“A more ideal approach however, would be to merge the two efforts,” Rønsen said. “The key for us, is to make the infrastructure open to other communities, not just WP developers. We are happy to put our project in the hands of the WP core team – given that they share the same open vision.”

A CMS-agnostic library for Gutenberg blocks is part of Frontkom’s long term vision for improving the open web. This is one of reasons the team created Gutenberg.js, which provides a foundation for using Gutenberg on any CMS or framework. Gretland said they see it as “more than just a new editor but a platform that enables communities to build new features.” This is the vision the team came to share at WordCamp Nordic. Check out the video below to hear more about how the Gutenberg Cloud team is working to make Gutenberg an editor that more open source communities on the web can share.

benefit_theme

Drupal Themes - Sun, 03/24/2019 - 08:04

WPTavern: WPWeekly Episode 349 – Sandy Edwards and the Kids Event Working Group Initiative

Wordpress Planet - Fri, 03/22/2019 - 20:59

In this episode, John James Jacoby and I are joined by Sandy Edwards. Sandy gave us a behind the scenes look at what it takes to organize a WordPress event for children and teens.

She also provides background information on a new group that’s been formed called the Kids Events Working Group. This group is responsible for setting the foundation for organizers to create and manage WordPress events geared towards children.

John recaps his experience at WordCamp Miami last weekend and we discussed some noteworthy news items.

Stories Discussed:

WordCamp Miami Draws 100+ for Kid’s Camp, Plans to Host Standalone Kid’s WordPress Conference in Summer 2019

WordPress 5.1.1 Patches Critical Vulnerability

Dark Mode WordPress Plugin Up for Adoption

Gutenberg 5.3 Released

FireFox 66.0 Released

WPWeekly Meta:

Next Episode: Wednesday, March 27th 3:00 P.M. Eastern

Subscribe to WordPress Weekly via Itunes

Subscribe to WordPress Weekly via RSS

Subscribe to WordPress Weekly via Stitcher Radio

Subscribe to WordPress Weekly via Google Play

Listen To Episode #349:

Drulma

Drupal Themes - Thu, 03/21/2019 - 14:55

Drulma is a base theme for Drupal.
It is built to use the Bulma CSS framework.

Features
  • Implements markup from Bulma adapted to Drupal.
  • Comes with a simple layout out of the box, a hero header and some regions.
  • Uses BulmaJS for JS interactions (no jQuery).
Installation

After installing, you can optionally install
the Drulma Companion module.
This module implements additional blocks such as navbar and tabs.
It also adds template suggestions for fontawesome 5 icons.
To be able to use the fontawesome 5 icons the
Libraries provider fontawesome
module is needed.
This makes fontawesome installation optional.

The theme can't depend on the module to be installed until
this issue is solved

Default layout

By default all the blocks installed and content region will
be wrapped in a container class so the content is nicely centered
but this can be removed on the configuration of the theme.
This is the main reason why the Drulma companion depends
on the block class
module.

It also tries to be minimalistic in the regions used.
The header is implemented as a Bulma hero

Version and loading of Bulma.

By default Bulma is going to be loaded using the
jsdelivr CDN and the
version specified in the drulma.libraries.yml file.

Install the
Libraries provider module
to use a local version, update the version or use
Bulmaswath themes.

BulmaJS

The following components are implemented:

  • Navbar: Open navbar on mobile devices.
  • Message: Dismiss messages.
  • File: Nicer file widget.

Contributions to add more or integrate them better are welcome.

Documentation

The most useful docs are at bulma.io.

If popularity of this project rises a separate page for Drulma will be
created to learn about how Drupal and Bulma are integrated.

Subtheming

Drush 9 Does not support commands coming from themes
so you need to install Drulma companion in order to generate a subtheme.
If the companion is only used for the subtheme generation it can be uninstalled.

You can read more about themes providing drush commands at:

https://github.com/drush-ops/drush/pull/3089

https://www.drupal.org/project/drupal/issues/2002606#comment-10786044

Contributions

The project is open to improvements on how to override
Drupal markup to make it more adapted to Bulma but also
feel free to open any discussion about how to make Bulma
and Drupal play nicely together.

Patches on drupal.org are accepted but merge requests on
gitlab are preferred.

Real time communication

You can join the #drulma
channel on drupalchat.me.

Related projects

Bulma CSS is an earlier implementation
of Bulma as a Drupal theme. The project seems to overcomplicate the theme implementation
while Drulma tries to implement almost every feature of that project in more flexible way.
You will find less global settings in Drulma since they are in the blocks provided by
Drulma companion or easily overridable with a theme twig template.

Diferences
  • Drulma supports Fontawesome 5 with a set of template suggestions. No icon guessing.
  • The navbar is implemented as a block so you can have many instances.
  • In Drulma you can remove all the container classes from configuration so you get a wider layout.
  • Drulma supports Drush 9 and above only (Drulma companion needed).
  • Quickedit not tested in Drulma (the Bulma CSS theme has some overrides that maybe can be adapted).
  • Comments are not supported in Drulma. Patches are welcome.
  • No breadcrumb configuration (easily overridable with a template) but it can be a good first contribution.

Void - Multipurpose theme

Drupal Themes - Thu, 03/21/2019 - 11:42

Void is a responsive three column multi-purpose theme built using flexbox. More info coming soon..

WPTavern: WordPress Ends Support for PHP 5.2 – 5.5, Bumps Minimum Required PHP Version to 5.6

Wordpress Planet - Thu, 03/21/2019 - 04:10

WordPress has officially ended support for PHP 5.2 – 5.5 and bumped its minimum required PHP version to 5.6. The plan announced last December was to bump the minimum required version in early 2019 and, depending on the results, bump it again to PHP 7 in December 2019. Sites on PHP 5.5 or earlier can still get security updates but will not be able to upgrade to the latest major WordPress version.

Today only 2% of WordPress sites remain on PHP 5.2. Roughly 20% are on versions 5.5 or earlier. Nearly half of WordPress installs are on PHP 7.0+.

One might wonder why WordPress’ approach isn’t to just bump it all the way up to PHP 7. With its influence and dominant market share, this requirement would inevitably force users to get on board. However, WordPress contributors believe in supporting users who, for whatever reason, need more help upgrading PHP. Steamrolling this requirement has not been the WordPress way, despite years of immense pressure from the developer community.

“Leaving users behind for technical reasons creates a two-folded web with only few being able to leverage its power,” WordPress Core Committer Felix Arntz said. “Collaborating with and supporting these users gives that power to everyone in the long run.”

Gary Pendergast shared a few stats about how effective WordPress 5.1’s PHP update notice has been in prodding site owners to get on newer versions of PHP:

For WordPress 5.0, sites updated their PHP version from PHP <= 5.6 to PHP 7+ at the rate of 1 basis point per day. That is, the percentage of WordPress 5.0 sites using PHP <= 5.6 dropped by 0.01 every day, prior to the release of WordPress 5.1.

For WordPress 5.1 (after adding the update notice), that has increased to a steady 5 basis points per day. Doesn’t sounds like much? Every day, that’s hundreds of extra site owners choosing to go through the (frankly, terrifying) process of updating their PHP version. All they needed was a little extra nudge, and a little bit of information.

Scary EOL notices and attitudes of “well, we’re just bumping our supported PHP version, too bad if you don’t know what to do next” don’t help. Giving people the information they need to help themselves works.

WordPress folks are doing our part to help clean up the ancient PHP installs that are still running a large percentage of the internet, and we’re find that this isn’t an insurmountable problem. It just requires a bit of patience and empathy to solve.

WordPress developers around the web sent out celebration tweets after the news was announced. Although PHP 5.6 is the new minimum required version for running WordPress, the project’s technical requirements page recommends users ask their hosts for PHP version 7.3 or greater. PHP 7+ offers massive performance gains for users and developers will be able to update their plugins to use more modern syntax.

This is big news!!

WPGraphQL has a minimum requirement of PHP 5.6, so it couldn’t even be considered for core until now.

Still a ways to go before we’re ready for serious consideration, but pretty big news. https://t.co/gCbJM9VcRc

— GraphQL for WordPress (@wpgraphql) March 21, 2019

WPTavern: Gutenberg 5.3 Introduces Block Management, Adds Nesting to the Cover Block

Wordpress Planet - Wed, 03/20/2019 - 21:14

Gutenberg 5.3 was released today with basic block management, a feature that will be included in WordPress 5.2. It is a new modal that can be launched from the vertical ellipses menu, inspired by Rich Tabor’s CoBlocks implementation. Users can turn individual blocks on/off or even entire sections, such as Common Blocks, Formatting, and Embeds. Block management should help users avoid the bloat that happens when installing block collections with more blocks than they need.

This version’s updates to the Cover Block make it possible to nest other blocks inside of it. Users can now add buttons, paragraphs, and headers to easily create a call to action. It’s not immediately evident that nesting blocks is possible, despite the floating inserter. It takes a little bit of time to discover that it is available. There are still some quirks with this feature, but overall it makes the Cover Block much more useful than previous versions.

A few contributors commenting on the Cover Block’s nesting PR said that it seems like the work on this iteration is essentially a light version of a section block. They questioned if it might be better to finish the work on the Section block (#4900) and build from there. Many developers and designers are eagerly awaiting the addition of a Section block to core, which will provide a standard for the plugin and theme industries to build on.

“I think the cover block has very specific functionality that the section may not have like the focal point selector,” Automattic JavaScript engineer Jorge Costa said. “It is also important to note that the adjustments we make here to the way nesting works will also benefit a future section. This also allows us to test nesting a little bit more, before going to the section block. I expect the section block to be widely used in the community and will probably serve as a basis for many things being built in the future so it is important that we get it right. Exploring in cover will contribute to that.”

Gutenberg 5.3 adds an experimental Legacy Widget Block that allows existing WordPress widgets to be added as Gutenberg blocks. It offers a dropdown of available widgets. After selecting one, the block populates that area with the widget’s settings.

This version also improves block outlines for the hover and selected states for a more accessible UI with less distraction. Performance benchmarks show a slight decrease in performance with Gutenberg 5.3. Check out the release post for a full list of enhancements and bug fixes. This is the last plugin release that will be rolled into the upcoming WordPress 5.2 release.

HeroPress: Sometimes bad things that happen to you are good things in disguise

Wordpress Planet - Wed, 03/20/2019 - 12:00

My Mom used to say that things you remember from your past the most are things that had an impact on who you are today. Negative or positive, they affected you in a way that helped create the person you are.

The Early Days

Her father said to her, “Jean, you are always welcome but leave your kids at home.” That I will remember until the day I die. Why? We were biracial. My mother (who was White) left her home in Virginia to run away to Cleveland with my father (who was Black, and from West Virginia) to get married. That was in 1956.

My father left us when I was about 8. Left us high and dry. The only positive thing I remember that he gave me was a typewriter. He said to me, “Teach yourself how to type and you’ll always be able to make a living.” I didn’t realize he “gave me anything” until after he died.

After my second failed marriage, I moved my Mom in with me because she was ill. That was 2005 and that’s when my journey with WordPress began. I originally started using Joomla but found that it was too cumbersome to keep up-to-date because things needed to be done manually, whereas WordPress had this cool way of updating the plugins right inside the dashboard. I was hooked and left Joomla behind.

I went back to work full time at one of the local hospitals. But not even a year into it I quit.

One morning as I am waiting for the home health aide to arrive, my Mom started to cry and said, “I don’t want to die alone.” I stopped and looked at her and said, “You aren’t going to die alone.”

That day, I got to work and one of the doctor’s pissed me off. I thought about what my Mom said and then starting thinking, “I don’t need this bullshit.” I went to my desk and started packing my things. My co-worker said, “What are you doing?” I said, “I quit.” She said, “What?” I said, “I quit.” The doctor ran out, “What are you doing and where are you going?” I said, “I quit, and you can kiss my ass!”

I got home too early and my Mom asks, “Why are you home?” I just stood there. She looked at me and said, “Did you quit?” I started laughing, “Yep sure did and told that doctor he could kiss my ass!” She started giggling! “We’ll be okay.” she said.

Shifting Gears

At that moment I said I must take this hobby of building sites part time, to a full fledge business. I hunkered down in one of the upstairs bedrooms and started to write out my strategy. I had already completed a few small business websites, so I contacted them and from there and word of mouth, my business started to grow.

But it wasn’t until after my Mom died that WordPress really saved my life.

We were thick as thieves my Mom and me. She almost died having me. I had a sister (she died last April) but she wasn’t close to us and kept mainly to herself. But Mom and I…we were two peas in a pod all the way up to the day she died. I sat with her for five days in hospice and those were some of the longest days and nights of my life.

I felt like someone dropped a weight on my chest. I couldn’t breathe. I felt faint. I felt lost.

Thank God I had Buster, my dog. If it hadn’t been for him, I don’t know what I would have done. There was a night I just couldn’t bear not having my Mom. I had a bottle of Valium and thought, “I should just get it over with, go be with my Mom.” But I looked down at Buster and thought, “No one is going to take better care of him than me. I can’t do that to him.”

I struggled with depression. Slowly over time I couldn’t function to even work on projects. It finally got to a point where my gas was turned off in the winter and I didn’t have food. I was bundled up with blankets and small heaters in my house to stay warm.

Every penny I got, was basically food for Buster. One time I went 5 days without food.

My car was repossessed. It was just crazy. Then I got evicted in mid-January 2013. Yep, evicted.

My sister, who I wasn’t close to, had received a lump sum of money from Social Security. She sent money to me since I had cared for our Mom all that time by myself. I rented a van, packed up what I could fit in the U-Haul on my own and ended up at an Extended Stay hotel – in the middle of a blizzard. Left all my furniture behind because I didn’t have help.

I got to the hotel and sat there in the U-Haul. I looked in the mirror and said out loud, “How the fuck did you get here? You don’t even have a pot to piss in!” Buster sitting in the other seat looking at me like I was crazy. That’s when I knew I had hit rock bottom. Depression led me to the bottom.

Rising Up

But… that was a good thing! I met a lot of wonderful people online. I joined a few WordPress groups, but mainly the StudioPress forum because I had been using their free themes when they were Revolution Two. Then they developed the Genesis Framework. Their old forum was a gold mine of information and the people were awesome. I learned so much from that forum.

Every day from that point on was WordPress and Genesis. Meeting more people, learning more code. I was completely off the grid in that hotel room! No one here even knew where I was that’s how far off the grid I was. But sometimes, you must do that in order to focus and get back on track.

There were a lot of bumps in that road the first year, too many to even write out in this essay, but I learned something from each bump.

My business grew from word-of-mouth, I started getting work from people who needed help who saw me on social media and through the forums. Work from people all over the world. It truly was exciting.

Each day is still WordPress and websites. Learning new things every day. Sitting with Slack windows open and chatting with other WordPress people online. It’s been my entire world since 2013 and pretty much my “Saving Grace” because I feel like I know some people online better than people right here in the same city where I live at. I lived in the hotel for 2 years. Not because I had to but because I wanted to.

The Power of Communiity

The WordPress community is awesome and giving. The Genesis community is the same. It feels like family and I’ve never met anyone in person but care so much about the people! I would hope that those who know me would feel the same.

A friend recently shared a quote by the author Dodinsky that started off, “A lot of walking away will do your life good.” But it was the end that really caught my attention and it said, “The more you walk away from things that poison your soul, the healthier your life will be.”

And that is so true. Healthier in a sense that I walked away from all the bad, negative things and people that were in my space. I was able to grieve and heal. Sometimes bad things that happen to you are good things in disguise.

What’s in my future? Well, one of my dreams is to get a Sprinter Van, have it customized for living on the road and drive cross country with Bella. Buster passed end of 2016 and Bella is my other life-saver. I’d love to drive cross country and stop and meet people I’ve met in the WordPress community. I know I can’t really make that happen, but I can dream, can’t I? LOL!

I’d love to follow you on Twitter. Follow me at @thecre8tivediva and I’ll follow you back!

The post Sometimes bad things that happen to you are good things in disguise appeared first on HeroPress.

Nebula Demo

Drupal Themes - Wed, 03/20/2019 - 10:34

WPTavern: WordCamp Miami Draws 100+ for Kid’s Camp, Plans to Host Standalone Kid’s WordPress Conference in Summer 2019

Wordpress Planet - Wed, 03/20/2019 - 00:57

The 11th edition of WordCamp Miami was held this past weekend, a three-day event that featured multiple learning workshops and six different tracks. The speaker ratio was 50% male and 50% female, and nearly half of the speakers were new to WordCamp Miami.

Another great year of amazing, diverse speakers! #WCMIA #WordPress pic.twitter.com/e2smmCpPAF

— WordCamp Miami (@wordcampmiami) March 17, 2019

One of the highlights of this year’s event were the WordPress stories coming out of the Kid’s Panel. WordCamp Miami has been hosting learning experiences for kids since 2014 and for the past four years has included a two-day Kid’s Camp along with a Kid’s Panel. More than 100 children (not including parents and guardians) attended this year’s event. Some of the kids who are more experienced with WordPress shared their experiences during the Kid’s Panel.

Kids reported that they using WordPress for blogs, science projects, and robotic competitions. One fifth grade student, who has been using WordPress for three years, said she plans to continue using it to document her life and share her future educational experiences:

“I plan to be using it later in my life when I go to college, so I can be talking about what my life journey was and what I’m going to be studying, which is software engineering.”

Listen to how a 4th grader explains why she likes using #WordPress. #WCMIA pic.twitter.com/Zd5cRP3Afg

— David Bisset (@dimensionmedia) March 17, 2019

Miami to Host New One-Day WordPress Event for Kids and Teachers

The growing popularity of WordCamp Miami’s kids events has inspired organizers to host a new one-day event for kids and teachers. The date has not yet been set but the plan is to have it scheduled for summer 2019.

The event will be divided into two tracks, one for kids aged 6 to 18 and another for teachers and educators. The kid’s track will include talks on WordPress, MineCraft, STEAM/STEM activities, and ways they can improve their coding skills. Teachers and educators will have a dedicated track with talks that will help them incorporate coding, WordPress, and broader STEAM/STEM activities into their curricula.

In their announcement, WordCamp Miami’s organizers said they believe the next generation of WordPress users are “vital to the growth of the open web.” They are looking for sponsors to cover the costs of snacks and lunch for approximately 100 students, volunteers and speakers to give presentations on various subjects for kids and teachers, and people to spread the word to schools in the Dade/Broward area.

Kids engaging with WordPress is one of the most inspiring things happening in the community right now. It’s the spark of a new generation of users who are embracing the concept of sharing their ideas on the open web. WordPress’ Community team also has a new Kids Event Working Group that kicked off last month to support the growth of these kinds of events around the world. They are currently working on documentation, training guides, legal documents, supply lists, and other resources. This is another way to get involved if you don’t live near a local kid’s event.

Nebula

Drupal Themes - Tue, 03/19/2019 - 13:36

WPTavern: New Tools for Theme Developers: Theme Sniffer Plugin and Automated Accessibility Testing

Wordpress Planet - Tue, 03/19/2019 - 03:42

WordPress contributor teams have shipped several new tools for theme developers in the past couple weeks, which have the potential to raise the quality of new themes coming into the ecosystem. The Theme Sniffer plugin is a new effort from the Theme Review team that uses custom sniffs for PHP_CodeSniffer to test a theme against WordPress coding standards and check for PHP version compatibility.

The plugin is useful for both theme reviewers and developers who want to get their themes approved for the WordPress.org directory. It includes several optional standards to test against beyond the ruleset for theme review requirements. Passing the Theme Sniffer checks is not required for themes entering the directory but reviewers can use the plugin to speed the process up.

The Accessibility Team also published a new tool called WP Theme Auditor that runs Axe tests against a theme for automated accessibility feedback. Axe is an open source library and testing engine created by the accessibility experts at Deque. The WP Theme Auditor package can be installed into a theme’s root directory. Developers can then add test cases. Examples are available in the project’s README file. The tests are run against http://one.wordpress.test by default but developers can specify a different test environment URL.

The Accessibility team plans to expand the test cases in the tool to include all the content from the current Theme Unit Test Data package. In the most recent team meeting, they decided to recommend WP Theme Auditor as a WordPress testing tool and plan to post more details about it on the make.wordpress.org/accessibility blog.

WPTavern: A Quick Introduction to WordPress’ Date/Time Component

Wordpress Planet - Mon, 03/18/2019 - 20:04

At WordCamp Nordic’s contributor day I had the opportunity to chat with Andrey “Rarst” Savchenko about WordPress’ Date/Time component, the code that manages date, time, and timezone functionality. Savchenko is one of the maintainers of this lesser-known component, which includes code that dates back to PHP 4 times. After volunteering for years in the WordPress Stack Exchange forums, he encountered some of the worst Date/Time bugs, eventually spurring him on to get involved improving the code.

“From there it was a slow descent into the madness of the component,” Savchenko said. “Much of my experience ended up in my WpDateTime library. By last year I was, at last, confident I had a good grasp on the extent of the problem and a way forward for core.”

Date/Time issues affect both developers and users. Savchenko said most of the problems, by volume, are related to an incorrect output of localized time by `date_i18n()`. These things can trickle down to users and affect post scheduling, querying, and other operations.

“Some of them are outright bugs and some are easy to break due to incompatibility with Unix timestamps,” Savchenko said. “But many other parts of the core have problems related to time – most often around time zones and daylight savings time. Posts can end up with the wrong time, not published when needed, sorted in the wrong order, and so on.”

The requirement for backwards compatibility makes progress slow but Savchenko and fellow contributors shipped some of their work in the most recent release of WordPress. They will have more solutions available to pursue when the minimum required PHP version is bumped.

“In WordPress 5.1 we had shipped a set of important fixes for documentation and some of the worst bugs in `date_i18n()`.

“At the moment we continue to work on outstanding issues and get ready to implement a set of major new API functions. The work on the component has also revitalized the discussion of introducing user timezones. However I think those need a lot of UX work to reach workable proposal.”

Check out the video below for a quick overview of the work being done on the Date/Time component and find out how you can get involved at the #core-datetime channel in WordPress Slack.

WPTavern: GitHub Is Testing Commits on Behalf of Organizations

Wordpress Planet - Sat, 03/16/2019 - 01:17

GitHub users may soon be able to contribute to projects on behalf of an organization. This feature has often been requested by developers who are contributing on behalf of their employers.

“Corporate contributions to the third-party open source projects can still be a source of friction and ambiguity,” GitHub Product Manager Ben Balter said. “We’re beta testing a new platform-agnostic commit pattern we hope can help you contribute on behalf of your employer.”

Committers who are members of an organization can add a commit trailer in the following format:

On-behalf-of: @ORG <ORG CONTACT EMAIL>

The committer must use an email that matches the organization’s verified domain and sign the commit. Committing on behalf of an organization can also be done via the command line.

Balter posted a demo of how the organization’s badge appears next to the committer’s. The feature is now in public beta:

It will be interesting to see how well this is adopted among individuals and organizations committing to open source projects. Some projects have more overt contribution from commercial entities than others. Having individuals commit on behalf of their employers makes it easier to track contributions funded by organizations. It may also provide project owners a more accurate picture of how deeply companies are invested in a project, especially in scenarios where the lines between individual and employer contributions are blurry or unclear.

WordPress.org blog: One-third of the web!

Wordpress Planet - Fri, 03/15/2019 - 13:16

WordPress now powers over 1/3rd of the top 10 million sites on the web according to W3Techs. Our market share has been growing steadily over the last few years, going from 29.9% just one year ago to 33.4% now. We are, of course, quite proud of these numbers!

The path here has been very exciting. In 2005, we were celebrating 50,000 downloads. Six years later, in January 2011, WordPress was powering 13.1% of websites. And now, early in 2019, we are powering 33.4% of sites. Our latest release has already been downloaded close to 14 million times, and it was only released on the 21st of February.

WordPress market share on the rise over the last 8 years. Image source: W3Techs.

Over the years WordPress has become the CMS of choice for more and more people and companies. As various businesses use WordPress, the variety of WordPress sites grows. Large enterprise businesses all the way down to small local businesses: all of them use WordPress to power their site. We love seeing that and we strive to continuously make WordPress better for all of you.

We’d like to thank everyone who works on WordPress, which is built and maintained by a huge community of volunteers that has grown alongside the CMS. This incredible community makes it possible for WordPress to keep growing while still also remaining free. And of course, we’d like to thank all of you using WordPress for using it and trusting in it. To all of you: let’s celebrate!

One-third of the web!

Wordpress News - Fri, 03/15/2019 - 13:16

WordPress now powers over 1/3rd of the top 10 million sites on the web according to W3Techs. Our market share has been growing steadily over the last few years, going from 29.9% just one year ago to 33.4% now. We are, of course, quite proud of these numbers!

The path here has been very exciting. In 2005, we were celebrating 50,000 downloads. Six years later, in January 2011, WordPress was powering 13.1% of websites. And now, early in 2019, we are powering 33.4% of sites. Our latest release has already been downloaded close to 14 million times, and it was only released on the 21st of February.

WordPress market share on the rise over the last 8 years. Image source: W3Techs.

Over the years WordPress has become the CMS of choice for more and more people and companies. As various businesses use WordPress, the variety of WordPress sites grows. Large enterprise businesses all the way down to small local businesses: all of them use WordPress to power their site. We love seeing that and we strive to continuously make WordPress better for all of you.

We’d like to thank everyone who works on WordPress, which is built and maintained by a huge community of volunteers that has grown alongside the CMS. This incredible community makes it possible for WordPress to keep growing while still also remaining free. And of course, we’d like to thank all of you using WordPress for using it and trusting in it. To all of you: let’s celebrate!

WPTavern: WordCamp Miami to Livestream Workshops, Sessions, and a Worldwide WordPress Trivia Contest March 15-17

Wordpress Planet - Fri, 03/15/2019 - 02:28

WordCamp Miami (WCMIA) is heading into its 11th year running this weekend, making it one of the longest running non-profit tech conferences in South Florida. Known for its many learning opportunities and workshops, the event spans three days from March 15 – 17 at Florida International University.

For the vast majority of the WordPress world that cannot make it to Miami, the next best alternative is tuning into the free livestream. WCMIA will be broadcasting a selection of workshops and sessions from the schedule, beginning with the Freelancer’s Workshop on Friday, March 15. The main event features six different tracks, and Saturday’s live broadcast will include sessions from “WordPress & The Web” and the “Design & Community” tracks. Sunday’s livestream will broadcast sessions from the Business track.

WCMIA is also hosting a worldwide WordPress trivia contest on Saturday, March 16, at 6PM EST. It is open to both in-person attendees and livestream viewers. Directions for how to sign into kahoot.it remotely for the game show are available on the event’s website. Digital prizes may be awarded to those playing online and winners will be announced on the WCMIA Twitter account.

WPTavern: Automattic Takes on Facebook with “A Meditation on the Open Web”

Wordpress Planet - Thu, 03/14/2019 - 19:56

Last week Automattic published a video titled “A meditation on the open web” that calls out Facebook as the antithesis of the open web:

As you get closer the air gets smoggier and you realize it’s a vast metropolis. It’s surrounded by high concrete walls, completely contained. Inside it’s bustling, lots of honking traffic, people everywhere, the sound is deafening. You see people arguing in bars and chatting on street corners. Billboards and advertisements are everywhere, touting ever kind of good and service. It’s noisy and dense and overwhelming.

This is Facebook.

The video also likens Instagram to a cookie cutter housing development that is actually just a collection of billboards with no one living there.

My expectation before playing the video was that it would enumerate the positive aspects of the open web but I was surprised to find it juxtaposed with Facebook and Instagram in a somewhat jarring fashion midway through. It effectively communicates the stark contrast between the limitations and restrictions of social media silos and the freedom of owning your own website.

Open Web Meditation was created as a design experiment at Automattic that encourages viewers to look beyond the walls of dominant social media platforms and consider how our experiences on the web differ based on where we choose to share our ideas. The company is looking to gain global exposure for the video by inviting people to create their own versions of it in their own languages.

Automattic’s video is a timely message, as the world pauses to reflect on the 30th birthday of the World Wide Web this week. In his open letter published by the Web Foundation, Tim Berners-Lee urged companies, governments, and the web’s citizens not to give up on building a better web. He identified “system design that creates perverse incentives,” where user value is sacrificed, as one of the most dangerous threats to the web at this time.

“You can’t just blame one government, one social network or the human spirit,” Berners-Lee said. “Simplistic narratives risk exhausting our energy as we chase the symptoms of these problems instead of focusing on their root causes. To get this right, we will need to come together as a global web community.”

Many commercial entities have enjoyed extraordinary and unprecedented opportunities and influence because of the creation of the world wide web. Berners-Lee underscored their responsibility toward the public as stewards of the open web.

“Companies must do more to ensure their pursuit of short-term profit is not at the expense of human rights, democracy, scientific fact or public safety,” he said. “Platforms and products must be designed with privacy, diversity and security in mind. This year, we’ve seen a number of tech employees stand up and demand better business practices. We need to encourage that spirit.”

In an interview with the BBC, Berners-Lee said that global action is required tackle the web’s “downward plunge to a dysfunctional future.” This 30-year anniversary is a good time to re-examine our complex relationships with centralized services and return to the guiding principles that have made the web a universal, open place of opportunity.

Matt: The Web Turns 30

Wordpress Planet - Thu, 03/14/2019 - 18:28

In 2003, @WordPress was created to democratize publishing on the open web. #Web30 #ForTheWeb pic.twitter.com/1Xny14pqu4

— Matt Mullenweg (@photomatt) March 12, 2019

“Vague, but exciting.” Thirty years ago yesterday, Sir Tim Berners-Lee submitted his original proposal for an information management system to his boss at CERN — what would later become the World Wide Web (and, it turns out, a huge influence on my life and career).

To help celebrate, I tweeted WordPress’s contribution to the web’s grand timeline (above), and I got to participate in The Economist’s Babbage podcast looking back at the pioneers of the early web. Listen to the whole episode below:

Pages