Skip to:
Content

BuddyPress.org

Changeset 13595


Ignore:
Timestamp:
10/14/2023 05:28:54 AM (3 years ago)
Author:
imath
Message:

Wait for bp-rewrites-ui JS to be registered before enqueuing it

+ Add emaralive to 12.0.0 credits list (See #9002).

Props emaralive

Fixes #9003
Closes https://github.com/buddypress/buddypress/pull/175

Location:
trunk/src/bp-core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/admin/bp-core-admin-rewrites.php

    r13555 r13595  
    2929        );
    3030
    31         wp_enqueue_script( 'bp-rewrites-ui' );
    32 
    3331        // Handle slugs customization.
    3432        if ( isset( $_POST['bp-admin-rewrites-submit'] ) ) {
     
    113111        $bp_pages        = $bp->pages;
    114112        $reordered_pages = array();
     113
     114        wp_enqueue_script( 'bp-rewrites-ui' );
    115115
    116116        if ( isset( $bp_pages->register ) ) {
  • trunk/src/bp-core/classes/class-bp-admin.php

    r13594 r13595  
    11211121                                <a href="https://profiles.wordpress.org/dcavins/">David Cavins (dcavins)</a>,
    11221122                                <a href="https://profiles.wordpress.org/diabolique/">Diabolique</a>,
     1123                                <a href="https://profiles.wordpress.org/emaralive/">emaralive</a>,
    11231124                                <a href="https://profiles.wordpress.org/fawp/">fawp</a>,
    11241125                                <a href="https://profiles.wordpress.org/iandunn/">Ian Dunn (iandunn)</a>,
     
    11761177                                </li>
    11771178                                <li class="wp-person" id="wp-person-karmatosed">
    1178                                         <a class="web" href="https://profiles.wordpress.org/karmatosed"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/ca7d4273a689cdbf524d8332771bb1ca?s=120">
     1179                                        <a class="web" href="https://profiles.wordpress.org/karmatosed"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/4fce55e91de5a6e9312723e2f01902d5?s=120">
    11791180                                        Tammie Lister</a>
    11801181                                </li>
Note: See TracChangeset for help on using the changeset viewer.