WordPress
WordPress is a popular content management system, used for websites and blogs. WordPress is written in PHP and MySQL and is designed to be flexible and user-friendly.
Here are 15,595 public repositories matching this topic...
Steps to reproduce the behavior
- Go to https://wordpress.com/plans/[site] on a site with an existing annual plan
- Note the 'billed annually' copy with a tooltip icon compared to the display plan price
What I expected to happen
The tooltip suggests that the customer wil
-
Updated
Jul 29, 2021 - PHP
Writing to database every pageload is very bad idea (especially on frontend)
To replicate:
-) Install Query Monitor
-) Load product page
-) see list of 'UPDATE' queries from QM console
Please read Wordpress code quality & best pratice here:
=> https://docs.wpvip.com/technical-references/code-review/vip-warnings/#h-front-end-database-writes
=> https://docs.wpvip.com/technical-references
Description
When using the @wordpress/create-block package, the registerBlockType function is missing the save: property name before the save method. This leads to blocks failing to save (I learned an hour later…).
Step-by-step reproduction instructions
- Run
$ npx @wordpress/create-block test
Actual behaviour
In /test/src/index.js, I have the following (note the "save
-
Updated
Jul 29, 2021 - Ruby
-
Updated
Jul 22, 2021 - PHP
Performance/Caching section of the docs isn't clear enough. It says that the default caching mode is CACHE_TRANSIENT, but there's no explanation on what does it actually mean.
Does it mean that all queries are cached using transients? If so then it would be good to mention what is the default cache expiration and what are the implications
-
Updated
Jul 29, 2021 - Shell
-
Updated
Jun 7, 2021 - JavaScript
-
Corcel Version: "jgrossi/corcel": "2.5.*",
-
Framework Name & Version: "laravel/framework": "5.5.*",
-
PHP Version: 7.1
Description:
Cant find model... for
// clean and simple all posts from a category
$cat = Category::slug('uncategorized')->posts->first();
$cat->posts->each(function($post) {
echo $post->post_title;
});
-
Updated
Jul 26, 2021 - PHP
Reported by Frosty:
On iPad in splitscreen (so the app is half or 1/4 of the screen), the bottom sheet appears to take up the entire height of the display. This only seems to happen on iPad, not on iPhone. I confirmed that this also happens on
develop.


Feature request
Feature description
The generated and installed config files permission are too open, any user logined on the system can read and write them. So i suggest append a
chmodcommand into Extract tar step to keep config files more safty.How the feature is useful