Make WordPress Core


Ignore:
Timestamp:
11/22/2011 09:50:50 PM (15 years ago)
Author:
markjaquith
Message:

Introduce initial_db_version and leverage it so that pointers only get shown to updated installs, not new 3.3 installs. props nacin. see #18693

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r19389 r19410  
    16781678         */
    16791679        public static function enqueue_scripts( $hook_suffix ) {
     1680                if ( get_site_option( 'initial_db_version' ) >= 19389 ) // Final db_version for 3.3.
     1681                        return;
     1682
    16801683                /*
    16811684                 * Register feature pointers
    16821685                 * Format: array( hook_suffix => pointer_id )
    16831686                 */
     1687
    16841688                $registered_pointers = array(
    16851689                        'index.php'    => 'wp330_toolbar',
Note: See TracChangeset for help on using the changeset viewer.