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

Fix/219 clarify filter names #320

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

simonwheatley
Copy link
Contributor

Clarify method and filter names

Add test

These should pass when translations are correctly falling back to
content in the canonical language. #219
All filters and actions should now start with `bbl_`
from `create_empty_translation`
@simonwheatley simonwheatley added this to the Code Review milestone Aug 19, 2015
@simonwheatley simonwheatley self-assigned this Aug 19, 2015

$en = $this->factory->post->create_and_get();
// In normal operation, the create_empty_translations method is called on an immediate single cron job
$GLOBALS['bbl_jobs']->create_empty_translations($en->ID);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need changing to the following when #312 is merged:

Babble::get( 'jobs' )->create_empty_translations( $en->ID );

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants