Advanced Administration Handbook: Status 2023-01-15

Last September, the WordPress Advanced Administration Handbook start it path and after some Contributor Days and a lot of work from the Docs and HostingHosting A web hosting service is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web. Teams, and plenty of contributors, we have some clarity for this 2023.

What

This new documentation is proposed as advanced regarding what currently exists for end users (UserHub / Support), with the goal that the documentation for users is free of advanced technical material, and that the documentation for developers (DevHub) is very differentiated between what is development, and what are advanced development or system configurations.

How

Although we have some pages documented, if you know of other WordPress content that could be in this Handbook, please open an issue and discuss it with the Documentation team. Please consider using the label “advanced administration”.

If you want to help launch the Handbook as soon as possible, please take an issue and work on it. You can comment on the site itself if you have any questions, suggestions, or improvements.

Stats

  • There are 63 pages in the Handbook
  • The content is categorized in 10 sections
    • Before Install
    • ServerServer A server is a piece of computer hardware or software that provides functionality for other programs or devices. Typical servers are database servers, file servers, mail servers, print servers, web servers, game servers, and application servers.
    • WordPress
    • Upgrade
    • MultiSiteMultisite Multisite is a WordPress feature which allows users to create a network of sites on a single WordPress installation. Available since WordPress version 3.0, Multisite is a continuation of WPMU or WordPress Multiuser project. WordPress MultiUser project was discontinued and its features were included into WordPress core.https://codex.wordpress.org/Create_A_Network.
    • Plugins
    • Themes
    • Security
    • Performance
    • Debug
  • 51 contents from Support, Codex, or APIs will be moved
  • There are 5 pages pending migrationMigration Moving the code, database and media files for a website site from one server to another. Most typically done when changing hosting companies.
  • The content (pending publish) is available at GitHub

Next steps

There are some issues open:

Tools

To work on this project, you will need:

Contributor DayContributor Day Contributor Days are standalone days, frequently held before or after WordCamps but they can also happen at any time. They are events where people get together to work on various areas of https://make.wordpress.org/ There are many teams that people can participate in, each with a different focus. https://2017.us.wordcamp.org/contributor-day/ https://make.wordpress.org/support/handbook/getting-started/getting-started-at-a-contributor-day/.

If you are going to participate in a Contributor Day, this is one of the Hosting / Documentation projects to contribute.

Please take a look at our Contributor Day page, and specifically, the Advanced Admin Handbook section.

Help

If help is needed, please ask in the #docs, #hosting-community channel or contact @JavierCasares, @lucp, @milana_cap.

+make.wordpress.org/docs/

+make.wordpress.org/updates/

#documentation

WordPress Hosting Team 2022 recap

Here we are! It’s almost the end of 2022, and before starting 2023, maybe we should check what happened in the WordPress HostingHosting A web hosting service is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web. Team this year.

Firstly, some relevant posts:

And the new pages in the Handbook:

More things 🙂:

Some props to people contributing in the Team

In the following days will be the presentation of the new Team Reps, and new goals for 2023.

Thank you all for this 2022 and looking forward to this 2023 with you, and more to come.

+make.wordpress.org/updates/

#hosting-community

Voting for Hosting Team Reps 2023

All nominations are in, and all nominees are confirmed to take the next step and be available for the role. Now it is up to the community (you) to vote on your team’s representative for APAC/EMEA and AMER.

Voting

The voting will occur in two polls as we have different “roles” to fill. You can decide to participate in both polls (What we encourage, as all Team Reps should represent you) or only one. Moreover, please remember that you can publicly bring up your concerns and objections towards a nominee in the #hosting-community channel or privately to any current team reps.

AMER Region

For the AMER region, we have three candidates you can vote on. As we’re looking for two representatives for this region, everyone can vote for up to two different people or only one.

APAC/EMEA Region

Two positions to fill and two candidates. You have the option to vote for only one or both.

Next Steps

Polls are open from now on and will be closed during the early meeting on Wednesday, 28th of December 2022, 9 AM UTC. Once the polls are closed, the results will be publicly announced, and we’ll check in with the winner to see if they accept the voting and want to become the new HostingHosting A web hosting service is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web. Team Reps 2023 starting Wednesday, 4th of January 2023.

X-post: Suggest Topics for the 2023 WordPress Community Summit

X-comment from +make.wordpress.org/community: Comment on Suggest Topics for the 2023 WordPress Community Summit

Nominations are in – Hosting Team Rep 2023

Four weeks ago, we opened the call for nominations for the HostingHosting A web hosting service is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web. Team Representative. The nomination phase ended on Wednesday, December 7th at 00:00 UTC

The nominations

Nominations were made and, this is the nomination’s list:

APAC/EMEA time:

AMER time:

We’ve already reached out to all five nominations to check in if they want to accept their nominations and continue to the voting phase.

As soon as we have a response from all five nominations, we’re opening the poll.

If you have any questions, please feel free to ask in the comments; we will be happy to reply.

#team-reps

Server Environment for WordPress 6.1

Since the release of WordPress 6.1 the HostingHosting A web hosting service is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web. Team has received quite a few inquiries about some of the configurations related to the ServerServer A server is a piece of computer hardware or software that provides functionality for other programs or devices. Typical servers are database servers, file servers, mail servers, print servers, web servers, game servers, and application servers. Environment.

Within the Handbook Hosting there is a page that is updated with each new major version of WordPress, or significant change, the information of the optimal and recommended configuration from the computer, in coordination with the rest of the teams.

Since last 2022-11-16 a new update of the page is available. As always, we recommend keeping the latest versions of the various services, especially for security. For example, using the latest versions of the web serverServer A server is a piece of computer hardware or software that provides functionality for other programs or devices. Typical servers are database servers, file servers, mail servers, print servers, web servers, game servers, and application servers. does not usually affect WordPress at all. In general, the same thing happens with databases, it is best to use the latest versions of MySQLMySQL MySQL is an open-source relational database management system (RDBMS). MySQL is free and open-source software under the terms of the GNU General Public License. or MariaDBMariaDB MariaDB is a fork of the MySQL relational database management system (RDBMS), intended to remain free and open-source software under the GNU General Public License. MariaDB intended to maintain high compatibility with MySQL, ensuring a drop-in replacement capability with library binary parity and exact matching with MySQL APIs and commands., taking into account their connection with PHPPHP PHP (PHP: Hypertext Preprocessor) is a general-purpose scripting language especially suited to web development. PHP code is usually processed on a web server by a PHP interpreter. On a web server, the result of the interpreted and executed PHP code would form the whole or part of an HTTP response..

And we come to PHP versions, which is usually the most delicate in each version of WordPress, whether in the coreCore Core is the set of software required to run WordPress. The Core Team builds WordPress., plugins or themes.

In this table you can find the list of available, stable versions that were at the time of the release of each WordPress version.

WordPressPHPMySQLMariaDBDate
WordPress 6.17.4 – 8.15.7 – 8.010.3 – 10.92022-11-01
WordPress 6.07.4 – 8.15.7 – 8.010.3 – 10.72022-05-24
WordPress 5.97.4 – 8.15.7 – 8.010.2 – 10.62022-01-25
WordPress 5.87.3 – 8.05.7 – 8.010.2 – 10.62021-07-20
WordPress 5.77.3 – 8.05.7 – 8.010.2 – 10.52021-03-09

But, to this table, we must add the compatibility of the WordPress Core in each version.

WordPressPHP compatiblePHP betaBeta Beta is the software development phase following alpha. A Beta phase generally begins when the software is feature complete but likely to contain a number of known or unknown bugs. Software in the beta phase will generally have many more bugs in it than completed software, speed or performance issues, and may still cause crashes or data loss. The focus of beta testing is reducing impacts to users, often incorporating usability testing. compatible
WordPress 6.15.6 – 7.48.0* / 8.1* / 8.2*
WordPress 6.05.6 – 7.48.0* / 8.1*
WordPress 5.95.6 – 7.48.0* / 8.1*
WordPress 5.85.6 – 7.48.0*
WordPress 5.75.6 – 7.48.0*

Versions with * are those with beta compatibility. To learn more about beta compatibility, you can check out WordPress and PHP 8.0 and WordPress 5.9 and PHP 8.0-8.1. WordPress 6.1’s compatibility with PHP 8.2 is pending, although it should be noted that PHP 8.2 is not yet publicly available (it is scheduled to do so in early December 2022).

