Skip to content
#

wordpress-development

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

headless-wp-starter
gillespieza
gillespieza commented Apr 12, 2020

Issue is about..

  • [x ] a Bug Report

The logic in the sidebar templates that set the column width to .col-md-3 if both sidebars are active, or .col-md-4 if only one sidebar is active, only checks for the theme option understrap_sidebar_position. It does not take into account if a page has explicity chosen the Left and Right Sidebar Layout page template (and therefore shows both

rmccue
rmccue commented Feb 28, 2020

Is your feature request related to a problem?

Yes. When writing code like the following, it's flagged as unescaped (WordPress.Security.EscapeOutput.OutputNotEscaped):

printf(
    'Foo %d Bar',
    $id
);

With some string formats, the format itself can provide adequate sanitising/escaping support. Specifically, any format which does not treat the input as a string: b

james-allan
james-allan commented Jan 10, 2020

Preface: This is likely to be a rare case but I figured I would raise it in case there's something we can do to prevent this in future.

I was working on a site that was getting errors after upgrading to 3.0. The original error was:

Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Table '.wp3zd0_actionscheduler_actions' doesn't exist in /var/www/html/wp-
twaiiiin
twaiiiin commented May 1, 2019

Hello there,

Google Lighthouse tells me that the superpwa-manifest.json file is not served by HTTP/2 while the other resources are. Is this normal? Do you have the same behavior on other website?

It looks like all requests that are served from the Service Worker are marked with HTTP/1.1. This could be a bug with Google Chrome & Lighthouse (GoogleChrome/lighthouse#71

marcinkrzeminski
marcinkrzeminski commented Oct 25, 2019

Add an option for a front-page.twig template in page.php.

Code is very similar to what we have in index.php

<?php
global $post;

$context   = \Timber\Timber::get_context();
$templates = [ 'page-' . $post->post_name . '.twig', 'page.twig' ];

if ( is_front_page() ) {
	array_unshift( $templates, 'front-page.twig' );
}
Timber::render( $templates, $context );
fabioaccetta
fabioaccetta commented Apr 20, 2019

I have a local working https://wordpress.local with a valid autogenerated local ssl certificate (green lock in all browsers), but if i try to configure wpackio.server.js this way:

	host: 'localhost',
	proxy: 'https://wordpress.local',
	port: 3000,

i got empty response.

I'm on linux using latest master version (with latest version of all packages).

I'm not a `browser-sync/

winnieza
winnieza commented Mar 20, 2020

We have given links (Anchor Links) to enable the user to jump to various sections of the page in our website. As a result, with each click on the link, a #hash is appearing in the browser URL bar. So if a user clicks on 5 links to jump to different sections within a page, he will require 6 clicks to the browser back button to actually go back a page. How can I remove this #hash from the URL?

lkraav
lkraav commented Sep 13, 2019

Describe the bug

If we run our web server on an alternate port, like 8080, let's say using wp server, then $_SERVER SERVER_NAME will not provide the correct WP_HOME calculation value, but $_SERVER HTTP_HOST does.

print_r( $_SERVER );

Array
(
    ...
    [SERVER_NAME] => localhost
    [SERVER_PORT] => 8080
    [REQUEST_URI] => /
    [HTTP_HOST] => localhost:8080
   

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.