Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 112766

For questions about the server-side programming language that the WordPress core, plugins and themes are written in. Questions about using PHP outside a WordPress context are off-topic but might be asked on Stack Overflow.

2 votes

Issue with php version 7.2 in running search

The PHP manual has a lot of information on the changes between 5.x and 7.x. … Turn display_errors off and instead send them to a log file so your users don't see PHP errors when using the site. …
Ted Stresen-Reuter's user avatar
12 votes

How to find cause of PHP notices with no stack trace?

. */ PS: Returning true at the end of the function tells PHP to stop processing the E_NOTICE, which is probably what you want at this point. …
Ted Stresen-Reuter's user avatar
0 votes
Accepted

Remove all feeds and return custom 404 page

php /** * Plugin Name: T5 404 Feed * Description: Sends a 404 status code for all feeds and loads the <code>404.php</code> template. */ add_action( 'template_redirect', 't5_404_feed', 1 ); function … t5_404_feed() { if ( is_feed() ) { status_header( '404' ); header('Content-Type: text/html', true); locate_template( array ( '404.php', 'index.php' ), TRUE, TRUE ); …
Ted Stresen-Reuter's user avatar
1 vote

Plugin not working & permalink erorr after upgrade to php 7x on Nginx

If the question is "what PHP do I have to change to make it work?" …
Ted Stresen-Reuter's user avatar