Index: src/wp-includes/script-loader.php
===================================================================
--- src/wp-includes/script-loader.php	(revision 32784)
+++ src/wp-includes/script-loader.php	(working copy)
@@ -1117,3 +1117,43 @@
 			$compress_css = false;
 	}
 }
+
+/**
+ * Get a registered style object.
+ * Returns `false` if the style has not been registered.
+ *
+ * @param string $handle Name of the style.
+ *
+ * @global WP_Styles $wp_styles
+ *
+ * @return _WP_Dependency|false
+ */
+function wp_get_registered_style( $handle ) {
+	global $wp_styles;
+
+	if ( isset( $wp_styles->registered[ $handle ] ) ) {
+		return $wp_styles->registered[ $handle ];
+	}
+
+	return false;
+}
+
+/**
+ * Get a registered script object.
+ * Returns `false` if the script has not been registered.
+ *
+ * @param string $handle Name of the script.
+ *
+ * @global WP_Scripts $wp_scripts
+ *
+ * @return _WP_Dependency|false
+ */
+function wp_get_registered_script( $handle ) {
+	global $wp_scripts;
+
+	if ( isset( $wp_scripts->registered[$handle] ) ) {
+		return $wp_scripts->registered[$handle];
+	}
+
+	return false;
+}
\ No newline at end of file
Index: tests/phpunit/tests/dependencies/scripts.php
===================================================================
--- tests/phpunit/tests/dependencies/scripts.php	(revision 32784)
+++ tests/phpunit/tests/dependencies/scripts.php	(working copy)
@@ -166,4 +166,22 @@
         $this->assertFalse( wp_register_script( 'duplicate-handler', 'http://example.com' ) );
     }
 
+    /**
+     * Testing 'wp_get_registered_script' return value.
+     *
+     * @ticket 32607
+     */
+    function test_wp_get_registered_script() {
+    	$this->assertFalse( wp_get_registered_script( 'handle' ) );
+
+        wp_register_script( 'handle', 'http://example.com', array( 'test-dep' ), 1 );
+
+        $object = wp_get_registered_script( 'handle' );
+        $this->assertInstanceOf( '_WP_Dependency', $object );
+        $this->assertEquals( 'handle', $object->handle );
+        $this->assertEquals( 'http://example.com', $object->src );
+        $this->assertEquals( array( 'test-dep' ), $object->deps );
+        $this->assertEquals( 1, $object->ver );
+    }
+
 }
Index: tests/phpunit/tests/dependencies/styles.php
===================================================================
--- tests/phpunit/tests/dependencies/styles.php	(revision 32784)
+++ tests/phpunit/tests/dependencies/styles.php	(working copy)
@@ -239,4 +239,22 @@
         $this->assertFalse( wp_register_style( 'duplicate-handler', 'http://example.com' ) );
     }
 
+    /**
+     * Testing 'wp_get_registered_style' return value.
+     *
+     * @ticket 32607
+     */
+    function test_wp_get_registered_style() {
+    	$this->assertFalse( wp_get_registered_style( 'handle' ) );
+
+        wp_register_style( 'handle', 'http://example.com', array( 'test-dep' ), 1 );
+
+        $object = wp_get_registered_style( 'handle' );
+        $this->assertInstanceOf( '_WP_Dependency', $object );
+        $this->assertEquals( 'handle', $object->handle );
+        $this->assertEquals( 'http://example.com', $object->src );
+        $this->assertEquals( array( 'test-dep' ), $object->deps );
+        $this->assertEquals( 1, $object->ver );
+    }
+
 }
