Changeset 48261
- Timestamp:
- 07/01/2020 09:54:37 AM (5 years ago)
- Location:
- branches/3.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
-
branches/3.7/src
- Property svn:mergeinfo changed
/trunk/src merged: 48241
- Property svn:mergeinfo changed
-
branches/3.7/src/wp-admin/includes/misc.php
r47962 r48261 391 391 break; 392 392 default: 393 $screen_option = false; 394 393 395 if ( '_page' === substr( $option, -5 ) || 'layout_columns' === $option ) { 394 396 /** … … 406 408 * @see set_screen_options() 407 409 * 408 * @param bool $keep Whether to save or skip saving the screenoption value.409 * Default false.410 * @param string $option The option name.411 * @param int $value The number of rows to use.410 * @param mixed $screen_option The value to save instead of the option value. 411 * Default false (to skip saving the current option). 412 * @param string $option The option name. 413 * @param int $value The option value. 412 414 */ 413 $ value = apply_filters( 'set-screen-option', false, $option, $value ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores415 $screen_option = apply_filters( 'set-screen-option', $screen_option, $option, $value ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores 414 416 } 415 417 … … 425 427 * @see set_screen_options() 426 428 * 427 * @param bool $keep Whether to save or skip saving the screenoption value.428 * Default false.429 * @param string $optionThe option name.430 * @param int $value The number of rows to use.429 * @param mixed $screen_option The value to save instead of the option value. 430 * Default false (to skip saving the current option). 431 * @param string $option The option name. 432 * @param int $value The option value. 431 433 */ 432 $value = apply_filters( "set_screen_option_{$option}", false, $option, $value );434 $value = apply_filters( "set_screen_option_{$option}", $screen_option, $option, $value ); 433 435 434 436 if ( false === $value )
Note: See TracChangeset
for help on using the changeset viewer.