« first day (2713 days earlier)      last day (2239 days later) » 

12:48 PM
Spends an hour figuring out why a function doesn't work. Can't get wp_debug to display errors. Figures out it was an accidental is_empty() instead of empty(). Cute.
 
1:29 PM
@ChristineCooper I downloaded Query Monitor for development, seems to help catch stuff.
I also do a tail -f /wp-content/debug.log via SSH to catch errors as they occur.
 
1:58 PM
Didn't know Query Monitor has a general error log?
Wonder if debug.log is filled even if wp_debug is set to false. If so, that would be the savior! :D
 
You could also install XDEBUG on a development server.
That has made my life tremendously easier
 
2:21 PM
@TomJNowell Is it absolutely crucial to know a CSS preprocessor if I were to work for an agency?
I just feel like it would slow me down
 
I don't think it's crucial but I also work for a small company and not an agency. That being said it's not a bad idea to be familiar with the available preprocessors as they're not really too hard to pick up once you know the basics. It may allow you to at least get in the door and if the team uses one in their development cycle it will be easier to fall in line.
 
If I had to pick ONE to learn. What would be better? SASS or LESS?
 
2:37 PM
I would argue SASS is more popular. You could do a google trends search on your region though.
 
Maybe I should go with SASS since that's what Bootstrap uses.
 
 
1 hour later…
3:49 PM
How big of a security concern is it to expose object ID's in the frontend source code?
I noticed WordPress doesn't seem to care
Post IDs and Term IDs just displayed everywhere
 
4:03 PM
This is a good question given that I am now literally generating PDF files with the post ID as part of the file name. =D
 
4:23 PM
@MichaelEcklund no, but decent agencies will use them, usually SASS. If you know CSS, SASS is only a quick jump, you can learn it in a day or less. Same with LESS
so what have you got to lose?
@MichaelEcklund object IDs get exposed in the REST API, and post class names, it's not really an issue
 
user ids should probably never be exposed, the rest.... should not be exposed but it is not a big deal if it does
The fact that rest API uses internal data to identify things in the public.... well my opinion about the quality of core code is known.
 
 
1 hour later…
5:35 PM
So Bootstrap ditched Affix and Glyphicons in 4.0
Both of which I used quite a bit in my projects.
I can live with fontawesome as a substitute for Glyphicons, but Not sure about affix.
 

« first day (2713 days earlier)      last day (2239 days later) »