We never know exactly what Keira understands since…

We never know exactly what Keira understands since her communications skills are limited to telling us what she wants to eat. Plus everything comes out sounding a little like a robot so when she says something we wonder if it’s scripted.
Me: “Girls, I wasn‘t home today so I need to bake a treat right now for after school snack.”
Keira: “I.Want.Cookie.Dough.Pleeeeeeease.” [shocked she understood]
Me: “It‘s going to take a little while to make cookies.”
Keira: “I.Want.Broc.co.li.Please.”
(Broccoli is 3 words)

Scary As Hell moment today I was walking…

Scary As Hell moment today.
I was walking toward the Subway as an employee was walking out the back entrance cursing like a crazy man.
I got my lunch and as I was about to leave I heard someone say “Oh he‘s coming back and he doesn‘t look happy”
Well when he left he didn’t look “stable” and with all the gun violence lately I figured I’d make a quick exit, except he walked back in through the main entrance and when he reached behind his back, I started looking for the fire exit.
Lets face it, there are 2 kinds of people who carry a gun for protection, those who Need to and those who Think they need to – and this guy seemed like that kind of nut.
I started heading toward the exit as another employee started yelling “Don’t do this! Don’t Do This!”
So there the guy stood screaming, cursing and then he STRIPPED OFF his Subway uniform! Yup! Screaming “F*CK SUBWAY” in his underwear and then he left.

How to Hide Errors on WordPress http make…

How to Hide Errors on WordPress

PHP Warning: Missing argument 2 for wpdb::prepare()


PHP Warning: Missing argument 2 for wpdb::prepare()
Hello plugin or theme author! You possibly found this post after searching the Internet for the error above: “PHP Warning: Missing argument 2 for wpdb::prepare().”
So, this is a new warning in 3.5. No sites are broken, everything is fine as before. But, this is indeed something you need to look at, because you may be exposing your users to a possible SQL injection vulnerability. Now that’s no fun!
First, if you’re a user and you want to get rid of these errors, you should turn off the displaying of errors in PHP. There are many ways to do this, such as in php.ini, .htaccess, etc. For this, you can just put this in wp-config.php. (Note that hiding errors on production sites is good practice anyway.)
@ini_set(‘display_errors’, 0);
If you’re a user, you can stop here. Just be sure to send a link to this post to the developer of the theme or plugin referenced in the error.
Now, developers: Here’s how $wpdb->prepare() is supposed to work:
$wpdb->prepare( “SELECT * FROM table WHERE ID = %d AND name = %s”, $id, $name );
See how $id — an integer, presumably — was passed as the second argument? That corresponds to the first placeholder, %d. Then, $name (a string) was passed as the third argument, thus the second placeholder, %s. This makes sure your query is safe, and prevents something like little bobby tables. (Note: the comic is wrong, don’t sanitize — always prepare your queries.)
The problem is, a number of people were calling $wpdb->prepare() with only one argument, like so:
$wpdb->prepare( “SELECT COUNT(*) FROM table” );
See, there’s no parameter (%d, %s, or for floats, %f) in this query. This happens to work fine, but the prepare call isn’t doing anything. You should instead the query directly, as there are no inputs.
But here’s where the problem lies:
$wpdb->prepare( “SELECT * FROM table WHERE id = $id” );
See the problem? That query isn’t secure! You may think you are “preparing” this query, but you’re not — you’re passing $id directly into the query, unprepared. And this, right here, is why $wpdb->prepare() now issues a warning if it isn’t called with more than one argument. Because you can’t prepare a query without more than one argument. Here’s a correct example:
$wpdb->prepare( “SELECT * FROM table WHERE id = %d”, $id );
This wasn’t a decision done lightly. We don’t like shoving PHP warnings into the faces of users and developers. But given the potential security risks, we wanted everyone to immediately look at how they are running queries. And, of course, always prepare them properly.
For more: wpdb Codex reference, #22262, and [22429].

Riley telling me a story about Aiden and…

[Riley telling me a story about Aiden and Camden]
Riley: …. and then Ms. Beth had to get involved.
Me: Well, that’s her job, she is the guidance counselor.
Riley: But all she does is talk about feelings and friendship and stuff. I wish she’d make it interesting and talk about explosives.
Me: …..maybe we should setup an appointment with Ms. Beth……..

Riley is bringing in her first book report…

Riley is bringing in her first book report tomorrow. I think she read 10 books trying to find the perfect book for her report.
I think she’s going to do King Tut for the second, unless she finishes Helen Keller tonight than I’m sure it’s going to be an epic conundrum deciding which to do.
I love this kid – she a drama queen of a different sort.

Instructions http codex wordpress org Create A Network…

Instructions:
http://codex.wordpress.org/Create_A_Network
**************
I didn’t read this, but probably should:
http://codex.wordpress.org/Before_You_Create_A_Network
**************
Activate plugins on singles:
Go to network admin. Install a plugin. Do not activate it.
Go to a sub site. See the newly installed plugin in the list. Activate it.
Yes, it’s a bit more of a run around if you just want to fiddle with a plugin or two on one site.
**************
Plugin, Probably won’t use:
http://wordpress.org/extend/plugins/network-latest-posts/
**********************
The .htaccess file
http://wordpress.org/support/topic/need-hosting-advice
should look like this:
#BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]

  1. uploaded files

RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

  1. add a trailing slash to /wp-admin

RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
#END WordPress

Trying to figure this out It takes 40…

Trying to figure this out.
It takes 40 seconds to microwave Keira’s lunch.
That’s 2 hours a year.
The school refuses to microwave Keira’s lunch, because
1. the fuses in the building blow [unlikely according to the Fire Department]
2. if they do it for one child in the district they must do it for all the children in the district.
Other schools in the district do microwave children’s meals. But instead of microwaving Keira’s meal, which I am more than happy to provide to avoid any kind of cross contamination and saving a huge expense for the school district, they are willing to have yet another meeting to figure out how they can provide 1 child who is G/D Free with a hot meal at the cost of the normal hot lunch that the school provides.
I wonder how many hours have been spent coming up with reasons to avoid microwaving 1 child’s meal which her mother is more than willing to provide – I’d love the total cost of those hours, not to mention the additional cost to the school/district for actually providing the meal.

WordPress shopping carts http wordpress org extend plugins…

WordPress shopping carts
http://wordpress.org/extend/plugins/wp-online-store/screenshots/
http://thecartpress.com/
http://wordpress.org/extend/plugins/simple-e-commerce-shopping-cart/screenshots/
http://wordpress.org/extend/plugins/apptivo-ecommerce/
http://wordpress.org/extend/plugins/woocommerce/screenshots/
http://wordpress.org/extend/plugins/wordpress-ecommerce/screenshots/
http://wordpress.org/extend/plugins/thecartpress/screenshots/
http://wordpress.org/extend/plugins/ecommerce-feeder/
http://wordpress.org/extend/plugins/orderstorm-wordpress-e-commerce-custom/screenshots/
http://wordpress.org/extend/plugins/ready-ecommerce/