646 reputation
414
bio website morganestes.com
location Edmond, OK
age 40
visits member for 2 years, 7 months
seen 12 hours ago
add_action( 'loves_wp', '__return_true' );

By day, I'm a mild-mannered Web Engineer for 10up, building tools and websites for some pretty amazing clients using WordPress. By night, I'm a core contributor to the WordPress open source project, a geek who roots my phone and tries to not blow it up, and pokes around the interwebs looking for cool things that others are creating.

Oh, and I break computers, too.


Aug
21
comment File Not Found error returned when trying to access Media Library in Wordpress 4.2. Plugins cannot be installed either
Your question says you get a 404 for /wp-admin/uploads/, which makes sense because that folder shouldn't exist in /wp-admin/ (it's in /wp-content/). There a file called /wp-admin/upload.php, though. Can you double-check the 404 error for which one it is?
Aug
21
comment WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for
Have you searched through your code (themes and plugins) for that SQL query, or one like it? I've tried several variations in WP core and can't find it, so I'm wondering if there's a plugin or a query in your theme that's running into this. It looks like where the query is created, the value that's being passed to ID isn't generated, so the query fails since it doesn't know how to handle it stopping abruptly with ID=.
Aug
21
comment File Not Found error returned when trying to access Media Library in Wordpress 4.2. Plugins cannot be installed either
Has this worked in the past and just stopped? Have you upgraded WP recently or added/removed/updated a theme or plugin? Check the server's PHP logs to see if there's an error being thrown in there that can help point to where the problem is.
Aug
21
comment 'Notice: Undefined index' error on plugins page
Try switching to another theme (like Twenty Fifteen) to see if the error goes away. That will help you figure out if there's a problem with that theme.
Aug
4
comment Can't create child themes. “Stylesheet is not readable.”
Have you checked out codex.wordpress.org/Child_Themes yet? Try to follow along with the example there and see if you can create a basic Twenty Fifteen child theme. If that works, you can apply that code towards your other child theme.
Jul
6
comment jQuery conflict in WordPress, works fine in HTML
When you said there's "a massive jQuery conflict" I assumed you were referencing something in particular. Is that not the case? Also, is the script that defines Grid (and parallax()) also enqueued with the right dependencies?
Jul
5
comment jQuery conflict in WordPress, works fine in HTML
What's the conflict message you're getting? Is this file loaded with wp_enqueue_script() with jQuery passed as a dependency?
Jun
15
comment Git Deploying - Disabling plugin/theme installation/update on remote?
@toscho Thanks for the info. I always wondered why there were two different ways and never knew when to use one over the other.
Jun
15
comment Git Deploying - Disabling plugin/theme installation/update on remote?
This may just be preference of core, but all the constants in wp-config.php are set using define() instead of const, probably because of the global use of them. define( 'DISALLOW_FILE_MODS', true ); matches the rest of the config file structure.
Apr
26
comment How do I get an external php page to load using javascript
Thanks for catching that @Pieter. Typo fixed now.
Mar
11
comment Menu of pages with an image
Would you mind posting your solution as an answer so others can learn from it?
Mar
11
comment Menu of pages with an image
Does this code work already and you're just trying to modify it so others can use it, or is some aspect of it not working? Plugin recommendations are off-topic, but if you can clarify what you've tried so far it'll help folks who are trying to help you.
Mar
9
comment Wordpress 3.8.1 Multisite blog slug problem
Editing core files is almost never a good suggestion. The changes you make will be overwritten when you update versions and may cause other problems with your site that you're not expecting.
Mar
4
comment my self hosted blog
Where did you transfer the site from, and how did you do the transfer?
Mar
4
comment Create a blank admin page from plugin
What have you tried so far? Post the code you've used so we can test it out.
Mar
2
comment Text editor has problem with having '<html>' in a post
Please reread the question. The OP isn't using invalid code in a theme or plugin; code is being used inside a pre tag inside a post.
Mar
1
comment Super administrator db name
I've set up a test multisite install with a single test site, an admin user on the site, and an additional network admin. All three of them show up in the user_capabilities column as "administrator".
Feb
27
comment Can't figure out why a jquery file is not loading!
When you're adding an external JavaScript file, it doesn't get parsed by PHP on the server, just by the browser. So this line: url: '<?php echo admin_url('admin-ajax.php'); ?>' doesn't actually produce the URL to admin-ajax.php so it's not going to work. You can add a line to your functions.php to create the URL for use in JavaScript, and I see that the fitvids script has already done this so you can follow their method to create a JS object that you can use in your scripts.
Feb
27
comment Can't figure out why a jquery file is not loading!
It's probably for the best that it's not loading. The code has a couple of serious issues, like triggering a print when the page is loaded, and trying to parse PHP inside the external JS file. Even if the script did load, it'd cause problems for you.
Feb
26
comment Warning: Illegal string offset on theme options page
@RichardMišenčík I've updated my answer with an update specific to the line 75 echo problem. Take a look and let me know if it helps or if you have any questions about it.