« first day (610 days earlier)      last day (4633 days later) » 

08:09
morning
 
2 hours later…
09:39
hey does anyone know which action to hook onto if i what to perform a custom function when a post is saved?
wow good for you!! lol
any onsights you wanna share
is it publish_post ?
or save_post
@Alex Click the word yes.
aha! thanks my bad..
sorry to bother you again but:
09:44
I'm making a little function to share the post to twitter whenever a post is published would this be the function to hook to
going to open a thread.. thanks anyway
@Alex Hm. There is also an action 'publish_post' you could use. See this plugin for a working example.
excellent, just checking it out ps. come get points: wordpress.stackexchange.com/questions/55516/…
;-)
hehe
I’m almost sure we have a dupe of this.
I did do a search but...
 
1 hour later…
 
4 hours later…
15:09
Hey, one small quick question. Isn't this:

<?php
	$aahan_post_thumbnail_id = get_post_thumbnail_id();
	$aahan_page_thumbnail_image = wp_get_attachment_image_src( $aahan_post_thumbnail_id );
?>

Equal to this:

<?php
	$aahan_page_thumbnail_image = wp_get_attachment_image_src( get_post_thumbnail_id() );
?>
Yes
@Jared Great, thanks!
15:23
20
A: Details about the flagging mechanism

Jeff Atwoodwell, it works a little bit like this: You see, the blue ball represents YOUR REQUEST FOR MODERATION.

How did he do the image? scrapped from the web?
probably
@AahanKrish it oldie floating around... by the way it also stacks with itself by sides and top/bottom
16:24
Debug error:
wp-admin/includes/plugin.php:1007 - Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.
wp-admin/menu-header.php:112 - Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.
It isn't very informative about the root cause of the error. Where should I start?
@AahanKrish at google.com I assume
I smell rotten code.
Nope, already done that...
Xdebug is your friend.
could it be W3 Total cache?! hm... gotta deactivate and see
@toscho Never ever used it before. Will try today. :)
16:29
I dig BackupBuddy but they completely and totally screwed its updates... and my vacation is over and as of tomorrow I will have bunch of sites with it to upgrade. damn...
@Rarst how many wp sites do you manage in all?
@AahanKrish if I try to count number will change before I end counting :)
ah, minor upgrade because license broke on major one...
Aha! Then give me an approximate count
:)
...under twenty?..
oh... hmm. Nice!
16:34
no, it's not :)
each one with a slightly different core hack.
that's not sites as in live usable sites. mostly it's just a bunch of developmental stuff, etc
@toscho no core hacks... but let's say they aren't quite on same version... versions... of everything
no core hacks? so you aren’t really working with WordPress?
@Rarst haha! I like being busy, doing what I know best. :)
@toscho one can't keep up with ALL bad practices. it's exhausting
16:41
I can. In fact, I do.
registers a script on init
one bad programmer creates two programmer jobs. keep economy going...
Lol
Most of the freelance jobs I get are "fix what this programmer did"
@Jared do you want some of my former clients? :D
Haha no thanks, I'm too overbooked from one client right now as it is
there is a lot of highly … optimized code from me in the world.
16:47
Yeah there's some "awesome" code from me out there too but thankfully is only in the hands of mostly greedy marketers lol
I hope my clients don't know about this place...lol
The key for follow-up jobs: no comments in source code.
And all my variables are named thïs, thîs, thìs or thís.
0
Q: Need tutorial for develop full theme wordpress

Juan LieBefore I say sorry, if any fault in my question. I've problem for my wordpress theme. I've finished the first version of my theme. [index.php, function.php, css.php and images directory]. I know that's a basic theme file that wordpress need it. But many error has occurred, such us when I login : ...

Sounds more like he needs to learn PHP, right?
quite apparently...
Raining here... like the scent... mmm!
17:31
how do i pass a class to a widget header?
explain
when registering sidebar i used 'before_title' => '<h3>' what i trying to do is add an class to the h3 (widget title). May be from the widget code depending on the user input..
this argument has to be a string. You could pass an object of a class with a __tostring() method.
@toscho you are creating more than two programmer jobs... I start to think many more...
for example here codex.wordpress.org/Function_Reference/register_sidebar suppose i want to add classes for widget title from user input on widget panel
17:44
Heh, I don’t recommend it. It is just possible.
@Sisir Wait – you are talking about about HTML classes, not PHP?
yes html classes..
Some widgets let you filter widget_title
The damned links widget doesn’t. You have to filter 'widget_links_args' here.
you are loosing me
bye bye
:P
:-/
17:50
Ask on the main site. I have to write some meta boxes until The Game begins.
okey..
i can't believe Russia is out. There were playing so good..
 
2 hours later…
19:57
This guy's questions are really vague... I mean, it's like he doesn't have the time to ask the question properly... wordpress.stackexchange.com/users/16936/1907
20:08
@AahanKrish indeed
 
2 hours later…
21:47
@all where does one report bugs in wordpress.org not related to core
@Wyck On core.trac.wordpress.org too. There is even a dedicated section for that.
@toscho ah great , noticed the google still crawls plugins that have been removed from .org via the /support/ url, maybe it not a bug though
@Wyck You could also just drop an email to [email protected].
@toscho I mentioned it in #wordpress-dev
Ah, the chat still exists? Haven’t been there for years.
22:02
@toscho ya, not much traction but it has a bot that lists trac commits, currently 76 people in it, the #wordpress one on the other hand is always busy
you can still ping the core emembers and they usually nice enough to answer
even see matt in thre soemtimes
Yeah, when you live in the same time zone. :)
@toscho heh not sure I live in the fly around the world and take pictures of food timezone
22:49
Ah, uh, ohhhh – and I have already used all my votes today. :/

« first day (610 days earlier)      last day (4633 days later) »