Comments (1)
I don't see the warning (probably because we're on different versions of PHP), but I do believe I fixed it.
Before I push the update live for everyone are you comfortable testing the fix to see if it clears all warnings?
If so, update lines 160-165 of functions.php to:
if ( isset( $post->post_parent ) ? $post->post_parent : 0 ) {
echo '<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"><a href="' . esc_url( get_permalink( $post->post_parent ) ) . '" itemprop="item"><span itemprop="name">' . esc_attr( get_the_title( $post->post_parent ) ) . '</span></a><meta itemprop="position" content="2" /></li>';
}
if ( is_single() || !empty( $post->post_parent ) ) {
echo ' <span aria-hidden="true">→</span> ';
}
from support.
Related Issues (12)
- [email protected] — If you need help.
- Block Builder appears in results for "Post Formats" HOT 3
- Creative Template with Menu HOT 2
- Custom field when there's no canonical link HOT 5
- Mobile Menu Bar Issue HOT 1
- Issue with the 'Pages' theme HOT 6
- No font choice in theme editor HOT 9
- The login address is in the source code! HOT 1
- Remove Widget space? HOT 3
- Help with Applause? HOT 6
- Dark Setting on Devices HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from support.