View Single Post
Old 07-13-2012, 01:07 PM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
Quote:
Originally Posted by CyberSEO View Post
Furthermore, get_option is NOT a part of the wp codebase. It's just a function name which is not copyrighted or so.

What if I write my own non-GPL CMS where I will declare my own version of the get_option function? E.g.:

<?php
function get_option($name) {
return $_GET[$nane];
}
?>

Now lets consider I have a file (say "something.php") which contains the following code:

<?php
echo get_option('hello');
?>

Does it mean that my something.php is a GPL product because it calls a function named get_option?
but get_option is a wp function ;)

not saying your *OWN* code is gpl. just the parts that you use wp functions for are which only looks like vrery little, options, and some of the post creating via wp_insert_post
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote