Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PB Latex settings should only appear in books (fixes #910) #911

merged 1 commit into from Aug 30, 2017
Changes from all commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.


Just for now

PB Latex settings should only appear in books (fixes #910)

  • Loading branch information...
connerbw committed Aug 30, 2017
commit 000b9a75f92d4e9e20de313edec93ee3f78e39fc
@@ -18,7 +18,9 @@ function init() {
// since we're activating at the network level, this needs to be called in the constructor
add_action( 'admin_menu', array( &$this, 'adminMenu' ) );
if ( \Pressbooks\Book::isBook() ) {
add_action( 'admin_menu', [ &$this, 'adminMenu' ] );
function adminMenu() {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.