Making WordPress.org


Ignore:
Timestamp:
11/04/2015 04:59:09 PM (10 years ago)
Author:
ocean90
Message:

Rosetta Roles: Include project slugs in search fields.

Also bump checked projects to the top.

Fixes #1356.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/global.wordpress.org/public_html/wp-content/mu-plugins/roles/rosetta-roles.php

    r2001 r2037  
    221221     */
    222222    public function enqueue_scripts() {
    223         wp_enqueue_script( 'rosetta-roles', plugins_url( '/js/rosetta-roles.js', __FILE__ ), array( 'jquery', 'wp-backbone' ), '2', true );
     223        wp_enqueue_script( 'rosetta-roles', plugins_url( '/js/rosetta-roles.js', __FILE__ ), array( 'jquery', 'wp-backbone' ), '3', true );
    224224    }
    225225
     
    656656
    657657        $_projects = $wpdb->get_results( "
    658             SELECT id, name, parent_project_id
     658            SELECT id, name, parent_project_id, slug
    659659            FROM translate_projects
    660660            WHERE id NOT IN( " . implode( ',', $ignore_project_ids ) . " )
Note: See TracChangeset for help on using the changeset viewer.