How to know which is the best stable version for each version of WordPress? Use the ServeHappy API. This APIAPI An Application Programming Interface (API) is a computing interface that defines interactions between multiple software intermediaries. It defines the kinds of calls or requests that can be made, how to make them, the data formats that should be used, the conventions to follow, etc. returns the best compatibility information of WordPress with PHP.

WordPressMinimum PHPRecommended PHPAPI JSONJSON JavaScript Object Notation (JSON) is an open standard file format, and data interchange format, that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and array data types. It is a very common data format, with a diverse range of applications, such as serving as a replacement for XML in AJAX systems.
WordPress 6.15.6.207.4JSON
WordPress 6.05.6.207.4JSON
WordPress 5.95.6.207.4JSON
WordPress 5.85.6.207.4JSON
WordPress 5.75.6.207.4JSON

These values may vary depending on the different teams consider the change.

Although official support for PHP 7.4 will soon end, currently only with security support, several open sourceOpen Source Open Source denotes software for which the original source code is made freely available and may be redistributed and modified. Open Source **must be** delivered via a licensing model, see GPL. projects have requested the PHP Foundation to extend the support of this version until all of them are updated on their new compatibility, including WordPress, which could give that compatibility in WordPress 6.2 (taking into account the current tickets).

What is the Hosting team’s recommendation to Hosting companies? Maintain, for now, PHP 7.4 as the default version for all WordPress, and test and report compatibility with PHP 8.0, 8.1 and 8.2, when available.

If you want to help the Hosting, Core, and Test teams, test new versions and future WordPress, PHP and SQL compatibility, you can use the tool WordPress Distributed Hosting Tests (Test Runner).

Props to @Crixu for review the information.

#handbook, #make-wordpress-org-core, #make-wordpress-org-updates, #php

Nominations for Hosting Team Reps 2023

This post kicks off the election process with nominations to replace the current HostingHosting A web hosting service is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web. Team Reps. Current Team Reps are @amykamala, @Crixu, @jadonn, and @javiercasares.

The Role

In the WordPress open sourceOpen Source Open Source denotes software for which the original source code is made freely available and may be redistributed and modified. Open Source **must be** delivered via a licensing model, see GPL. project, each team has on average one or two representatives, abbreviated as reps. In the Hosting Team we usually have 2 reps for APAC-EMEA and 2 reps for EMEA-AMER.

It’s not called “team lead” for a reason. It’s an administrative role. While people elected as team reps will generally come from the pool of folks that people think of as experienced leaders, the team repTeam Rep A Team Rep is a person who represents the Make WordPress team to the rest of the project, make sure issues are raised and addressed as needed, and coordinates cross-team efforts. role is designed to change hands regularly.

This role has a time commitment attached to it. Not a huge amount, it’s at least three hours a week. Here are the main tasks:

– Post the agenda, host the chats, and summarize them.
– Keeping an eye on the moving parts of the team to be able to report for quarterly updates.

Full details on the Team Rep role is on the Team Update site.

How the election works

Please nominate people in the comments of this post. Self-nominations are welcome. The deadline is December 7th, 2022.

Once the nomination window is closed, we will open a poll for voting. It will stay open for about two weeks. The new reps will start their role on January 4th, 2023.

If you want to nominate someone in private, please reach out to one of the team reps. Current Team reps are @amykamala, @Crixu, @jadonn, and @javiercasares on SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/..

Disclaimer: if you get nominated, please don’t feel like you have to say yes. The polls will only include the names of the people that are responding positively to a nomination. So feel free to reply with a “Thank you, but no thank you”.

If you have any questions, please feel free to ask in the comments, we will be happy to reply.

#team-reps

Call For Action – Testing Rollback Feature

Hello WordPress Hosts!

The CoreCore Core is the set of software required to run WordPress. The Core Team builds WordPress. Development Team is requesting assistance with testing a new Rollback Feature in WordPress Core. As always, your testing contributions help keep the development process informed and are valuable to the WordPress Open SourceOpen Source Open Source denotes software for which the original source code is made freely available and may be redistributed and modified. Open Source **must be** delivered via a licensing model, see GPL. Project! Thank you all in advance for participating in testing this feature!

