mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-13 05:10:18 +00:00
General: Rename remove_option_allowed_list() to remove_allowed_options().
This was missed in [48142] which renamed `add_option_allowed_list()` to `add_allowed_options()` for better readability. The two functions should have consistent names. See #50413. git-svn-id: https://develop.svn.wordpress.org/trunk@48566 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2231,7 +2231,7 @@ function add_allowed_options( $new_options, $options = '' ) {
|
||||
* @param string|array $options
|
||||
* @return array
|
||||
*/
|
||||
function remove_option_allowed_list( $del_options, $options = '' ) {
|
||||
function remove_allowed_options( $del_options, $options = '' ) {
|
||||
if ( '' === $options ) {
|
||||
global $allowed_options;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user