Questions tagged [code]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
54 views

Are question about unworkable JS code on WP on-topic?

From What topics can I ask about here?, I think asking about unworkable JS code on WP is not off-topic, because the code should work in principle. But to make sure, is it on-topic? Below is the draft....
11 votes
1 answer
126 views

Feature request: Stack Snippet

It is possible to get the feature Stack Snippet also on WPSE? At first I think is the default much helpful for snippets with html, css, javascript. Perhaps is enhancement to work with a WordPress ...
24 votes
5 answers
2k views

The namespace WPSE

I suggest the namespace WPSE for the code snippets we use in our answers. Namespaces are a feature of PHP 5.3; WordPress core requires just PHP 5.2.4 currently. But even PHP 5.3 development has ...
21 votes
5 answers
209 views

Code Review on WordPress Answers

There have been one or two requests for code reviews for plug-ins and themes on the site in the past few weeks. WordPress Answers gives us the unique ability to post code, submit reviews, and vote on ...
7 votes
3 answers
362 views

GPL, Copyright, and Code Snippets

About a week ago, I answered my own question on the WP Hackers mailing list by posting some drop-in PHP code (to be used either in a plug-in or a functions.php file). Today, I find out that someone ...