Hot answers tagged php
Each of the files you have mentioned are theme files. When you upgrade WordPress itself, it will not touch any themes (or plugins) you have installed, whether or not you have modified them. If this was a theme you created yourself, then you have no worries at all. However, if this was a theme created by someone else, for example a WordPress default theme, ...
The Codex says: It's important to note that most WordPress functions properly prepare the data for output, and you don't need to escape again. For example the_permalink() already escapes the output with: echo esc_url( apply_filters( 'the_permalink', get_permalink( $post ), $post ) ); so you don't need to do that yourself here. But the ...
I was having a similar problem with getting ssh to work after the php 7.0 upgrade. I went through the steps of this tutorial and got it working. I also had to chmod 775 the wp-content directory. However, the wp-content/plugins direcotry at chmod 755 works.
I tried another solution and that did the trick. I found in the WooCommerce docs this little snippet: // Display 24 products per page. Goes in functions.php add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 24;' ), 20 );. It is overriding the settings in the customizer. I only have to change the number '24' to my liking.
You can use the user_register hook to capture user information after their details are saved to the database.
Technically, they are for only one purpose: override memory_limit value in php.ini. The difference is: WP_MEMORY_LIMIT will permanently override memory_limit if its value is greater than the current value in php.ini. WP_MAX_MEMORY_LIMIT will temporarily override memory_limit with whatever value you defined. And it only happens in some events such as ...
nopaging=true override posts_per_page and sets it to -1 which will return all posts. Remove that and you should be fine
Only top voted, non community-wiki answers of a minimum length are eligible