The Wayback Machine - https://web.archive.org/web/20201024034601/https://github.com/topics/wordpress
Skip to content
#

WordPress

wordpress logo

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 13,894 public repositories matching this topic...

NielsdeBlaauw
NielsdeBlaauw commented Apr 28, 2020

If multiple products can have the same SKU, updating an order through the WooCommerce API (tested v2, v3 and v4) can unintentionally change products within an order.

To reproduce:

  1. Add filter to functions.php add_filter( 'wc_product_has_unique_sku', '__return_false' );
  2. Create product 1 with SKU non-unique. (product_id example: 1111)
  3. Create product 2 with the same SKU `
gutenberg
timber
errand
errand commented Sep 26, 2020

Expected behavior

{{ post.get_comment_count }} should return only comments count without trackpacks and pingbacks
because post.comments return only comments

Actual behavior

post.comments return only post comments

Steps to reproduce behavior

Add trackbacks and pingback, render {{ dd(post.comments) }}

What version of WordPress, PHP and Timber are you using?

WordPress 5.5.1

interludic
interludic commented Oct 31, 2018
  • 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;
});

hypest
hypest commented Jun 4, 2020

Running ./gradlew lintVanillaRelease on dc41909f75 produces this linter report:

warning LintBaseline: Baseline Issues ../../lint-baseline.xml: 165 errors/warnings were listed in the baseline file (lint-baseline.xml) but not found in the project; perhaps they have been fixed? Unmatched issue types: AlwaysShowAction (2), ClickableViewAccessibility (5), Disable
amp-wp
westonruter
westonruter commented May 22, 2019

The list of AMP Caches is available at https://cdn.ampproject.org/caches.json

This could be pulled in dynamically rather than hard-coding each AMP Cache in \AMP_HTTP::get_amp_cache_hosts():

https://github.com/ampproject/amp-wp/blob/9e049f6554b69e06284ead57d13ef416226a51ec/includes/class-amp-http.php#L191-L239

This is low priority because the list of caches changes infrequently.

Created by Matt Mullenweg, Mike Little

Released May 27, 2003

Organization
WordPress
Website
wordpress.org
Wikipedia
Wikipedia
You can’t perform that action at this time.