This new feature offers the option to “rollback” to a previously installed version of plugins or themes that have thrown an error during a version update. Users may experience such an error as a WSOD (“white screen of death”), a visible PHPPHP PHP (PHP: Hypertext Preprocessor) is a general-purpose scripting language especially suited to web development. PHP code is usually processed on a web server by a PHP interpreter. On a web server, the result of the interpreted and executed PHP code would form the whole or part of an HTTP response. Error on the front-end or in another form during updates that can prevent a site from continuing to function without assistance from a Developer or Technical Support. This rollback feature will provide an option within WordPress Core itself for the user to set pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory or can be cost-based plugin from a third-party. and themeTheme A theme dictates the style and function of your WordPress website. Child Themes derive from the main parent theme. files back to the previously working version.

The feature uses a rename() function to copy plugin/theme files into another directory and then copy previously working files back into core directories, rather than using the less performant copy_dir() function which recursively copies files but is believed to result in timeouts on some systems.

How do I test Rollback?

Do not test on a production siteProduction Site A production site is a live site online meant to be viewed by your visitors, as opposed to a site that is staged for development or testing..

But do test on a local, staging or test environment, or spin up a cloud staging or test environment.

  1. Here are some large plugins used for testing: akismet, jetpack, mailpoet, woocommerce, wpforms-lite, wordpress-seo
    • WP-CLIWP-CLI WP CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way.wp plugin install akismet jetpack mailpoet woocommerce wpforms-lite wordpress-seo
  2. Do this from the plugin’s page on https://wordpress.org/plugins by navigating to the “Development” tab, clicking “Advanced” to the right, and downloading an older version from the dropdown at the bottom of the page. You can also install the current version then modify the version in the plugin’s main file to decrement the version number.
  3. Install the WordPress Beta Tester plugin, set to Bleeding edge and Nightlies. Go to Dashboard > Updates and click the Update to latest 6.1 nightly button.
  4. Install the Rollback feature plugin or test using the PR2225 in WordPress/wordpress-develop.
  5. Please make a note of the time required to perform plugin updates. Your phone’s stopwatch function may be the easiest method to do this.

Testing a single plugin update:

  1. Navigate to Plugins > Installed Plugins.
  2. Click “Update Now” located within the plugin row.

Testing bulk plugin updates via “Plugins”:

  1. Navigate to Plugins > Installed Plugins.
  2. Select another two plugins, select “Update” from the Bulk Actions dropdown, and click “Apply”.

Testing bulk plugin updates via “Dashboard”:

  1. Navigate to Dashboard > Updates
  2. Tick all plugins with an available update.
  3. Select “Update” from the Bulk Actions dropdown, and click “Apply”.

Testing updates via WP-CLI (if already familiar).

Validation of successful updates

This requires activating all the testing plugins on your testing site. Unsuccessful updates should show PHP Errors or PHP Fatal Errors.

  1. Activate each of the plugins that were updated.
  2. In WP Admin, navigate to each plugin’s menu pages.
  3. Navigate the frontend of your test site.
  4. Navigate to your wp-content/temp-backup/plugins folder. It should be empty.

Forcing an update failure

Use the following filterFilter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. to force an update failure. This will reinstall the previously active plugin/theme.

add_filter( 'upgrader_install_package_result', function() {
  return new WP_Error( 'simulated_error', 'Simulated Error' );
});

Testing update failures

When testing for failures on the bulk update in update-core.php you must use the PR. There is a modification in the PR that stops WP_Upgrader::unpack_package() from deleting the items in the temp-backup directory.

For More Information please see this original Call to Action from the Core Team.

The more testing that is done on a wider variety of hostingHosting A web hosting service is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web. environments, the more likely WordPress and its new features are to perform on the wide range of hosting platforms available to users. As such, testing provides value to the software, users and hosts alike. Thank you again for your testing contributions!

X-post: New cache Site Health checks in WordPress 6.1

X-comment from +make.wordpress.org/core: Comment on New cache Site Health checks in WordPress 6.1

X-post: WordCamp US Contributor Day 2022 Recap

X-comment from +make.wordpress.org/updates: Comment on WordCamp US Contributor Day 2022 Recap