Support » Plugins and Hacks » Theme Check » Content Width Check Improvement

  • Resolved Gary Jones

    (@garyj)


    The content width can also be set by filtering the content_width:

    if ( strpos( $php, '$content_width' ) === false && !preg_match( '/add_filter\(\s?("|\')embed_defaults/', $php ) && !preg_match( '/add_filter\(\s?("|\')content_width/', $php ) )

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Content Width Check Improvement’ is closed to new replies.