Make WordPress Core

Changeset 1340

Timestamp:
05/22/2004 08:45:36 AM (20 years ago)
Author:
saxmatt
Message:

Updated hooks and a new Dolly plugin.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-footer.php

    r1144 r1340  
    55?>
    66</p>
    7 
     7<?php do_action('admin_footer', ''); ?>
    88</body>
    99</html>
  • trunk/wp-admin/admin-functions.php

    r1324 r1340  
    11<?php
    2 
    3 function wp_admin_head() {
    4     do_action('wp_head', '');
    5 }
    62
    73function url_shorten ($url) {
  • trunk/wp-admin/admin-header.php

    r1236 r1340  
    131131<?php endif; ?>
    132132
    133 <?php wp_admin_head(); ?>
     133<?php ); ?>
    134134</head>
    135135<body>
  • trunk/wp-content/plugins/hello.php

    r1108 r1340  
    33Plugin Name: Hello Dolly
    44Plugin URI: http://wordpress.org/#
    5 Description: This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong. Hello, Dolly. This is, by the way, the world's first official WordPress plugin. When enabled you will randomly see a lyric from <cite>Hello, Dolly</cite> in the upper right of your admin screen.
     5Description: This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong. Hello, Dolly. This is, by the way, the world's first official WordPress plugin. When enabled you will randomly see a lyric from <cite>Hello, Dolly</cite> in the upper right of your admin screen.
    66Author: Matt Mullenweg
    77Author URI: http://photomatt.net/
    88*/
    99
     10
     11
     12
     13
     14
     15
     16
     17
     18
     19
     20
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
     45
    1046function hello_dolly() {
    11     echo "It's me, Dolly.";
     47    global $chosen;
     48    echo "<p id='dolly'>$chosen</p>";
    1249}
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
     60
     61
     62
     63
     64
     65
     66
     67
     68
     69
     70
     71
    1372?>
Note: See TracChangeset for help on using the changeset viewer.