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

glagonikas
glagonikas commented Mar 2, 2020

Describe the bug
When "Geolocate (with page caching support)" is enabled, visiting a URL similar to /whatever/wp-json/wp/v2/posts/None throws a fatal error.

[02-Mar-2020 11:57:11 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get() on null in /home/site/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php:96
Stack 
gutenberg
timber
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.