I want to hide wordpress signs from my site. So I don’t want other people know that I built the website via WordPress. So I decided to remove wp-...
I’m trying to load my custom script in the admin panel using the same method that WordPress itself loads scripts in the admin area. This is an example script...
I recently changed the base domain on my WordPress website from http://www.fsdegrees.com to http://www.56degrees.co.uk. I would like to create various of 301 from old domain to new one, but...
I am looking to change one line within a core function. The function is wp_allow_comment() located within /wp-includes/comment.php function wp_allow_comment($commentdata) { global $wpdb; extract($commentdata, EXTR_SKIP); // Simple duplicate check...
I’m getting an error on my site regarding “headers already sent”: Warning: Cannot modify header information – headers already sent by (output started at ………/wp-admin/menu-header.php:161) in ……/wp-includes/pluggable.php on line...
I want to add a data argument to links generated by the paginate_links() function. Then, I can more easily extend my custom pagination to use AJAX. As far as...
I want to temporarily remove X-Frame-Options: SAMEORIGIN and need to allow all domains. I have already tried the following ways. Removing send_frame_options_header from ./wp-includes/default-filters.php remove_action('login_init', 'send_frame_options_header'); Removing @header( ‘X-Frame-Options:...
ms-files.php contains the following code fragment: $file = rtrim( BLOGUPLOADDIR, "https://wordpress.stackexchange.com/" ) . "https://wordpress.stackexchange.com/" . str_replace( '..', '', $_GET[ 'file' ] ); if ( !is_file( $file ) ) {...
The shortcode accepts the columns="0" as an attribute so that it doesn’t insert any breaks in the HTML between gallery items, however this option is not available in Gallery...
I’ve been working on performance of my site using YSLOW, and noticed that WordPress it outputting things in my document head that I know I don’t need. For example,...