[wp-hackers] "The Matrix Has You" easter egg

Arlen Beiler arlenbee at gmail.com
Fri Oct 22 15:37:25 UTC 2010


And that could be put in a plugin or wp-config.php according to webmaster
preference.

On Fri, Oct 22, 2010 at 11:36 AM, Arlen Beiler <arlenbee at gmail.com> wrote:

> Another way to do it, perhaps a better way, would be to have an easter egg
> array that could be set on init.
>
> $eastereggs = array(
> 'revself' => true,
> 'wordpress' => true
> )
>
> add_action('init','seteastereggs',0);
> Function seteastereggs(){
> $eastereggs['revself'] = false;
> }
>
> On Fri, Oct 22, 2010 at 11:28 AM, Eric Mann <eric at eam.me> wrote:
>
>> I'd like to see a more fleshed-out example of how that would work, but it
>> makes logical sense so far :-)
>>
>> On Fri, Oct 22, 2010 at 8:23 AM, Arlen Beiler <arlenbee at gmail.com> wrote:
>>
>> >   - off
>> >   - on
>> >   - custom
>> >   - file
>> >
>> > How is that? For custom, we would then use an array, or whatever it is
>> that
>> > would be in eastereggs.php, since some people probably want everything
>> in
>> > one file. For file, it would read eastereggs.php.
>> >
>> > On Fri, Oct 22, 2010 at 10:56 AM, Eric Mann <eric at eam.me> wrote:
>> >
>> > > +1 For a setting in wp-config.
>> > >
>> > > define( 'EASTEREGGS', 'off' );
>> > >
>> > > Then maybe an "eastereggs.php" file we can drop in that defined which
>> > ones
>> > > we turn off.  That way it's not a wholesale all-off or all-on, but
>> sites
>> > > could pick and choose which ones they want to enable (for example, on
>> > some
>> > > sites I'd definitely want the capital P feature but not the post
>> revision
>> > > comparison message ... on others I might want to remove both ... on
>> > others
>> > > I
>> > > might want to keep both and remove something else).
>> > >
>> > > On Fri, Oct 22, 2010 at 7:42 AM, Arlen Beiler <arlenbee at gmail.com>
>> > wrote:
>> > >
>> > > > How many easter eggs are there. And I would recommend a setting in
>> > > > wp-config.php, rather than a plugin.
>> > > >
>> > > > On Fri, Oct 22, 2010 at 10:37 AM, Austin Matzko <
>> austin at ilfilosofo.com
>> > > > >wrote:
>> > > >
>> > > > > On Fri, Oct 22, 2010 at 9:29 AM, Eric Mann <eric at eam.me> wrote:
>> > > > > > As entertaining as the feature might be ... is there any way I
>> can
>> > > turn
>> > > > > it
>> > > > > > off on a client site?
>> > > > >
>> > > > > I proposed a patch here to allow it to be turned off by filter,
>> but
>> > > > > the ticket never went anywhere:
>> > > > >
>> > > > > <
>> > > > >
>> > > >
>> > >
>> >
>> http://core.trac.wordpress.org/attachment/ticket/12816/easter-egg-revisions-filter.12816.2.diff
>> > > > > >
>> > > > > _______________________________________________
>> > > > > wp-hackers mailing list
>> > > > > wp-hackers at lists.automattic.com
>> > > > > http://lists.automattic.com/mailman/listinfo/wp-hackers
>> > > > >
>> > > > _______________________________________________
>> > > > wp-hackers mailing list
>> > > > wp-hackers at lists.automattic.com
>> > > > http://lists.automattic.com/mailman/listinfo/wp-hackers
>> > > >
>> > > _______________________________________________
>> > > wp-hackers mailing list
>> > > wp-hackers at lists.automattic.com
>> > > http://lists.automattic.com/mailman/listinfo/wp-hackers
>> > >
>> > _______________________________________________
>> > wp-hackers mailing list
>> > wp-hackers at lists.automattic.com
>> > http://lists.automattic.com/mailman/listinfo/wp-hackers
>> >
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>
>


More information about the wp-hackers mailing list