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 14,261 public repositories matching this topic...

jmawebtech
jmawebtech commented Sep 4, 2020

Hi,

Error: When querying orders in UTC time, WooCommerce fails to recognize the timezone. I am sending UTC time, but WooCommerce uses its own timezone instead.

Steps to reproduce:

Here is the site:

https://www.idscad.com/wc-api/v3

store": {
"name": "IDS CAD",
"description": "Digital Artistry",
"URL": "https://www.idscad.com",
"wc_version": "3.8.1",
"version": "3.1.0",

https:

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;
});

aerych
aerych commented Dec 16, 2020

A quick ack of the repo shows whitelist and blacklist referenced in several places. Let's update these references in our code and repo documentation (e.g. README) to use more inclusive terms. Suggestions: allowlist or blockedlist. For references in third-party libs, we can see if there is an updated version of that lib and whether there is any blockers to switching to that version.

smthomas
smthomas commented Nov 16, 2020

In the graphql_map_input_fields_to_wp_query filter, the $post_type is the last parameter. This is inconsistent with the other graphql_map_input_fields_* filters. For example in graphql_map_input_fields_to_get_terms the $taxonomy parameter is the third parameter (while the $context & $info parameters are the last two in all of the graphql_map_input_fields_* filters). For consistency sake, i

aerych
aerych commented Dec 16, 2020

A quick ack of the repo shows whitelist and blacklist referenced in several places. Let's update these references in our code and repo documentation (e.g. README) to use more inclusive terms. Suggestions: allowlist or blockedlist. For references in third-party libs, we can see if there is an updated version of that lib and whether there is any blockers to switching to that version.

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.