The tag has no usage guidance.

learn more… | top users | synonyms

22
votes
3answers
3k views

Sending multipart (text/html) emails via wp_mail() will likely get your domain banned

Summary Because of a bug in WP Core, sending multipart emails (html/text) with wp_mail() (to reduce chance of emails ending up in spam folders) will ironically result with your domain being blocked ...
15
votes
3answers
267 views

Handle issues with change of image scaling (rounding) in 4.1 (WP Ticket #18532)

I am currently in the course of migrating site content from an old pre 4.1 site to a new setup and hitting an issue with the rounding error issue of #18532 and the corresponding fix. To summarize ...
11
votes
5answers
4k views

after_setup_theme always runs

I am setting up a child theme for some of my faculty members, and as a part of the theme, I would like a handful of plugins to be activated at the time that the theme is activated. So, naturally, I ...
6
votes
1answer
184 views

Images all broken after migration and upgrade

I have upgraded a neglected Wordpress installation the was a few versions off. After the installation and upgrading multiple version, all of my images are now broken which were not before. Whenever ...
5
votes
1answer
631 views

Weird behaviour when adding terms/term_taxonomies programmatically

This certainly looks like a bug to me. I put together the following code for you to test it on a fresh install. Basically, the code will add two sub categories under the "uncategorized" to achieve ...
4
votes
2answers
2k views

Admin sidebar items overlapping in admin panel

Before to report this to wordpress I would like to know if it's just me or it's actually a bug. I noticed also another user that asked on the wordpress forum but he hadn't an answer for that: https://...
4
votes
1answer
116 views

Why are double-periods (“..”) invalid in a Wordpress image filename?

ms-files.php contains the following code fragment: $file = rtrim( BLOGUPLOADDIR, '/' ) . '/' . str_replace( '..', '', $_GET[ 'file' ] ); if ( !is_file( $file ) ) { status_header( 404 ); die( '...
4
votes
1answer
1k views

is_category() function

I have category which name is '51m series' (it has id 135). Why the expression is_category(51) is true on this category page? I think it should be false according to Wordpress Codex. Is it a bug? ...
3
votes
3answers
2k views

Dashboard says “no posts found” even though there are some posts

I have a weird bug on the dashboard: the dashboard says there are a total of 3 posts, but the list is empty and says "No posts found" (see image below) It's a fresh install on a shared Windows ...
2
votes
1answer
424 views

get_template_directory_uri does not seem to work when defining WP_CONTENT_DIR

I have defined in my config: define( 'WP_CONTENT_DIR', dirname(__FILE__) . '/somedirectory' ); after Codex: Editing WP Config BUT <?php echo get_template_directory_uri(); ?> prints out: ...
2
votes
1answer
140 views

Bug in Stackoverflow styled badge system script

I have modified an old Stackoverflow inspired badge system script to work with the latest Wordpress version. You can view the code here (and please feel free to use it if you wish): http://pastebin....
2
votes
1answer
908 views

Programmatically insert hierarchical terms & set terms for post causes glitch? [duplicate]

I am inserting an array of terms into my custom taxonomy programmatically. Some terms have parents/children. After each term has been entered, I then insert an array of posts into my custom post type. ...
1
vote
1answer
448 views

Are .MP3 files with capital letter extensions allowed in [audio] shortcode?

In WordPress 3.6, using the new [audio] shortcode, I can add a player for an .mp3 file like this: [audio src="http://example.com/audio_files/test.mp3"] However, if the .mp3 file has capital letters ...
1
vote
1answer
158 views

Possible bug: update_user_meta is updating two unique meta entries

On a CPT page I am checking to see if the user is logged in; if they are, I'm checking to see if they have a meta entry which is 'session-' + the current page's stub. If they do, I increment the value ...
1
vote
1answer
382 views

remove_menu_page breaks “Add media”

Using the the remove_menu_page function results in a really strange bug. By adding the code below in the functions.php file the integrated "Add media" widget starts to bug. function remove_menu_pages(...
1
vote
1answer
103 views

wp_enqueue_script with dependencies doesn't work

I'm having this code: wp_register_script('parent','parent.js', array('child'), '1', true); wp_register_script('child', 'child.js', array('grandchild'), '1', true); wp_register_script('grandchild', '...
1
vote
1answer
903 views

Password Protected page not asking for a password

I have set a page to be password protected in the admin, but for some reason WP is not asking for the password when viewing the page. It definitely isn't a plugin as I have confirmed the behaviour ...
1
vote
1answer
37 views

Can't login unless twentyfifteen theme is active

Yesterday, I tried to clone an online website to localhost for doing some work on my theme. I did a fresh Wordpress install on localhost and used mysqldump for copying the remote DB to localhost. I ...
1
vote
1answer
44 views

Plugins Page invisible / white

I found a lot of posts about the white-screen-of-death, but as far as I can tell, that's not my problem. Whenever I open the backend, everything is fine until I enter the plugins section. The ...
1
vote
1answer
351 views

Add Media has stopped working in the front end since 4.5 update

I've got a page that calls wp_editor in the front end. Since upgrading to 4.5, the Add Media button no longer does anything at all. It works fine if you call it in the admin section. There's no word ...
1
vote
0answers
29 views

Menu items suddenly are displayed all over the page [closed]

Strange things are happening :( When you take a look at the site: www.handelbijvanandel.nl you will see that all menu- and submenu items are shown on the page. At first I didn't pay much attention to ...
1
vote
0answers
161 views

WordPress Multisite logout conflict

I have a WordPress Multisite setup with several sub sites. I am having an issue when logging out of one of the sub sites that leaves the user logged into the main site which was the entry point or ...
1
vote
0answers
75 views

WP not logging in at first time

I've been experiencing a weird "bug" in my website which I have a form in the front page to do the log in, it doesn't log, redirects me to the WP-login.php and it says the Cookies may not be active in ...
1
vote
0answers
290 views

Word count not accurate - potential bug

My editors reported that there appears to be an issue with my word count on the post edit page. Testing this proved true, check the word count: This is affecting all posts, for instance, a post ...
1
vote
2answers
279 views

Custom Menu Broken WP 3.8.1 Update

Custom menu has stopped working since upgrading to 3.8.1. When trying to add items from the left they do not show up as movable items as they should do under Menu 1, however the text changes to: "Drag ...
0
votes
4answers
3k views

Adding rich text editor to my plugin

I'm trying to add a rich text editor to my own plugin. So I googled it first of course and I found several answers on dev4press and Stack Overflow. This code displays nothing so I tried another ...
0
votes
2answers
94 views

Post images are not displayed on the front page

I don't get any errors, but the post images are not displayed on the front page, all other pages displays the images correctly. How can I fix this? Here is the site The front page is set to display ...
0
votes
2answers
68 views

Weird space in footer only in single.php when there are comments?

I have an extremely weird problem and I cannot figure out what's going on. I REALLY hope someone here might have a clue or else I don't know what to do anymore. So, there's a weird space gap in my ...
0
votes
1answer
143 views

why i cannot see some plugins while they are enabled on network admin page?

i am using WPMU 3.3.1, i have some plugins enabled but why i cannot see them in some wordpress panel, it is confusing, but these plugins may take effect to these blogs, it is really strange to take ...
0
votes
1answer
2k views

get_shortcode_regex() only matches first shortcode

The Codex has an example of using get_shortcode_regex() to check if a shortcode is being called on a given page: $pattern = get_shortcode_regex(); preg_match('/'.$pattern.'/s', $posts[0]->...
0
votes
1answer
440 views

Visual composer causing conflict with TinyMCE [closed]

My Tinymce is not showing up by default. All out of the sudden, without any new plugin installation or what so ever, VC plugin started to force my text editor (when creating a new entry) to switch ...
0
votes
2answers
2k views

“load-scripts.php” hangs and times out when plupload is requested

I have a perplexing problem with Wordpress. When pages under /admin/ loads "load-scripts.php" with "plupload" as one of the arguments, it hangs for ever. The "Add New Post" page is one such page. For ...
0
votes
1answer
68 views

Strange bug on post/page save

I have a srtange bug when I try to save/update a post. Every time I got this alert: "Are you sure to live this page?...." I've switched tothe original theme, disabled almost all plugins but nothing ...
0
votes
2answers
2k views

Woocommerce single product image blurred and small. Actual image is big

The image in the woocommerce's product page is blurred and unclear. You can see this using the below link. http://childdevelopmentinfo.com/shop/discipline-your-kid-the-right-way-without-shouting-or-...
0
votes
1answer
743 views

WP_editor problem

A few days ago I asked this question. Today I started building a new website in which I copied the code of my plugin used at the website from my previous question. And I was surprised when I saw ...
0
votes
1answer
587 views

Saving widget gets an undefined variable

I am developing a widget for cached feeds. The widget itself works exactly as I want but I noticed that if I were to delete the widget and then add a new one (or simply just add a new one) on the ...
0
votes
4answers
9k views

WP_Query and using a variable for 'cat'=> in the args array = WP Bug?

For the sake of this discussion, here's a version of my query within category.php: wp_reset_query(); $category_id = get_cat_ID(single_cat_title('', false)); $my_query = new WP_Query(array( '...
0
votes
1answer
308 views

Is this a wordpress bug? get_comment_link auto shoots when user visits his dashboard

If user is editor, this function auto-shoots when user visits his dashboard! How is this possible? This function should only work when user successfully posts comment, so what is happening? could be ...
0
votes
1answer
110 views

Photos automatically uploaded to Media Library

Here's a bizarre one for you guys. I was using Search RegEx to remove Blogger html formatting that was screwing up my imported posts. Images hadn't been imported, so they were loading from Blogger (...
0
votes
1answer
386 views

Best Browser for Editing Posts

What browser is best supported by Wordpress.org for editing posts in the visual editor (which I guess is TinyMCE)? I use Google Chrome and have run into issues which are specific to just this browser....
0
votes
2answers
1k views

Problem saving wordpress settings with current version. Is it a bug?

With the current version of wordpress 3.2.1 I am having this kinds of problem. I install wordpress frequently and I did not notice it before 3.2.1 Problem: Not being able to save settings under ...
0
votes
0answers
22 views

WordPress 4.4.2, _s starter theme, problems with custom default header

I'm using the _s starter theme and setting up a custom header image. I've got this code: add_theme_support( 'custom-header', apply_filters( 'xyztheme_custom_header_args', array( 'default-image' ...
0
votes
1answer
55 views

Undeletable posts, users or other content

Recently I tried to move a WordPress instance to a production server and (besides other issues) had to deal with a page that could not be deleted via the admin panel. The success message would show up ...
0
votes
0answers
44 views

Bug in this code for hacking wp standard image gallery

I have a code to hack the standard wp image gallery. This code help me in numbering each image in the gallery. I found this code on the internet. The problem is that when I add more than one gallery, ...
0
votes
0answers
43 views

Wordpress not compatible with ios9 keyboard on older ipad

I have tested latest version of wordpress with ios9 : with iphone6 it's ok but on older version like ipad mini 2 typing is extremely sluggish not only on newpost but on search field. Speed is normal ...
0
votes
0answers
19 views

“Restore original Size” bug

When I click "Restore original Size" the image delets and I get the "image not found" icon. I start getting this error after last update. UPDATE: This bug only found when editing main product image ...
0
votes
1answer
34 views

Why doesn't the Media Browser use thumbnail sized images?

The folks updating our site oft complained about the media browser being very slow, so I went to have a look. And, on the first load of the page, and when doing a search within the media browser, its ...
0
votes
0answers
20 views

Strange problem with overlapping / disappearing Text in the admin backend in WP 4.3 [duplicate]

I experience a very strange issue with all Wordpress installations I'm in charge of. Text in the backend in the left hand menu overlaps. Reloading without cache makes it disappear for some time. When ...
0
votes
0answers
130 views

Trouble with Dynamic Input on Widget, Unable to get Widget ID

I'm trying to create Widget with dynamic input as the widget options. The Option fields are Feature (text), Price (text), and Picture (Text with upload button). For some reason, I couldn't get the ...
0
votes
0answers
31 views

get_children() show deleted attachments of the post

I have a problem with the attachments in a post :( If I upload an image into a post and after I delete it, Wordpress show the image as still attached to that post. This is my code to retrive the ...