View Single Post
Old 07-13-2012, 12:01 PM  
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,383
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?
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote