WordPress.org

Make WordPress Core

Changeset 41751


Ignore:
Timestamp:
10/04/2017 08:24:52 PM (2 years ago)
Author:
adamsilverstein
Message:

Revert "Add wp.hooks - JavaScript actions and filters."

Revert wp.hooks for now as we continue to refine and test.

Reverts [41375].

Location:
trunk
Files:
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r41708 r41751  
    373373                    '!wp-includes/js/tw-sack.js',
    374374                    '!wp-includes/js/twemoji.js',
    375                     '!**/*.min.js',
    376                     '!wp-includes/js/wp-hooks.js'
     375                    '!**/*.min.js'
    377376                ],
    378377                // Remove once other JSHint errors are resolved
  • trunk/src/wp-includes/plugin.php

    r41375 r41751  
    364364
    365365/**
    366  * Retrieve whether action currently being processed.
     366 * Retrieve the name of an action currently being processed.
    367367 *
    368368 * @since 3.9.0
  • trunk/src/wp-includes/script-loader.php

    r41750 r41751  
    8585
    8686    $scripts->add( 'wp-a11y', "/wp-includes/js/wp-a11y$suffix.js", array( 'jquery' ), false, 1 );
    87 
    88     $scripts->add( 'wp-hooks', "/wp-includes/js/wp-hooks$suffix.js", array(), false, 1 );
    8987
    9088    $scripts->add( 'sack', "/wp-includes/js/tw-sack$suffix.js", array(), '1.6.1', 1 );
  • trunk/tests/qunit/index.html

    r41670 r41751  
    7878        <script src="../../src/wp-includes/js/customize-models.js"></script>
    7979        <script src="../../src/wp-includes/js/shortcode.js"></script>
    80         <script src="../../src/wp-includes/js/wp-hooks.js"></script>
    8180        <script src="../../src/wp-admin/js/customize-controls.js"></script>
    8281        <script src="../../src/wp-includes/js/api-request.js"></script>
     
    134133        <script src="wp-includes/js/shortcode.js"></script>
    135134        <script src="wp-includes/js/api-request.js"></script>
    136         <script src="wp-includes/js/wp-hooks.js"></script>
    137135        <script src="wp-includes/js/wp-api.js"></script>
    138136        <script src="wp-admin/js/customize-controls.js"></script>
Note: See TracChangeset for help on using the changeset viewer.