safecss_revision_redirect

The Jetpack by WordPress.com safecss revision redirect function.

Description

safecss_revision_redirect( $redirect ); 

Parameters (1)

0. $redirect
The redirect.

Usage

  1. if ( !function_exists( 'safecss_revision_redirect' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/custom-css/custom-css.php'; 
  3.  
  4. // The redirect. 
  5. $redirect = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = safecss_revision_redirect($redirect); 
  9.  

Defined (1)

The function is defined in the following location(s).

/modules/custom-css/custom-css.php  
  1. function safecss_revision_redirect( $redirect ) { 
  2. _deprecated_function( __FUNCTION__, '2.1', 'Jetpack_Custom_CSS::revision_redirect()' ); 
  3.  
  4. return Jetpack_Custom_CSS::revision_redirect( $redirect );