Posts by dunhakdis

178 posts Software Creatives
  • Had an item that was trending
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Sells items exclusively on Envato Market
+4 more
dunhakdis
says

42 Sales so far.. But I’m surprised to see that 2 days have pass and I got zero sales.. XD

178 posts Software Creatives
  • Had an item that was trending
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Sells items exclusively on Envato Market
+4 more
dunhakdis
says

I recently updated my theme. First day after update 0 sales, the next day 4, the next day 1, the next day 7, and now 0. Its so unstable this days. I don’t know what is happening XD

178 posts Software Creatives
  • Had an item that was trending
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Sells items exclusively on Envato Market
+4 more
dunhakdis
says

There are things you need to escape and there are some things you don’t need to. For example, adding esc_attr() to the following statement is not necessary:

<?php echo _e(‘The Menu’, ‘textdomain’); ?>

The above statement has a direct parameter (‘The Menu’) which is opted by the developer and doesn’t need to be escape for safe keeping. Why? First you need to ask yourself why you need to escape this? What do you want to prevent? In this case, you don’t need any esc_attr function because it will return the same type and the same value as you provided. No one can alter this.

While adding an esc_attr to the following is a must:

<?php echo get_post_meta(1, ‘key’, true); ?>

What if the user enters malicious scripts like ”—;”, this can easily break your SQL statement if the variable is not escaped properly. So it should be like the following:

<?php echo esc_attr(get_post_meta(1,’key’, true); ?>

or

<?php echo intval(get_post_meta(1,’key’, true)); ?> //integer

I am also wondering about the necessity to escape everything. If that’s the case, WordPress should just add data validation to all output functions including _e() and _() but even twentyfifteen theme uses those without escaping if the string does not contain variables. There’s also no answers to the questions posted in another thread : http://themeforest.net/forums/thread/rereview-data-validation-issues/151569?page=2 . I hope someone can shed some light on this.

Why would you add a general escaping mechanism to this function? No. Each escaping and sanitization of data varies depending on what you are trying to achieve.

For example:

Adding a general escape statement to that function would be useless in fact. What if I want to sanitize the variable as ‘boolean’, the next one as ‘int’, and the other one as ‘string’? See, you should escape everything according to what fits your need.

:)

178 posts Software Creatives
  • Had an item that was trending
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Sells items exclusively on Envato Market
+4 more
dunhakdis
says

Can’t live w/o mac terminal.

178 posts Software Creatives
  • Had an item that was trending
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Sells items exclusively on Envato Market
+4 more
dunhakdis
says

Just added some small amount and I really hope that it would help XD! Just a little thing to give back to the community of BuddyPress. :)

178 posts Software Creatives
  • Had an item that was trending
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Sells items exclusively on Envato Market
+4 more
dunhakdis
says

Hey! I am interested. Kindly pm me the price of the rights for HTML+WP.

Thank you :)

Best, Joseph

178 posts Software Creatives
  • Had an item that was trending
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Sells items exclusively on Envato Market
+4 more
dunhakdis
says

^ Haha. That one is a hoax. LOL

178 posts Software Creatives
  • Had an item that was trending
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Sells items exclusively on Envato Market
+4 more
dunhakdis
says
178 posts Software Creatives
  • Had an item that was trending
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Sells items exclusively on Envato Market
+4 more
dunhakdis
says

Hi mate. Notice the background image. Is that a parallax or a something? I’m sorry but it’s a bit clunky here when I scroll down and sometimes it cuts the image when I scroll back. This might be a help:

http://i.imgur.com/WLLTuQC.png

Chrome Mac v38

Regards

178 posts Software Creatives
  • Had an item that was trending
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Sells items exclusively on Envato Market
+4 more
dunhakdis
says

I love the city!

by
by
by
by
by
by